Template:Icon/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Icon. It contains usage information, categories and other content that is not part of the original template page. |
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}}
).