Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(automatic categories)
(fixed commas in categories)
Line 57: Line 57:
|}
|}
<includeonly>[[Category:Weapons]]
<includeonly>[[Category:Weapons]]
{{#if: {{{used-by|}}} |, [[Category:{{{used-by}}}]]}}
{{#if: {{{used-by|}}} | [[Category:{{{used-by}}}]]}}
{{#if: {{{used-by-2|}}} |, [[Category:{{{used-by-2}}}]]}}
{{#if: {{{used-by-2|}}} | [[Category:{{{used-by-2}}}]]}}
{{#if: {{{used-by-3|}}} |, [[Category:{{{used-by-3}}}]]}}
{{#if: {{{used-by-3|}}} | [[Category:{{{used-by-3}}}]]}}
{{#if: {{{used-by-4|}}} |, [[Category:{{{used-by-4}}}]]}}
{{#if: {{{used-by-4|}}} | [[Category:{{{used-by-4}}}]]}}
{{#if: {{{slot|}}} |, [[Category:{{{slot}}} weapons]]}}
{{#if: {{{slot|}}} | [[Category:{{{slot}}} weapons]]}}
{{#if: {{{slot-2|}}} |, [[Category:{{{slot-2}}} weapons]]}}</includeonly><noinclude>
{{#if: {{{slot-2|}}} | [[Category:{{{slot-2}}} weapons]]}}</includeonly><noinclude>
Example usage:
Example usage:
<pre>
<pre>

Revision as of 19:18, 30 April 2022

Infobox weapon


Basic Information



Example usage:

{{Infobox weapon
| title=Shotgun
| image=Shotgun
| kill-icon=shotgun
| kill-icon-2=taunt_pyro
| used-by=Engineer
| used-by-2=Soldier
| used-by-3=Pyro
| used-by-4=Heavy
| slot=Primary
| slot-2=Secondary
| ammo-loaded=6
| ammo-carried=32
| reload=Single
}}