Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(slot weapons now links to category)
(smaller image)
Line 4: Line 4:
{{#ifexist: File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png |
{{#ifexist: File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png |
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}}
{{!}} colspan="2" class="infobox-image" {{!}}
[[File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png|center|frameless]]
[[File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png|center|frameless|200px]]
}}
}}
{{#ifexist: File:killicon_{{lc:{{#if: {{{kill-icon|}}}|{{{kill-icon|}}}|{{PAGENAME}}}}}}.png |
{{#ifexist: File:killicon_{{lc:{{#if: {{{kill-icon|}}}|{{{kill-icon|}}}|{{PAGENAME}}}}}}.png |

Revision as of 21:13, 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."}}
}}