Template:Icon: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) |
||
Line 29: | Line 29: | ||
=== Parameters === | === Parameters === | ||
==== Required ==== | |||
; type | ; type | ||
: Defines the icon that will be placed. | : Defines the icon that will be placed. | ||
==== Optional ==== | |||
; size | ; size | ||
: Defines the size of the image in ''pixels''. Default=20 | : Defines the size of the image in ''pixels''. Default=20 |
Revision as of 00:34, 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=warning}}
Result:
See Also[edit source]
None