Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
m (1 revision imported: imported from FANDOM)
(fix image, appearance)
Line 1: Line 1:
{| class="wikitable" align=right width=200px
{| class="infobox" align=right width=200px
|+
|+
! colspan="2" | {{#if: {{{title|}}} | {{{title|}}} | {{PAGENAME}}}}
! colspan="2" | {{#if: {{{title|}}} | {{{title|}}} | {{PAGENAME}}}}
{{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png |
{{#ifexist: File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png |
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}}
{{!}} colspan="2" {{!}}
[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png|center|frameless]]
[[File:Backpack {{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}}.png|center|frameless]]
}}
}}
{{#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 13:21, 17 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]], [[Soldier]], [[Pyro]], [[Heavy]]
| slot=[[Primary]], [[Secondary]]
| ammo-loaded=6
| ammo-carried=32
| reload=Single
}}