Template:Icon: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 19: Line 19:
|warning = Warn_mo_li.png
|warning = Warn_mo_li.png
|yes = Tick_green.png
|yes = Tick_green.png
|#default = Tango-question-mark.png}}]]|{{{size|20}}}px|{{#switch:{{lc:{{{iconText|{{{type}}}}}}}}
|#default = Tango-question-mark.png}}]]|{{{size|20}}}px| {{#switch:{{lc:{{{iconText|{{{type}}}}}}}}
|ask = Ask/Question/Unknown
|ask = Ask/Question/Unknown
|bug = Bug
|bug = Bug

Revision as of 01:13, 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:

Tango-question-mark.png|20px| Ask/Question/Unknown]]
Cross red.png|20px| No]]
Tick green.png|20px| Yes]]
Bug-Logo.png|20px| Bug]]
Info-Logo.png|20px| Information]]
Warn mo li.png|20px| Warning]]
Wrench MO.png|20px| Construction]]
Archive MO.png|20px| MO Install Archive]]
Profiles MO.png|20px| MO Profiles]]
Gear MO.png|20px| MO Executables]]
Puzzle mo.png|20px| MO Tools]]


Mcmicon1.png|20px| Mod Configuration Menu]]


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

Globe MO.png|20px| MO Nexus]]

See Also[edit source]

None