Template:Weapon table: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(added force (knockback) and fixed mobile title for isEMP)
(applying the change made to damage table here as well, for separators. Didn't touch mobileonly)
Line 1: Line 1:
<div class="nomobile">
<div class="nomobile">
{| style="border: 0px solid #BDCAC3; border-radius: 1em; padding: 0.5em; background:#151d28;header:#111;"
{| style="border: 0px solid #BDCAC3; border-radius: 1em; padding: 0.5em; background:#212c3a;header:#111;"
! class="header" | Item {{#if: {{{afflictions|}}} |<br />
! class="header" | Item {{#if: {{{afflictions|}}} |<br />
! class="header" {{!}} [[Afflictions]]|}}{{#if: {{{structuredamage|}}} |<br />
! class="header" {{!}} [[Afflictions]]|}}{{#if: {{{structuredamage|}}} |<br />
Line 16: Line 16:
|-
|-
| class="statcell" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|50}}}px|center]]|}}{{{item}}}{{#if: {{{afflictions|}}} |<br />
| class="statcell" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|50}}}px|center]]|}}{{{item}}}{{#if: {{{afflictions|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions}}}|}}{{#if: {{{structuredamage|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}} {{{afflictions}}}|}}{{#if: {{{structuredamage|}}} |<br />
{{!}} class="statcell" {{!}} {{{structuredamage}}}|}}{{#if: {{{explosion|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}} {{{structuredamage}}}|}}{{#if: {{{explosion|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosion}}}|}}{{#if: {{{explosionafflictions|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{explosion}}}|}}{{#if: {{{explosionafflictions|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions}}}|}}{{#if: {{{isEMP|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}}{{{explosionafflictions}}}|}}{{#if: {{{isEMP|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP}}}|}}{{#if: {{{force|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{isEMP}}}|}}{{#if: {{{force|}}} |<br />
     {{!}} class="statcell" {{!}}{{{force}}}|}}{{#if: {{{projectile|}}} |<br />
     {{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{force}}}|}}{{#if: {{{projectile|}}} |<br />
{{!}} class="statcell" {{!}}{{{projectile}}}|}}{{#if: {{{issticky|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{projectile}}}|}}{{#if: {{{issticky|}}} |<br />
{{!}} class="statcell" {{!}}{{{issticky}}}|}}{{#if: {{{isfragile|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{issticky}}}|}}{{#if: {{{isfragile|}}} |<br />
{{!}} class="statcell" {{!}}{{{isfragile}}}|}}{{#if: {{{price|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{isfragile}}}|}}{{#if: {{{price|}}} |<br />
{{!}} class="statcell" {{!}}{{{price}}}|}}{{#if: {{{raw|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{price}}}|}}{{#if: {{{raw|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw}}}|}}<!--
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}}{{{raw}}}|}}<!--
-->{{#if: {{{item2|}}} |<br />
-->{{#if: {{{item2|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}} {{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|50}}}px|center]]|}}{{{item2}}}{{#if: {{{afflictions2|}}} |<br />
{{!}} class="statcell" {{!}} {{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|50}}}px|center]]|}}{{{item2}}}{{#if: {{{afflictions2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions2}}}|}}{{#if: {{{structuredamage2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}} {{{afflictions2}}}|}}{{#if: {{{structuredamage2|}}} |<br />
{{!}} class="statcell" {{!}} {{{structuredamage2}}}|}}{{#if: {{{explosion2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}} {{{structuredamage2}}}|}}{{#if: {{{explosion2|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosion2}}}|}}{{#if: {{{explosionafflictions2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{explosion2}}}|}}{{#if: {{{explosionafflictions2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions2}}}|}}{{#if: {{{isEMP2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}}{{{explosionafflictions2}}}|}}{{#if: {{{isEMP2|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP2}}}|}}{{#if: {{{force2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{isEMP2}}}|}}{{#if: {{{force2|}}} |<br />
{{!}} class="statcell" {{!}}{{{force2}}}|}}{{#if: {{{projectile2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{force2}}}|}}{{#if: {{{projectile2|}}} |<br />
{{!}} class="statcell" {{!}}{{{projectile2}}}|}}{{#if: {{{issticky2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{projectile2}}}|}}{{#if: {{{issticky2|}}} |<br />
{{!}} class="statcell" {{!}}{{{issticky2}}}|}}{{#if: {{{isfragile2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{issticky2}}}|}}{{#if: {{{isfragile2|}}} |<br />
{{!}} class="statcell" {{!}}{{{isfragile2}}}|}}{{#if: {{{price2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{isfragile2}}}|}}{{#if: {{{price2|}}} |<br />
{{!}} class="statcell" {{!}}{{{price2}}}|}}{{#if: {{{raw2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{price2}}}|}}{{#if: {{{raw2|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw2}}}|}}
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}}{{{raw2}}}|}}
|}}<!--
|}}<!--
-->{{#if: {{{item3|}}} |<br />
-->{{#if: {{{item3|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}} {{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|50}}}px|center]]|}}{{{item3}}}{{#if: {{{afflictions3|}}} |<br />
{{!}} class="statcell" {{!}} {{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|50}}}px|center]]|}}{{{item3}}}{{#if: {{{afflictions3|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions3}}}|}}{{#if: {{{structuredamage3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}} {{{afflictions3}}}|}}{{#if: {{{structuredamage3|}}} |<br />
{{!}} class="statcell" {{!}} {{{structuredamage3}}}|}}{{#if: {{{explosion3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}} {{{structuredamage3}}}|}}{{#if: {{{explosion3|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosion3}}}|}}{{#if: {{{explosionafflictions3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{explosion3}}}|}}{{#if: {{{explosionafflictions3|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{explosionafflictions3}}}|}}{{#if: {{{isEMP3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}}{{{explosionafflictions3}}}|}}{{#if: {{{isEMP3|}}} |<br />
{{!}} class="statcell" {{!}}{{{isEMP3}}}|}}{{#if: {{{force3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{isEMP3}}}|}}{{#if: {{{force3|}}} |<br />
{{!}} class="statcell" {{!}}{{{force3}}}|}}{{#if: {{{projectile3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{force3}}}|}}{{#if: {{{projectile3|}}} |<br />
{{!}} class="statcell" {{!}}{{{projectile3}}}|}}{{#if: {{{issticky3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{projectile3}}}|}}{{#if: {{{issticky3|}}} |<br />
{{!}} class="statcell" {{!}}{{{issticky3}}}|}}{{#if: {{{isfragile3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{issticky3}}}|}}{{#if: {{{isfragile3|}}} |<br />
{{!}} class="statcell" {{!}}{{{isfragile3}}}|}}{{#if: {{{price3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{isfragile3}}}|}}{{#if: {{{price3|}}} |<br />
{{!}} class="statcell" {{!}}{{{price3}}}|}}{{#if: {{{raw3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{price3}}}|}}{{#if: {{{raw3|}}} |<br />
{{!}} class="statcell" style="text-align:left;" {{!}}{{{raw3}}}|}}
{{!}} class="statcell" style="background:#151d28;header:#111;text-align:left;" {{!}}{{{raw3}}}|}}
|}}
|}}
|}</div>
|}</div>

Revision as of 02:44, 11 October 2020

Item
{{{item}}}
Item {{{item}}}Afflictions class="statcell"