Template:Icon: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
|question = ask | |question = ask | ||
|unknown = ask | |unknown = ask | ||
|#default = ask}}{{#switch:{{{iconImage|{{{type | |#default = ask}}{{#switch:{{{iconImage|{{{type}}}}}} | ||
|ask = Tango-question-mark.png | |ask = Tango-question-mark.png | ||
|#default = Tango-question-mark.png}}{{#switch:{{{iconText|{{{type | |#default = Tango-question-mark.png}}{{#switch:{{{iconText|{{{type}}}}}} | ||
|ask = Ask/Question/Unknown | |ask = Ask/Question/Unknown | ||
|#default = Ask/Question/Unknown}}[[File:{{{iconImage|{{{type}}}}}}|{{{size|20}}}px|{{{iconText|{{{type}}}}}}]]</includeonly><noinclude>__NOTOC__ | |#default = Ask/Question/Unknown}}[[File:{{{iconImage|{{{type}}}}}}|{{{size|20}}}px|{{{iconText|{{{type}}}}}}]]</includeonly><noinclude>__NOTOC__ |
Revision as of 23:43, October 28, 2020
Purpose & Usage
Places a pre-defined icon on the page.
Parameters
- icon
- Defines the icon that will be placed.
- size
- Defines the size of the image in pixels. Default=20
Examples
Code: {{icon|type=ask}}
Result:
askTango-question-mark.pngAsk/Question/Unknownask
See Also
None