Template:Infobox weapon: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(multiple loadouts)
(slot weapons now links to category)
Line 33: Line 33:
{{#if: {{{slot|}}} |
{{#if: {{{slot|}}} |
{{!}}-
{{!}}-
{{!}} Slot {{!!}} [[{{{slot}}}]]{{#if: {{{slot-2|}}} |, [[{{{slot-2}}}]]}}
{{!}} Slot {{!!}} [[:Category:{{{slot}}} weapons|{{{slot}}}]]{{#if: {{{slot-2|}}} |, [[:Category:{{{slot-2}}} weapons|{{{slot-2}}}]]}}
}}
}}
{{#if: {{{ammo-loaded|}}} |
{{#if: {{{ammo-loaded|}}} |
Line 92: Line 92:
| reload=Single
| reload=Single
| loadout=yes
| loadout=yes
| loadout-attributes={{{Loadout neutral|"Sometimes, you just have to do things yourself."}}}
| loadout-attributes={{Loadout neutral|"Sometimes, you just have to do things yourself."}}
| loadout-2=yes
| loadout-2=yes
| loadout-2-attributes={{{Loadout neutral|"My shotgun disagrees with your will to live, maggot!"}}}
| loadout-2-attributes={{Loadout neutral|"My shotgun disagrees with your will to live, maggot!"}}
| loadout-3=yes
| loadout-3=yes
| loadout-4=yes
| loadout-4=yes
| loadout-4-attributes={{{Loadout neutral|"Heavy will make do with this."}}}
| loadout-4-attributes={{Loadout neutral|"Heavy will make do with this."}}
}}
}}
</pre>
</pre>
[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
</noinclude>

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