Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(manual padding)
(loadout-propername = yes to add "the")
Line 53: Line 53:
! colspan="2" {{!}} Loadout Stats
! colspan="2" {{!}} Loadout Stats
{{!}}-
{{!}}-
{{!}} 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}}}}}
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{#if: {{{loadout-propername|}}}|The}} {{{loadout-name|{{PAGENAME}}}}}|{{#if: {{{loadout-2|}}}|{{{used-by}}}}}}}{{Loadout type|{{{loadout-kind|{{PAGENAME}}}}}}}{{#if: {{{loadout-attributes|}}}|{{{loadout-attributes}}}}}
{{#if: {{{loadout-2|}}} |
{{#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}}}}}
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{#if: {{{loadout-propername|}}}|The}} {{{loadout-name|{{PAGENAME}}}}}|{{{used-by-2}}}}}{{Loadout type|{{{loadout-kind|{{PAGENAME}}}}}}}{{#if: {{{loadout-2-attributes|}}}|{{{loadout-2-attributes}}}}}
}}
}}
{{#if: {{{loadout-3|}}} |
{{#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}}}}}
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{#if: {{{loadout-propername|}}}|The}} {{{loadout-name|{{PAGENAME}}}}}|{{{used-by-3}}}}}{{Loadout type|{{{loadout-kind|{{PAGENAME}}}}}}}{{#if: {{{loadout-3-attributes|}}}|{{{loadout-3-attributes}}}}}
}}
}}
{{#if: {{{loadout-4|}}} |
{{#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}}}}}
{{!}} colspan="2" class="loadout-tooltip-container" {{!}} {{Loadout name|{{#if: {{{loadout-propername|}}}|The}} {{{loadout-name|{{PAGENAME}}}}}|{{{used-by-4}}}}}{{Loadout type|{{{loadout-kind|{{PAGENAME}}}}}}}{{#if: {{{loadout-4-attributes|}}}|{{{loadout-4-attributes}}}}}
}}
}}
}}
}}

Revision as of 11:04, 2 May 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."}}
}}