Template:WeaponsTable: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<includeonly>{| class="responsive-table" style="width:{{{width|50}}}%"
<includeonly>{| class="responsive-table" style="width:{{{width|50}}}%"
!Weapon Name
!Weapon Name
{{#ifeq:{{{Tabletype|}}}|Ranged|
!<abbr title="Talent required to craft the weapon">Required Talent</abbr>
!<abbr title="Talent required to craft the weapon">Required Talent</abbr>
!<abbr title="At what Level Difficulty and at which Outposts is the Weapon sold.>Store Availability</abbr>
!<abbr title="At what Level Difficulty and at which Outposts is the Weapon sold.>Store Availability</abbr>
{{#ifeq:{{{Tabletype|}}}|Ranged|
!<abbr title="Shoots per Second">Firerate</abbr>
!<abbr title="Shoots per Second">Firerate</abbr>
!<abbr title="Max number of ammunition stackable outside of the weapon">Ammo<br>Stack</abbr>
!<abbr title="Max number of ammunition stackable outside of the weapon">Ammo<br>Stack</abbr>
Line 11: Line 11:
!Ammunition}}<!--
!Ammunition}}<!--
-->{{#ifeq:{{{Tabletype|}}}|Melee|
-->{{#ifeq:{{{Tabletype|}}}|Melee|
!<abbr title="Talent required to craft the weapon">Required Talent</abbr>
!<abbr title="At what Level Difficulty and at which Outposts is the Weapon sold.>Store Availability</abbr>
!<abbr title="Attacks per Second">Attack Speed</abbr>
!<abbr title="Attacks per Second">Attack Speed</abbr>
!Afflictions}}<!--
!Afflictions}}<!--
-->{{#ifeq:{{{Tabletype|}}}|Throwable|
-->{{#ifeq:{{{Tabletype|}}}|Throwable|
!<abbr title="Talent required to craft the weapon">Required Talent</abbr>
!<abbr title="At what Level Difficulty and at which Outposts is the Weapon sold.>Store Availability</abbr>
!Afflictions
!Afflictions
!Explosion
!Explosion
!Explosion<br>Range}}<!--
!Explosion<br>Range}}<!--
-->{{#ifeq:{{{Tabletype|}}}|Throwable|
-->{{#ifeq:{{{Tabletype|}}}|Explosive|
!Afflictions
!Afflictions
!Explosion
!Explosion

Revision as of 02:14, 28 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}}
Weapon Name
Error: No field named "type" found for the database table "Items".

Melee

  • weapontype defined as melee.
{{WeaponsTable|tabletype=melee}}
Weapon Name
Error: No field named "type" found for the database table "Items".

Throwable

  • weapontype defined as throwable.
{{WeaponsTable|tabletype=throwable}}
Weapon Name
Error: No field named "type" found for the database table "Items".