Template:Icon: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) No edit summary |
Pianoforte (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{2|}}}|m|<div class="icon-bg-2star-small" style="display:inline-block;width:50px;height:50px">[[File:{{{icon|Item_{{{1|}}}.png}}}|link=Items#{{{1|}}}| | <includeonly>{{#ifeq:{{{2|}}}|m|<div class="icon-bg-2star-small" style="display:inline-block;margin-right:10px;width:50px;height:50px">[[File:{{{icon|Item_{{{1|}}}.png}}}|center|link=Items#{{{1|}}}|50px]]</div>|{{#switch:{{{1}}} | ||
| ammo = [[File:Icon_ammo.png|link=|{{{w|20px}}}]] | | ammo = [[File:Icon_ammo.png|link=|{{{w|20px}}}]] | ||
| ammunition = [[File:Icon_ammo.png|link=|{{{w|20px}}}]] | | ammunition = [[File:Icon_ammo.png|link=|{{{w|20px}}}]] |
Revision as of 12:51, 31 May 2017
This template provides access to simple icons for various common in-game terms. When adding new icons, please be sure to edit this documentation to include the new icons.
Usage
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, and adding
{{Icon|ammo|w=50px}}
will add .
Add m
as second argument to display a background ({{Icon|identifier|m}}
).
Add pnc
as third argument to link to the PNC Items article ({{Icon|identifier||pnc}}
).
Add gfl2
as third argument to link to the GFL2 Items article ({{Icon|identifier||gfl2}}
).
Available Icons
Resources
Icon | Identifier |
---|---|
![]() |
ammunition, ammo |
![]() |
manpower |
![]() |
parts |
![]() |
ration, rations |
![]() |
quickbuild |
![]() |
quickrepair |
![]() |
quicktrain |
(unknown identifier “quickanalysis” used by Template:Icon) | quickanalysis, quickanalyse |
![]() |
contractdoll |
![]() |
contractequip |
(unknown identifier “basicdata” used by Template:Icon) | basicdata, beginnerdata |
(unknown identifier “intdata” used by Template:Icon) | intdata, intermediatedata |
(unknown identifier “advdata” used by Template:Icon) | advdata, advanceddata |
(unknown identifier “battery” used by Template:Icon) | battery, batteries |
(unknown identifier “friendpoint” used by Template:Icon) | friendpoint, friendpoints |
(unknown identifier “pill” used by Template:Icon) | capsule, capsules, pill, pills |
![]() |
procurementcoin, procurementcoins, token, tokens |
![]() |
core, cores |
![]() |
gem, gems, diamond, diamonds |
![]() |
calibrationvoucher, calibrationticket |
(unknown identifier “memoryfragment” used by Template:Icon) | memoryfragment |
(unknown identifier “combatreport” used by Template:Icon) | report, combatreport, battlereport |
(unknown identifier “advancedcombatreport” used by Template:Icon) | advancedreport, advancedcombatreport, advancedbattlereport |
(unknown identifier “wavedatapatch” used by Template:Icon) | wavedatapatch, advancedcore |
(unknown identifier “rawdata” used by Template:Icon) | rawdata, hocdata, hocrawdata |
(unknown identifier “puredata” used by Template:Icon) | puredata, hocpuredata |
(unknown identifier “fcc” used by Template:Icon) | fcc, firecontrol, firecontrolcomponent |
(unknown identifier “equipmentenhancement” used by Template:Icon) | eec, equipmentenhancement, equipmentenhancementcomponent |
(unknown identifier “randomcoloring” used by Template:Icon) | randomcoloring |
(unknown identifier “specificcoloring” used by Template:Icon) | specificcoloring |
The above documentation is transcluded from Template:Icon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |