Template:Icon: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 3: Line 3:
|bug = bug
|bug = bug
|construction = construction
|construction = construction
|question = ask
|globe = moglobe
|unknown = ask
|no = no
|yes = yes
|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[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:

askAsk/Question/Unknown
noNo
yesYes
bugBug
infoInformation
warningWarning
constructionConstruction


Code: {{icon|type=moupdate}}
Result:

moupdateMO Update

Code: {{icon|type=vaultboy|size=60}}
Result:

askAsk/Question/Unknown

See Also[edit source]

None