Template:Icon: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
|bug = Bug-Logo.png | |bug = Bug-Logo.png | ||
|info = Info-Logo.png | |info = Info-Logo.png | ||
|warning = | |warning = Warn_mo_li.png | ||
|#default = Tango-question-mark.png}}|{{{size|20}}}px| {{#switch:{{{iconText|{{{type}}}}}} | |#default = Tango-question-mark.png}}|{{{size|20}}}px| {{#switch:{{{iconText|{{{type}}}}}} | ||
|ask = Ask/Question/Unknown | |ask = Ask/Question/Unknown |
Revision as of 00:37, 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:
Code: {{icon|type=warning}}
Result:
See Also[edit source]
None