Template:Icon: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ #if: {{{sort|}}}{{{sortkey|}}} | <span class="hide">{{{sortkey|2}}} </span> }}[[File:{{#switch:{{{iconImage|{{{type}}}}}} | <includeonly>{{ #if: {{{sort|}}}{{{sortkey|}}} | <span class="hide">{{{sortkey|2}}} </span> }}[[File:{{lc:{{#switch:{{{iconImage|{{{type}}}}}}}} | ||
|ask = Tango-question-mark.png | |ask = Tango-question-mark.png | ||
|bug = Bug-Logo.png | |bug = Bug-Logo.png | ||
Line 6: | Line 6: | ||
|info = Info-Logo.png | |info = Info-Logo.png | ||
|information = Info-Logo.png | |information = Info-Logo.png | ||
|loot = Loot.png | |||
|mcm = Mcmicon1.png | |mcm = Mcmicon1.png | ||
|moexe = Gear_MO.png | |moexe = Gear_MO.png | ||
Line 18: | Line 19: | ||
|warning = Warn_mo_li.png | |warning = Warn_mo_li.png | ||
|yes = Tick_green.png | |yes = Tick_green.png | ||
|#default = Tango-question-mark.png}}|{{{size|20}}}px| {{#switch:{{{iconText|{{{type}}}}}} | |#default = Tango-question-mark.png}}|{{{size|20}}}px|{{lc:{{#switch:{{{iconText|{{{type}}}}}}}} | ||
|ask = Ask/Question/Unknown | |ask = Ask/Question/Unknown | ||
|bug = Bug | |bug = Bug | ||
Line 25: | Line 26: | ||
|info = Information | |info = Information | ||
|information = Information | |information = Information | ||
|loot = Load Order Optimization Tool | |||
|mcm = Mod Configuration Menu | |mcm = Mod Configuration Menu | ||
|moexe = MO Executables | |moexe = MO Executables |
Revision as of 01:09, October 29, 2020
Purpose & Usage
Places a pre-defined icon on the page.
Parameters
Required
- type
- Defines the icon that will be placed.
Optional
- size
- Defines the size of the image in pixels. Default=20
Examples
Code:
{{icon|type=ask}}
{{icon|type=no}}
{{icon|type=yes}}
{{icon|type=bug}}
{{icon|type=info}}
Result:
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
- [[File:|20px|]]
Code: {{icon|type=moglobe}}
Result:
- [[File:|20px|]]
See Also
None