This template outputs an image, text, and tooltip for a given augment or weapon. This is used by {{Loadout}}
.
Usage[]
{{LoadoutItem|name}}
Examples[]
{{LoadoutItem|Explodydendron}}
{{LoadoutItem|m4a1}}
{{LoadoutItem|M4A1}}
Adding new augments or weapons[]
It's easy to add new weapons or augments to the template.
Just add a new line somewhere after this:
<onlyinclude>{{#switch: {{lc:{{{1|}}} }}
But somewhere before this:
}}</onlyinclude>{{doc}}
And the new line should be something like this:
|name=[[File:Name.png|{{#if:{{{2|}}}|{{{2}}}|46px}}|link=Page|Tooltip text]]
Before the equal sign, the name should be in all lowercase letters. Augments should be 46px, main weapons should be 110px, and other weapons should be 53px.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.