Template:Icon: Difference between revisions
Jump to navigation
Jump to search
m Moved to proper CSS classes |
No edit summary |
||
Line 61: | Line 61: | ||
| randomcoloring= [[File:Item_Dress_Up_Random_Coloring.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}}}]] | | specificcoloring = [[File:Item_Dress_Up_Specific_Coloring.png|link=Items#Pure Sample|{{{w|20px}}}]] | ||
| #default = [[File:Item_{{{1|}}}.png|link={{# | | #default = [[File:Item_{{{1|}}}.png|link={{#switch:{{lc:{{{3|}}}}}|pnc=PNC |gfl2=GFL2 }}Items#{{{1|}}}|{{{w|20px}}}]] | ||
}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 10:30, 13 December 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}}
).
Add gfl2
as third argument to link to the GFL2 Items article ({{Icon|identifier||gfl2}}
).
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. |