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| | <includeonly>{{ #if: {{{sort|}}}{{{sortkey|}}} | <span class="hide">{{{sortkey|2}}} </span> }}[[File:{{#switch:{{{iconImage|{{{type}}}}}} | ||
|ask = Tango-question-mark.png | |ask = Tango-question-mark.png | ||
|bug = Bug-Logo.png | |bug = Bug-Logo.png |
Revision as of 01:14, October 29, 2020
Purpose & Usage[edit source]
Places a pre-defined icon on the page.
Parameters[edit source]
Required[edit source]
- type
- Defines the icon that will be placed.
Optional[edit source]
- size
- Defines the size of the image in pixels. Default=20
Examples[edit source]
Code:
{{icon|type=ask}}
{{icon|type=no}}
{{icon|type=yes}}
{{icon|type=bug}}
{{icon|type=info}}
Result:
- |20px|Ask/Question/Unknown]]
- |20px|No]]
- |20px|Yes]]
- |20px|Bug]]
- |20px|Information]]
- |20px|Warning]]
- |20px|Construction]]
- |20px|MO Install Archive]]
- |20px|MO Profiles]]
- |20px|MO Executables]]
- |20px|MO Tools]]
Code: {{icon|type=moglobe}}
Result:
See Also[edit source]
None