Template:Icon: Difference between revisions
Jump to navigation
Jump to search
Added new items |
m Moved to proper CSS classes |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{2|}}}|m|<div class="icon-bg-2star-small | <includeonly>{{#ifeq:{{{2|}}}|m|<div class="icon-bg-2star-small">[[File:{{{icon|Item_{{{1|}}}.png}}}|center|link=Items#{{{1|}}}|x50px]]</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}}}]] | ||
Line 53: | Line 53: | ||
| puredata = [[File:Item_Pure_Data.png|link=Items#Pure Sample|{{{w|20px}}}]] | | puredata = [[File:Item_Pure_Data.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
| hocpuredata = [[File:Item_Pure_Data.png|link=Items#Pure Sample|{{{w|20px}}}]] | | hocpuredata = [[File:Item_Pure_Data.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
| #default = [[File:Item_{{{1|}}}.png|link=Items#{{{1|}}}|{{{w|20px}}}]] | | firecontrolcomponent = [[File:Item_Fire_Control_Component.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
}}}}</includeonly><noinclude> | | firecontrol = [[File:Item_Fire_Control_Component.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
{{Documentation}} | | fcc = [[File:Item_Fire_Control_Component.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
</noinclude> | | eec= [[File:Item_Equipment_Enhancement_Component.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
| equipmentenhancement= [[File:Item_Equipment_Enhancement_Component.png|link=Items#Pure Sample|{{{w|20px}}}]] | |||
| equipmentenhancementcomponent= [[File:Item_Equipment_Enhancement_Component.png|link=Items#Pure Sample|{{{w|20px}}}]] | |||
| randomcoloring= [[File:Item_Dress_Up_Random_Coloring.png|link=Items#Pure Sample|{{{w|20px}}}]] | |||
| specificcoloring = [[File:Item_Dress_Up_Specific_Coloring.png|link=Items#Pure Sample|{{{w|20px}}}]] | |||
| #default = [[File:Item_{{{1|}}}.png|link={{#ifeq:{{{3|}}}|pnc|PNC }}Items#{{{1|}}}|{{{w|20px}}}]] | |||
}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 01:17, 29 June 2024
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[edit]
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}}
).
Available Icons[edit]
Resources[edit]
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. |