Template:Icon: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#switch:{{{1}}} | ammo = link=|{{{w|20px}}} | ammunition = link=|{{{w|20px}}} | rations = File:Icon_ration.png..." |
Pianoforte (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
| manpower = [[File:Icon_manpower.png|link=|{{{w|20px}}}]] | | manpower = [[File:Icon_manpower.png|link=|{{{w|20px}}}]] | ||
| parts = [[File:Icon_parts.png|link=|{{{w|20px}}}]] | | parts = [[File:Icon_parts.png|link=|{{{w|20px}}}]] | ||
| repair = [[File:Icon_repair.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> |
Revision as of 23:17, 14 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 |