Difference between revisions of "Template:Icon"
Jump to navigation
Jump to search
Pianoforte (talk | contribs) |
|||
Line 11: | Line 11: | ||
| contractequip = [[File:Icon_contractequip.png|link=|{{{w|20px}}}]] | | contractequip = [[File:Icon_contractequip.png|link=|{{{w|20px}}}]] | ||
| procurementcoin = [[File:Icon_procurementcoin.png|link=|{{{w|20px}}}]] | | procurementcoin = [[File:Icon_procurementcoin.png|link=|{{{w|20px}}}]] | ||
+ | | core = [[File:Icon_core.png|link=|{{{w|20px}}}]] | ||
+ | | cores = [[File:Icon_core.png|link=|{{{w|20px}}}]] | ||
| #default = <span style="color: red; font-size: 11px;">(unknown identifier “{{{1}}}” used by [[Template:Icon]])</span>[[Category:Pages with unknown icon identifiers]] | | #default = <span style="color: red; font-size: 11px;">(unknown identifier “{{{1}}}” used by [[Template:Icon]])</span>[[Category:Pages with unknown icon identifiers]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 58: | Line 60: | ||
| {{Icon|procurementcoin}} | | {{Icon|procurementcoin}} | ||
| procurementcoin | | procurementcoin | ||
+ | |- | ||
+ | | {{Icon|cores}} | ||
+ | | core, cores | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 18:37, 27 October 2016
Usage
WIP. Provides access to simple icons for various common in-game terms.
Syntax: {{Icon|identifier|width}}
or {{Icon|identifier}}
. If width is left unset, icon size should default to 20px.
For example, adding {{Icon|ammo}}
to the page source will add to the page.
Available identifiers are listed below.
Available Icons
Resources
Icon | Identifier |
---|---|
ammunition, ammo | |
manpower | |
parts | |
rations | |
quickbuild | |
quickrepair | |
quicktrain | |
contractdoll | |
contractequip | |
procurementcoin | |
core, cores |