Template:Weapon table: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
BTGamepedia>RayTrace
(Shitty attempt at creating my own Table Template to be used with the various weapons, ideally, "Explosion" and "Projectile" would be hidden, and serve as toggles for parameters specific for those. DO NOT USE, IT'S A BAD TEMPLATE)
 
No edit summary
 
(49 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<!-- It's official, I suck at Table formatting, leaving this up as evidence of that, and as a jumping point for a future update -->
{| class="responsive-table"
<div class="nomobile">
! class="header" | Item {{#if: {{{afflictions|}}} |<br>
{| style="border: 0px solid #BDCAC3; border-radius: 1em; padding: 0.5em; background:#151d28;header:#111;"
! class="header" {{!}} [[Afflictions]]|}}{{#if: {{{structuredamage|}}} |<br>
! class="header" {{!}} Item
! class="header" {{!}} Structure Damage|}}{{#if: {{{explosion|}}} |<br>
! class="header" {{!}} Afflictions
! class="header" {{!}} Explosion Range (m)|}}{{#if: {{{explosionafflictions|}}} |<br>
! class="header" {{!}} Structure Damage
! class="header" {{!}} Explosion [[Afflictions]]|}}{{#if: {{{isEMP|}}} |<br>
! class="header" {{!}} Explosion {{#if: {{{Explosion|}}}}}
! class="header" {{!}} Is EMP?|}}{{#if: {{{force|}}} |<br>
! class="header" {{!}} Explosion Radius {{#if: {{{Explosion|}}}}}
! class="header" {{!}} Force|}}{{#if: {{{rateoffire|}}} |<br>
! class="header" {{!}} Explosion Afflictions {{#if: {{{Explosion|}}}}}
! class="header" {{!}} Rate of Fire|}}{{#if: {{{projectile|}}} |<br>
! class="header" {{!}} Projectile {{#if: {{{Projectile|}}}}}
! class="header" {{!}} Projectile Speed|}}{{#if: {{{reusable|}}} |<br>
! class="header" {{!}} Launch Impulse {{#if: {{{Projectile|}}}}}
    ! class="header" {{!}} Reusable?|}}{{#if: {{{source|}}} |<br>
! class="header" {{!}} Hitscan {{#if: {{{Projectile|}}}}}
! class="header" {{!}} Source|}}{{#if: {{{issticky|}}} |<br>
! class="header" {{!}} Sticks to Entities? {{#if: {{{Projectile|}}}}}
! class="header" {{!}} <span class="explain" title="Will it stick to the target?">Is Sticky?</span>|}}{{#if: {{{isfragile|}}} |<br>
! class="header" {{!}} Destroyed on impact? {{#if: {{{Projectile|}}}}}
! class="header" {{!}} <span class="explain" title="Will it be impossible to pick up after use?">Is Fragile?</span>|}}{{#if: {{{price|}}} |<br>
! class="header" {{!}} Price
! class="header" {{!}} Price|}}{{#if: {{{raw|}}} |<br>
! class="header" {{!}} [[Raw materials]]
! class="header" {{!}} [[Raw materials]]|}}
|-
| class="statcell" |{{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|90}}}px|center]]|}}{{{item}}}
|-
| class="statcell" |{{{attackdamage|}}}{{#if: {{{bleedingdamage|}}} |<br />
| class="statcell" style="text-align:center;"| {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|50}}}px|center]]|}}{{{item}}}{{#if: {{{afflictions|}}} |<br>
{{!}} class="statcell" {{!}}{{{bleedingdamage}}}|}}{{#if: {{{structuredamage|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions}}}|}}{{#if: {{{structuredamage|}}} |<br>
{{!}} class="statcell" {{!}}{{{structuredamage}}}|}}{{#if: {{{stundamage|}}} |<br />
{{!}} class="statcell" {{!}} {{{structuredamage}}}|}}{{#if: {{{explosion|}}} |<br>
{{!}} class="statcell" {{!}}{{{stundamage}}}|}}{{#if: {{{force|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosion}}}|}}{{#if: {{{explosionafflictions|}}} |<br>
{{!}} class="statcell" {{!}}{{{force}}}|}}{{#if: {{{explosionrange|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions}}}|}}{{#if: {{{isEMP|}}} |<br>
{{!}} class="statcell" {{!}}{{{explosionrange}}}|}}{{#if: {{{damagetype|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP}}}|}}{{#if: {{{force|}}} |<br>
{{!}} class="statcell" {{!}}{{{damagetype}}}|}}{{#if: {{{stick|}}} |<br />
    {{!}} class="statcell" {{!}}{{{force}}}|}}{{#if: {{{rateoffire|}}} |<br>
{{!}} class="statcell" {{!}}{{{stick}}}|}}{{#if: {{{duration|}}} |<br />
{{!}} class="statcell" {{!}}{{{rateoffire}}}|}}{{#if: {{{projectile|}}} |<br>
{{!}} class="statcell" {{!}}{{{duration}}}|}}{{#if: {{{cost|}}} |<br />
{{!}} class="statcell" {{!}}{{{projectile}}}|}}{{#if: {{{reusable|}}} |<br>
{{!}} class="statcell" {{!}}{{{cost}}} Credits|}}{{#if: {{{raw|}}} |<br />
{{!}} class="statcell" {{!}}{{{reusable}}}|}}{{#if: {{{source|}}} |<br>
{{!}} class="statcell" {{!}}{{{raw}}}|}}{{#if: {{{cooldown|}}} |<br />
{{!}} class="statcell" {{!}}{{{source}}}|}}{{#if: {{{issticky|}}} |<br>
{{!}} class="statcell" {{!}}{{{cooldown}}}|}}<!--
{{!}} class="statcell" {{!}}{{{issticky}}}|}}{{#if: {{{isfragile|}}} |<br>
-->{{#if: {{{item2|}}} |<br />
{{!}} class="statcell" {{!}}{{{isfragile}}}|}}{{#if: {{{price|}}} |<br>
{{!}}-
{{!}} class="statcell" {{!}}{{{price}}}|}}{{#if: {{{raw|}}} |<br>
{{!}} class="statcell" {{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw}}}|}}<!--
{{!}} class="statcell" {{!}}{{{attackdamage2|}}}{{#if: {{{bleedingdamage2|}}} |<br />
-->{{#if: {{{item2|}}} |<br>
{{!}} class="statcell" {{!}}{{{bleedingdamage2}}}|}}{{#if: {{{structuredamage2|}}} |<br />
{{!}}-
{{!}} class="statcell" {{!}}{{{structuredamage2}}}|}}{{#if: {{{stundamage2|}}} |<br />
{{!}} class="statcell"  style="text-align:center;"{{!}} {{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|50}}}px|center]]|}}{{{item2}}}{{#if: {{{afflictions2|}}} |<br>
{{!}} class="statcell" {{!}}{{{stundamage2}}}|}}{{#if: {{{force2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions2}}}|}}{{#if: {{{structuredamage2|}}} |<br>
{{!}} class="statcell" {{!}}{{{force2}}}|}}{{#if: {{{explosionrange2|}}} |<br />
{{!}} class="statcell" {{!}} {{{structuredamage2}}}|}}{{#if: {{{explosion2|}}} |<br>
{{!}} class="statcell" {{!}}{{{explosionrange2}}}|}}{{#if: {{{damagetype2|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosion2}}}|}}{{#if: {{{explosionafflictions2|}}} |<br>
{{!}} class="statcell" {{!}}{{{damagetype2}}}|}}{{#if: {{{stick2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions2}}}|}}{{#if: {{{isEMP2|}}} |<br>
{{!}} class="statcell" {{!}}{{{stick2}}}|}}{{#if: {{{duration2|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP2}}}|}}{{#if: {{{force2|}}} |<br>
{{!}} class="statcell" {{!}}{{{duration2}}}|}}{{#if: {{{cost2|}}} |<br />
{{!}} class="statcell" {{!}}{{{force2}}}|}}{{#if: {{{rateoffire2|}}} |<br>
{{!}} class="statcell" {{!}}{{{cost2}}} Credits|}}{{#if: {{{raw2|}}} |<br />
{{!}} class="statcell" {{!}}{{{rateoffire2}}}|}}{{#if: {{{projectile2|}}} |<br>
{{!}} class="statcell" {{!}}{{{raw2}}}|}}{{#if: {{{cooldown2|}}} |<br />
{{!}} class="statcell" {{!}}{{{projectile2}}}|}}{{#if: {{{reusable2|}}} |<br>
{{!}} class="statcell" {{!}}{{{cooldown2}}}|}}
{{!}} class="statcell" {{!}}{{{reusable2}}}|}}{{#if: {{{source2|}}} |<br>
|}}<!--
{{!}} class="statcell" {{!}}{{{source2}}}|}}{{#if: {{{issticky2|}}} |<br>
-->{{#if: {{{item3|}}} |<br />
{{!}} class="statcell" {{!}}{{{issticky2}}}|}}{{#if: {{{isfragile2|}}} |<br>
{{!}}-
{{!}} class="statcell" {{!}}{{{isfragile2}}}|}}{{#if: {{{price2|}}} |<br>
{{!}} class="statcell" {{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}
{{!}} class="statcell" {{!}}{{{price2}}}|}}{{#if: {{{raw2|}}} |<br>
{{!}} class="statcell" {{!}}{{{attackdamage3|}}}{{#if: {{{bleedingdamage3|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw2}}}|}}
{{!}} class="statcell" {{!}}{{{bleedingdamage3}}}|}}{{#if: {{{structuredamage3|}}} |<br />
|}}<!--
{{!}} class="statcell" {{!}}{{{structuredamage3}}}|}}{{#if: {{{stundamage3|}}} |<br />
-->{{#if: {{{item3|}}} |<br>
{{!}} class="statcell" {{!}}{{{stundamage3}}}|}}{{#if: {{{force3|}}} |<br />
{{!}}-
{{!}} class="statcell" {{!}}{{{force3}}}|}}{{#if: {{{explosionrange3|}}} |<br />
{{!}} class="statcell"  style="text-align:center;"{{!}} {{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|50}}}px|center]]|}}{{{item3}}}{{#if: {{{afflictions3|}}} |<br>
{{!}} class="statcell" {{!}}{{{explosionrange3}}}|}}{{#if: {{{damagetype3|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions3}}}|}}{{#if: {{{structuredamage3|}}} |<br>
{{!}} class="statcell" {{!}}{{{damagetype3}}}|}}{{#if: {{{stick3|}}} |<br />
{{!}} class="statcell" {{!}} {{{structuredamage3}}}|}}{{#if: {{{explosion3|}}} |<br>
{{!}} class="statcell" {{!}}{{{stick3}}}|}}{{#if: {{{duration3|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosion3}}}|}}{{#if: {{{explosionafflictions3|}}} |<br>
{{!}} class="statcell" {{!}}{{{duration3}}}|}}{{#if: {{{cost3|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions3}}}|}}{{#if: {{{isEMP3|}}} |<br>
{{!}} class="statcell" {{!}}{{{cost3}}} Credits|}}{{#if: {{{raw3|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP3}}}|}}{{#if: {{{force3|}}} |<br>
{{!}} class="statcell" {{!}}{{{raw3}}}|}}{{#if: {{{cooldown3|}}} |<br />
{{!}} class="statcell" {{!}}{{{force3}}}|}}{{#if: {{{rateoffire3|}}} |<br>
{{!}} class="statcell" {{!}}{{{cooldown3}}}|}}
{{!}} class="statcell" {{!}}{{{rateoffire3}}}|}}{{#if: {{{projectile3|}}} |<br>
|}}
{{!}} class="statcell" {{!}}{{{projectile3}}}|}}{{#if: {{{reusable3|}}} |<br>
|}</div><div class="mobileonly">
{{!}} class="statcell" {{!}}{{{reusable3}}}|}}{{#if: {{{source3|}}} |<br>
{| class="wikitable"
{{!}} class="statcell" {{!}}{{{source3}}}|}}{{#if: {{{issticky3|}}} |<br>
! class="header" | Item
{{!}} class="statcell" {{!}}{{{issticky3}}}|}}{{#if: {{{isfragile3|}}} |<br>
| class="statcell" |{{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|90}}}px|center]]|}}{{{item}}}{{#if: {{{item2|}}} |<br />
{{!}} class="statcell" {{!}}{{{isfragile3}}}|}}{{#if: {{{price3|}}} |<br>
{{!}} class="statcell" {{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}|}}{{#if: {{{item3|}}} |<br />
{{!}} class="statcell" {{!}}{{{price3}}}|}}{{#if: {{{raw3|}}} |<br>
{{!}} class="statcell" {{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}|}}
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw3}}}|}}
|-
|}}<!--
! class="header" | Attack Damage
    -->{{#if: {{{item4|}}} |<br>
| class="statcell" |{{{attackdamage|}}}{{#if: {{{attackdamage2|}}} |<br />
{{!}}-
{{!}} class="statcell" {{!}}{{{attackdamage2}}}|}}{{#if: {{{attackdamage3|}}} |<br />
{{!}} class="statcell" style="text-align:center;"{{!}} {{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|50}}}px|center]]|}}{{{item4}}}{{#if: {{{afflictions4|}}} |<br>
{{!}} class="statcell" {{!}}{{{attackdamage3}}}|}}{{#if: {{{bleedingdamage|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions4}}}|}}{{#if: {{{structuredamage4|}}} |<br>
{{!}}-
{{!}} class="statcell" {{!}} {{{structuredamage4}}}|}}{{#if: {{{explosion4|}}} |<br>
! class="header" {{!}} [[Status effects#Bleeding|Bleeding]] Damage
{{!}} class="statcell" {{!}}{{{explosion4}}}|}}{{#if: {{{explosionafflictions4|}}} |<br>
{{!}} class="statcell" {{!}}{{{bleedingdamage}}}{{#if: {{{bleedingdamage2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions4}}}|}}{{#if: {{{isEMP4|}}} |<br>
{{!}} class="statcell" {{!}}{{{bleedingdamage2}}}|}}{{#if: {{{bleedingdamage3|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP4}}}|}}{{#if: {{{force4|}}} |<br>
{{!}} class="statcell" {{!}}{{{bleedingdamage3}}}|}}|}}{{#if: {{{structuredamage|}}} |<br />
{{!}} class="statcell" {{!}}{{{force4}}}|}}{{#if: {{{rateoffire4|}}} |<br>
{{!}}-
{{!}} class="statcell" {{!}}{{{rateoffire4}}}|}}{{#if: {{{projectile4|}}} |<br>
! class="header" {{!}} Structure Damage
{{!}} class="statcell" {{!}}{{{projectile4}}}|}}{{#if: {{{reusable4|}}} |<br>
{{!}} class="statcell" {{!}}{{{structuredamage}}}{{#if: {{{structuredamage2|}}} |<br />
{{!}} class="statcell" {{!}}{{{reusable4}}}|}}{{#if: {{{source4|}}} |<br>
{{!}} class="statcell" {{!}}{{{structuredamage2}}}|}}{{#if: {{{structuredamage3|}}} |<br />
{{!}} class="statcell" {{!}}{{{source4}}}|}}{{#if: {{{issticky4|}}} |<br>
{{!}} class="statcell" {{!}}{{{structuredamage3}}}|}}|}}{{#if: {{{stundamage|}}} |<br />
{{!}} class="statcell" {{!}}{{{issticky4}}}|}}{{#if: {{{isfragile4|}}} |<br>
{{!}}-
{{!}} class="statcell" {{!}}{{{isfragile4}}}|}}{{#if: {{{price4|}}} |<br>
! class="header" {{!}} [[Status effects#Stun|Stun]] Damage
{{!}} class="statcell" {{!}}{{{price4}}}|}}{{#if: {{{raw4|}}} |<br>
{{!}} class="statcell" {{!}}{{{stundamage}}}{{#if: {{{stundamage2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw4}}}|}}
{{!}} class="statcell" {{!}}{{{stundamage2}}}|}}{{#if: {{{stundamage3|}}} |<br />
|}}
{{!}} class="statcell" {{!}}{{{stundamage3}}}|}}|}}{{#if: {{{force|}}} |<br />
|}
{{!}}-
! class="header" {{!}} Kinematic Force
{{!}} class="statcell" {{!}}{{{force}}}{{#if: {{{force2|}}} |<br />
{{!}} class="statcell" {{!}}{{{force2}}}|}}{{#if: {{{force3|}}} |<br />
{{!}} class="statcell" {{!}}{{{force3}}}|}}|}}{{#if: {{{explosionrange|}}} |<br />
{{!}}-
! class="header" {{!}} Explosion Radius
{{!}} class="statcell" {{!}}{{{explosionrange}}}{{#if: {{{explosionrange2|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosionrange2}}}|}}{{#if: {{{explosionrange3|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosionrange3}}}|}}|}}{{#if: {{{damagetype|}}} |<br />
{{!}}-
! class="header" {{!}} Damage Type
{{!}} class="statcell" {{!}}{{{damagetype}}}{{#if: {{{damagetype2|}}} |<br />
{{!}} class="statcell" {{!}}{{{damagetype2}}}|}}{{#if: {{{damagetype3|}}} |<br />
{{!}} class="statcell" {{!}}{{{damagetype3}}}|}}|}}{{#if: {{{stick|}}} |<br />
{{!}}-
! class="header" {{!}} Stick to Entities?
{{!}} class="statcell" {{!}}{{{stick}}}{{#if: {{{stick2|}}} |<br />
{{!}} class="statcell" {{!}}{{{stick2}}}|}}{{#if: {{{stick3|}}} |<br />
{{!}} class="statcell" {{!}}{{{stick3}}}|}}|}}{{#if: {{{duration|}}} |<br />
{{!}}-
! class="header" {{!}} Attack Duration
{{!}} class="statcell" {{!}}{{{duration}}}{{#if: {{{duration2|}}} |<br />
{{!}} class="statcell" {{!}}{{{duration2}}}|}}{{#if: {{{duration3|}}} |<br />
{{!}} class="statcell" {{!}}{{{duration3}}}|}}|}}{{#if: {{{cost|}}} |<br />
{{!}}-
! class="header" {{!}} Price
{{!}} class="statcell" {{!}}{{{cost}}}{{#if: {{{cost2|}}} |<br />
{{!}} class="statcell" {{!}}{{{cost2}}}|}}{{#if: {{{cost3|}}} |<br />
{{!}} class="statcell" {{!}}{{{cost3}}}|}}|}}{{#if: {{{raw|}}} |<br />
{{!}}-
! class="header" {{!}} [[Raw materials]]
{{!}} class="statcell" {{!}}{{{raw}}}{{#if: {{{raw2|}}} |<br />
{{!}} class="statcell" {{!}}{{{raw2}}}|}}{{#if: {{{raw3|}}} |<br />
{{!}} class="statcell" {{!}}{{{raw3}}}|}}|}}
{{!}}-
! class="header" {{!}} Cooldown
{{!}} class="statcell" {{!}}{{{cooldown}}}{{#if: {{{cooldown2|}}} |<br />
{{!}} class="statcell" {{!}}{{{cooldown2}}}|}}{{#if: {{{cooldown3|}}} |<br />
{{!}} class="statcell" {{!}}{{{cooldown3}}}|}}|}}
|}</div>
<noinclude>[[Category:Data tables]]</noinclude>
<noinclude>[[Category:Data tables]]</noinclude>

Latest revision as of 18:39, 17 January 2021

Item
{{{item}}}