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><span class="hide">{{#switch:{{lc:{{{type|}}}}} | <includeonly><span class="hide">{{#switch:{{lc:{{{type|}}}}} | ||
|ask = ask | |ask = ask | ||
|bug = bug | |||
|construction = construction | |||
|question = ask | |question = ask | ||
|unknown = ask | |unknown = ask | ||
|no = no | |no = no | ||
|yes = yes | |yes = yes | ||
|info = info | |info = info | ||
|information = info | |information = info | ||
|mosettings = construction | |mosettings = construction | ||
|moupdate = moupdate | |||
|warning = warning | |warning = warning | ||
|warn = warning | |warn = warning | ||
Line 19: | Line 20: | ||
|info = Info-Logo.png | |info = Info-Logo.png | ||
|construction = Wrench_MO.png | |construction = Wrench_MO.png | ||
|moupdate = Update-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 27: | Line 29: | ||
|info = Information | |info = Information | ||
|construction = Construction | |construction = Construction | ||
|moupdate = MO Update | |||
|warning = Warning | |warning = Warning | ||
|#default = Ask/Question/Unknown}}]]</includeonly><noinclude>__NOTOC__ | |#default = Ask/Question/Unknown}}]]</includeonly><noinclude>__NOTOC__ | ||
Line 55: | Line 58: | ||
: {{icon|type=info}} | : {{icon|type=info}} | ||
: {{icon|type=warning}} | : {{icon|type=warning}} | ||
: {{icon|type=construction}} | |||
'''Code:''' <code><nowiki>{{icon|type= | '''Code:''' <code><nowiki>{{icon|type=moupdate}}</nowiki></code><br> | ||
'''Result:'''<br> | '''Result:'''<br> | ||
: {{icon|type= | : {{icon|type=moupdate}} | ||
'''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:46, 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=moupdate}}
Result:
Code: {{icon|type=vaultboy|size=60}}
Result:
See Also[edit source]
None