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: | ||
|bug = bug | |bug = bug | ||
|construction = construction | |construction = construction | ||
| | |globe = moglobe | ||
|info = info | |info = info | ||
|information = info | |information = info | ||
|moglobe = moglobe | |||
|mosettings = construction | |mosettings = construction | ||
|moupdate = moupdate | |moupdate = moupdate | ||
|no = no | |||
|question = ask | |||
|unknown = ask | |||
|warning = warning | |warning = warning | ||
|warn = warning | |warn = warning | ||
|yes = yes | |||
|#default = ask}}</span>{{ #if: {{{sort|}}}{{{sortkey|}}} | <span class="hide">{{{sortkey|2}}} </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 | ||
Line 20: | Line 22: | ||
|info = Info-Logo.png | |info = Info-Logo.png | ||
|construction = Wrench_MO.png | |construction = Wrench_MO.png | ||
|moglobe = Globe_MO.png | |||
|moupdate = Update-MO.png | |moupdate = Update-MO.png | ||
|warning = Warn_mo_li.png | |warning = Warn_mo_li.png | ||
Line 29: | Line 32: | ||
|info = Information | |info = Information | ||
|construction = Construction | |construction = Construction | ||
|moglobe = MO Nexus | |||
|moupdate = MO Update | |moupdate = MO Update | ||
|warning = Warning | |warning = Warning |
Revision as of 00:49, 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=moupdate}}
Result:
Code: {{icon|type=vaultboy|size=60}}
Result:
See Also
None