Template:WeaponsTable: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude>
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude>
<includeonly>{| class="responsive-table" style="width:{{{width|50}}}%"
<includeonly>
!Weapon name
 
{{#ifeq:{{{TableType|}}}|Ranged|{{Template:WeaponsTable/Ranged}}
{{#switch:{{{TableType|}}}|Ranged={{Template:WeaponsTable/Ranged}}}}
!<abbr title="Shoots per Second">Firerate</abbr>
<!--<th><abbr title="Max number of ammunition stackable outside of the weapon">Ammo<br>Stack</abbr></th>-->
!<abbr title="Max number of ammunition stackable in the weapon">Ammo<br>Capacity</abbr>
!<abbr title="Max number of shots in a Magazine, Battery or Ammunition Item">Magazine<br>Size</abbr>
!Ammunition
!Afflictions
|}}
|}

Revision as of 02:18, 23 December 2022

Documentation

Table displaying Weapons for the Handheld Weapons page.

Sub Templates

See also

Template in use

Ranged

To show up here items must have:

  • weapontype defined as ranged.
{{WeaponsTable|tabletype=ranged}}



Melee

  • weapontype defined as melee.
{{WeaponsTable|tabletype=melee}}



Throwable

  • weapontype defined as throwable.
{{WeaponsTable|tabletype=throwable}}