Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
mNo edit summary
m (Added Support for up to 10 Kill icons)
Line 23: Line 23:
{{!}}-
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-4|}}}|{{{kill-icon-4|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-4|}}}|{{{kill-icon-4|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
{{#if: {{{kill-icon-5|}}}|
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-5|}}}|{{{kill-icon-5|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
{{#if: {{{kill-icon-6|}}}|
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-6|}}}|{{{kill-icon-6|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
{{#if: {{{kill-icon-7|}}}|
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-7|}}}|{{{kill-icon-7|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
{{#if: {{{kill-icon-8|}}}|
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-8|}}}|{{{kill-icon-8|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
{{#if: {{{kill-icon-9|}}}|
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-9|}}}|{{{kill-icon-9|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
{{#if: {{{kill-icon-10|}}}|
{{!}}-
{{!}} colspan="2" class="killicon" {{!}} [[File:killicon_{{lc:{{#if: {{{kill-icon-10|}}}|{{{kill-icon-10|}}}|{{PAGENAME}}}}}}.png|center|frameless]]
}}
}}
}}
}}

Revision as of 09:07, 10 July 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-type=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."}}
}}