Template:Icon: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 3: Line 3:
|question = ask
|question = ask
|unknown = ask
|unknown = ask
|#default = ask}}</span>[[File:{{#switch:{{{iconImage|{{{type}}}}}}
|#default = ask}}</span>{{ #if: {{{sort|}}}{{{sortkey|}}} | <span class="hide">{{{sortkey|2}}} </span> }}[[File:{{#switch:{{{iconImage|{{{type}}}}}}
|ask = Tango-question-mark.png
|ask = Tango-question-mark.png
|#default = Tango-question-mark.png}}|{{{size|20}}}px| {{#switch:{{{iconText|{{{type}}}}}}
|#default = Tango-question-mark.png}}|{{{size|20}}}px| {{#switch:{{{iconText|{{{type}}}}}}

Revision as of 00:01, October 29, 2020

Purpose & Usage[edit source]

Places a pre-defined icon on the page.

Parameters[edit source]

icon
Defines the icon that will be placed.
size
Defines the size of the image in pixels. Default=20

Examples[edit source]

Code: {{icon|type=ask}}
Result:
askAsk/Question/Unknown

See Also[edit source]

None