Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(smaller image)
(manual padding)
Line 4: Line 4:
{{#ifexist: File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png |
{{#ifexist: File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png |
{{!}}-
{{!}}-
{{!}} colspan="2" class="infobox-image" {{!}}
{{!}} colspan="2" style="padding:10px" class="infobox-image" {{!}}
[[File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png|center|frameless|200px]]
[[File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png|center|frameless|200px]]
}}
}}

Revision as of 11:58, 1 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."}}
}}