Template:Icon: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
|info = info | |info = info | ||
|information = info | |information = info | ||
|vaultboy = vaultboy | |||
|warning = warning | |warning = warning | ||
|warn = warning | |warn = warning | ||
Line 16: | Line 17: | ||
|bug = Bug-Logo.png | |bug = Bug-Logo.png | ||
|info = Info-Logo.png | |info = Info-Logo.png | ||
|vaultboy = VaultBoyIcon.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 23: | Line 25: | ||
|bug = Bug | |bug = Bug | ||
|info = Information | |info = Information | ||
|vaultboy = Vault Boy | |||
|warning = Warning | |warning = Warning | ||
|#default = Ask/Question/Unknown}}]]</includeonly><noinclude>__NOTOC__ | |#default = Ask/Question/Unknown}}]]</includeonly><noinclude>__NOTOC__ | ||
Line 50: | Line 53: | ||
: {{icon|type=bug}} | : {{icon|type=bug}} | ||
: {{icon|type=info}} | : {{icon|type=info}} | ||
: {{icon|type=warning}} | |||
'''Code:''' <code><nowiki>{{icon|type= | '''Code:''' <code><nowiki>{{icon|type=vaultboy}}</nowiki></code><br> | ||
'''Result:'''<br> | '''Result:'''<br> | ||
: {{icon|type= | : {{icon|type=vaultboy}} | ||
== See Also == | == See Also == | ||
None | None | ||
</noinclude> | </noinclude> |
Revision as of 00:40, 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=vaultboy}}
Result:
See Also
None