Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(fixed commas in categories)
(multiple loadouts)
Line 53: Line 53:
! colspan="2" {{!}} Loadout Stats
! colspan="2" {{!}} Loadout Stats
{{!}}-
{{!}}-
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{{loadout-name|{{PAGENAME}}}}}}}{{Loadout type|{{{loadout-type|{{PAGENAME}}}}}}}{{#if: {{{loadout-attributes|}}}|{{{loadout-attributes}}}}}
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{{loadout-name|{{PAGENAME}}}}}|{{#if: {{{loadout-2|}}}|{{{used-by}}}}}}}{{Loadout type|{{{loadout-type|{{PAGENAME}}}}}}}{{#if: {{{loadout-attributes|}}}|{{{loadout-attributes}}}}}
{{#if: {{{loadout-2|}}} |
{{!}}-
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{{loadout-name|{{PAGENAME}}}}}|{{{used-by-2}}}}}{{Loadout type|{{{loadout-type|{{PAGENAME}}}}}}}{{#if: {{{loadout-2-attributes|}}}|{{{loadout-2-attributes}}}}}
}}
{{#if: {{{loadout-3|}}} |
{{!}}-
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{{loadout-name|{{PAGENAME}}}}}|{{{used-by-3}}}}}{{Loadout type|{{{loadout-type|{{PAGENAME}}}}}}}{{#if: {{{loadout-3-attributes|}}}|{{{loadout-3-attributes}}}}}
}}
{{#if: {{{loadout-4|}}} |
{{!}}-
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{{loadout-name|{{PAGENAME}}}}}|{{{used-by-4}}}}}{{Loadout type|{{{loadout-type|{{PAGENAME}}}}}}}{{#if: {{{loadout-4-attributes|}}}|{{{loadout-4-attributes}}}}}
}}
}}
}}
|}
|}
Line 79: Line 91:
| ammo-carried=32
| ammo-carried=32
| reload=Single
| reload=Single
| loadout=yes
| loadout-attributes={{{Loadout neutral|"Sometimes, you just have to do things yourself."}}}
| loadout-2=yes
| loadout-2-attributes={{{Loadout neutral|"My shotgun disagrees with your will to live, maggot!"}}}
| loadout-3=yes
| loadout-4=yes
| loadout-4-attributes={{{Loadout neutral|"Heavy will make do with this."}}}
}}
}}
</pre>
</pre>
[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
</noinclude>

Revision as of 19:43, 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
| loadout=yes
| loadout-attributes={{{Loadout neutral|"Sometimes, you just have to do things yourself."}}}
| loadout-2=yes
| loadout-2-attributes={{{Loadout neutral|"My shotgun disagrees with your will to live, maggot!"}}}
| loadout-3=yes
| loadout-4=yes
| loadout-4-attributes={{{Loadout neutral|"Heavy will make do with this."}}}
}}