Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
m (god damn it)
m (killicon vertical alignment)
Line 11: Line 11:
! colspan="2" {{!}} Kill Icons
! colspan="2" {{!}} Kill Icons
{{!}}-
{{!}}-
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon|}}}|{{{kill-icon|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;vertical-align:middle;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon|}}}|{{{kill-icon|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
{{#if: {{{kill-icon-2|}}}|
{{#if: {{{kill-icon-2|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-2|}}}|{{{kill-icon-2|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;vertical-align:middle;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-2|}}}|{{{kill-icon-2|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
}}
{{#if: {{{kill-icon-3|}}}|
{{#if: {{{kill-icon-3|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-3|}}}|{{{kill-icon-3|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;vertical-align:middle;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-3|}}}|{{{kill-icon-3|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
}}
{{#if: {{{kill-icon-4|}}}|
{{#if: {{{kill-icon-4|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-4|}}}|{{{kill-icon-4|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
{{!}} colspan="2" height=40px style="background-color:#F1E9CB;vertical-align:middle;" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-4|}}}|{{{kill-icon-4|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
}}
}}
}}

Revision as of 13:43, 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
}}