Template:Icon: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
|info = info | |info = info | ||
|information = info | |information = info | ||
| | |construction = construction | ||
|warning = warning | |warning = warning | ||
|warn = warning | |warn = warning | ||
Line 17: | Line 17: | ||
|bug = Bug-Logo.png | |bug = Bug-Logo.png | ||
|info = Info-Logo.png | |info = Info-Logo.png | ||
| | |construction = Wrench_MO.png | ||
|warning = Warn_mo_li.png | |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}}}}}} | ||
Line 25: | Line 25: | ||
|bug = Bug | |bug = Bug | ||
|info = Information | |info = Information | ||
| | |construction = Construction | ||
|warning = Warning | |warning = Warning | ||
|#default = Ask/Question/Unknown}}]]</includeonly><noinclude>__NOTOC__ | |#default = Ask/Question/Unknown}}]]</includeonly><noinclude>__NOTOC__ | ||
Line 56: | Line 56: | ||
'''Code:''' <code><nowiki>{{icon|type= | '''Code:''' <code><nowiki>{{icon|type=construction}}</nowiki></code><br> | ||
'''Result:'''<br> | '''Result:'''<br> | ||
: {{icon|type= | : {{icon|type=construction}} | ||
'''Code:''' <code><nowiki>{{icon|type=vaultboy|size=60}}</nowiki></code><br> | '''Code:''' <code><nowiki>{{icon|type=vaultboy|size=60}}</nowiki></code><br> |
Revision as of 00:41, 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:
Code: {{icon|type=construction}}
Result:
Code: {{icon|type=vaultboy|size=60}}
Result:
See Also
None