Template:Icon/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This template provides access to simple icons for various common in-game terms. | This template provides access to simple icons for various common in-game terms. When adding new icons, please be sure to edit this [[Template:Icon/doc|documentation]] to include the new icons. | ||
==Usage== | ==Usage== | ||
Syntax: <code><nowiki>{{Icon|identifier|width}}</nowiki></code> or <code><nowiki>{{Icon|identifier}}</nowiki></code>. | Syntax: <code><nowiki>{{Icon|identifier|width}}</nowiki></code> or <code><nowiki>{{Icon|identifier}}</nowiki></code>. If width is left unset, icon size should default to 20px. | ||
For example, adding <code><nowiki>{{Icon|ammo}}</nowiki></code> to the page source will add {{Icon|ammo}} to the page, and adding <code><nowiki>{{Icon|ammo|w=50px}}</nowiki></code> will add {{Icon|ammo|w=50px}}. | For example, adding <code><nowiki>{{Icon|ammo}}</nowiki></code> to the page source will add {{Icon|ammo}} to the page, and adding <code><nowiki>{{Icon|ammo|w=50px}}</nowiki></code> will add {{Icon|ammo|w=50px}}. | ||
Add <code>m</code> as second argument to display a background (<code><nowiki>{{Icon|identifier|m}}</nowiki></code>). | |||
Add <code>pnc</code> as third argument to link to the [[PNC Items]] article (<code><nowiki>{{Icon|identifier||pnc}}</nowiki></code>). | |||
==Available Icons== | ==Available Icons== | ||
Line 36: | Line 40: | ||
| quicktrain | | quicktrain | ||
|- | |- | ||
| {{Icon|quickanalysis}} | |||
| quickanalysis, quickanalyse | |||
|- | |||
| {{Icon|contractdoll}} | | {{Icon|contractdoll}} | ||
| contractdoll | | contractdoll | ||
Line 53: | Line 60: | ||
| {{Icon|battery}} | | {{Icon|battery}} | ||
| battery, batteries | | battery, batteries | ||
|- | |||
| {{Icon|friendpoint}} | |||
| friendpoint, friendpoints | |||
|- | |- | ||
| {{Icon|pill}} | | {{Icon|pill}} | ||
Line 71: | Line 81: | ||
| {{Icon|memoryfragment}} | | {{Icon|memoryfragment}} | ||
| memoryfragment | | memoryfragment | ||
|- | |||
| {{Icon|combatreport}} | |||
| report, combatreport, battlereport | |||
|- | |||
| {{Icon|advancedcombatreport}} | |||
| advancedreport, advancedcombatreport, advancedbattlereport | |||
|- | |||
| {{Icon|wavedatapatch}} | |||
| wavedatapatch, advancedcore | |||
|- | |||
| {{Icon|rawdata}} | |||
| rawdata, hocdata, hocrawdata | |||
|- | |||
| {{Icon|puredata}} | |||
| puredata, hocpuredata | |||
|- | |||
| {{Icon|fcc}} | |||
| fcc, firecontrol, firecontrolcomponent | |||
|- | |||
| {{Icon|equipmentenhancement}} | |||
| eec, equipmentenhancement, equipmentenhancementcomponent | |||
|- | |||
| {{Icon|randomcoloring}} | |||
| randomcoloring | |||
|- | |||
| {{Icon|specificcoloring}} | |||
| specificcoloring | |||
|} | |} |
Latest revision as of 16:32, 25 May 2023
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}}
).