Template:Damage table: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(test)
(yeah that should do it. There's probably a more elegant way to do it, but you know, if we were elegant, we wouldn't be here. And I think it's for the best. If you're reading this, have a great day!)
Line 37: Line 37:
-->{{#if: {{{item2|}}} |<br />
-->{{#if: {{{item2|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}{{#if: {{{targettype2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}{{#if: {{{targettype2|}}} |<br />
{{!}} class="statcell" {{!}}{{{targettype2}}}|}}{{#if: {{{context2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype2}}}|}}{{#if: {{{context2|}}} |<br />
{{!}} class="statcell" {{!}}{{{context2}}}|}}{{#if: {{{attackdamage2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context2}}}|}}{{#if: {{{attackdamage2|}}} |<br />
{{!}} class="statcell" {{!}}{{{attackdamage2}}}|}}{{#if: {{{afflictions2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{attackdamage2}}}|}}{{#if: {{{afflictions2|}}} |<br />
{{!}} class="statcell" {{!}}{{{afflictions2}}}|}}{{#if: {{{bleedingdamage2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{afflictions2}}}|}}{{#if: {{{bleedingdamage2|}}} |<br />
{{!}} class="statcell" {{!}}{{{bleedingdamage2}}}|}}{{#if: {{{structuredamage2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{bleedingdamage2}}}|}}{{#if: {{{structuredamage2|}}} |<br />
{{!}} class="statcell" {{!}}{{{structuredamage2}}}|}}{{#if: {{{stundamage2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{structuredamage2}}}|}}{{#if: {{{stundamage2|}}} |<br />
{{!}} class="statcell" {{!}}{{{stundamage2}}}|}}{{#if: {{{force2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{stundamage2}}}|}}{{#if: {{{force2|}}} |<br />
{{!}} class="statcell" {{!}}{{{force2}}}|}}{{#if: {{{explosionrange2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{force2}}}|}}{{#if: {{{explosionrange2|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosionrange2}}}|}}{{#if: {{{damagetype2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{explosionrange2}}}|}}{{#if: {{{damagetype2|}}} |<br />
{{!}} class="statcell" {{!}}{{{damagetype2}}}|}}{{#if: {{{stick2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{damagetype2}}}|}}{{#if: {{{stick2|}}} |<br />
{{!}} class="statcell" {{!}}{{{stick2}}}|}}{{#if: {{{duration2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{stick2}}}|}}{{#if: {{{duration2|}}} |<br />
{{!}} class="statcell" {{!}}{{{duration2}}}|}}{{#if: {{{cost2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{duration2}}}|}}{{#if: {{{cost2|}}} |<br />
{{!}} class="statcell" {{!}}{{{cost2}}} Marks|}}{{#if: {{{raw2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{cost2}}} Marks|}}{{#if: {{{raw2|}}} |<br />
{{!}} class="statcell" {{!}}{{{raw2}}}|}}{{#if: {{{cooldown2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{raw2}}}|}}{{#if: {{{cooldown2|}}} |<br />
{{!}} class="statcell" {{!}}{{{cooldown2}}}|}}
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{cooldown2}}}|}}
|}}<!--
|}}<!--
-->{{#if: {{{item3|}}} |<br />
-->{{#if: {{{item3|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}{{#if: {{{targettype3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}{{#if: {{{targettype3|}}} |<br />
{{!}} class="statcell" {{!}}{{{targettype3}}}|}}{{#if: {{{context3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype3}}}|}}{{#if: {{{context3|}}} |<br />
{{!}} class="statcell" {{!}}{{{context3}}}|}}{{#if: {{{attackdamage3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context3}}}|}}{{#if: {{{attackdamage3|}}} |<br />
{{!}} class="statcell" {{!}}{{{attackdamage3}}}|}}{{#if: {{{afflictions3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{attackdamage3}}}|}}{{#if: {{{afflictions3|}}} |<br />
{{!}} class="statcell" {{!}}{{{afflictions3}}}|}}{{#if: {{{bleedingdamage3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{afflictions3}}}|}}{{#if: {{{bleedingdamage3|}}} |<br />
{{!}} class="statcell" {{!}}{{{bleedingdamage3}}}|}}{{#if: {{{structuredamage3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{bleedingdamage3}}}|}}{{#if: {{{structuredamage3|}}} |<br />
{{!}} class="statcell" {{!}}{{{structuredamage3}}}|}}{{#if: {{{stundamage3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{structuredamage3}}}|}}{{#if: {{{stundamage3|}}} |<br />
{{!}} class="statcell" {{!}}{{{stundamage3}}}|}}{{#if: {{{force3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{stundamage3}}}|}}{{#if: {{{force3|}}} |<br />
{{!}} class="statcell" {{!}}{{{force3}}}|}}{{#if: {{{explosionrange3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{force3}}}|}}{{#if: {{{explosionrange3|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosionrange3}}}|}}{{#if: {{{damagetype3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{explosionrange3}}}|}}{{#if: {{{damagetype3|}}} |<br />
{{!}} class="statcell" {{!}}{{{damagetype3}}}|}}{{#if: {{{stick3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{damagetype3}}}|}}{{#if: {{{stick3|}}} |<br />
{{!}} class="statcell" {{!}}{{{stick3}}}|}}{{#if: {{{duration3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{stick3}}}|}}{{#if: {{{duration3|}}} |<br />
{{!}} class="statcell" {{!}}{{{duration3}}}|}}{{#if: {{{cost3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{duration3}}}|}}{{#if: {{{cost3|}}} |<br />
{{!}} class="statcell" {{!}}{{{cost3}}} Marks|}}{{#if: {{{raw3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{cost3}}} Marks|}}{{#if: {{{raw3|}}} |<br />
{{!}} class="statcell" {{!}}{{{raw3}}}|}}{{#if: {{{cooldown3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{raw3}}}|}}{{#if: {{{cooldown3|}}} |<br />
{{!}} class="statcell" {{!}}{{{cooldown3}}}|}}
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{cooldown3}}}|}}
|}}<!--
|}}<!--
-->{{#if: {{{item4|}}} |<br />
-->{{#if: {{{item4|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}}{{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|90}}}px|center]]|}}{{{item4}}}{{#if: {{{targettype4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|90}}}px|center]]|}}{{{item4}}}{{#if: {{{targettype4|}}} |<br />
{{!}} class="statcell" {{!}}{{{targettype4}}}|}}{{#if: {{{context4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype4}}}|}}{{#if: {{{context4|}}} |<br />
{{!}} class="statcell" {{!}}{{{context4}}}|}}{{#if: {{{attackdamage4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context4}}}|}}{{#if: {{{attackdamage4|}}} |<br />
{{!}} class="statcell" {{!}}{{{attackdamage4}}}|}}{{#if: {{{afflictions4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{attackdamage4}}}|}}{{#if: {{{afflictions4|}}} |<br />
{{!}} class="statcell" {{!}}{{{afflictions4}}}|}}{{#if: {{{bleedingdamage4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{afflictions4}}}|}}{{#if: {{{bleedingdamage4|}}} |<br />
{{!}} class="statcell" {{!}}{{{bleedingdamage4}}}|}}{{#if: {{{structuredamage4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{bleedingdamage4}}}|}}{{#if: {{{structuredamage4|}}} |<br />
{{!}} class="statcell" {{!}}{{{structuredamage4}}}|}}{{#if: {{{stundamage4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{structuredamage4}}}|}}{{#if: {{{stundamage4|}}} |<br />
{{!}} class="statcell" {{!}}{{{stundamage4}}}|}}{{#if: {{{force4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{stundamage4}}}|}}{{#if: {{{force4|}}} |<br />
{{!}} class="statcell" {{!}}{{{force4}}}|}}{{#if: {{{explosionrange4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{force4}}}|}}{{#if: {{{explosionrange4|}}} |<br />
{{!}} class="statcell" {{!}}{{{explosionrange4}}}|}}{{#if: {{{damagetype4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{explosionrange4}}}|}}{{#if: {{{damagetype4|}}} |<br />
{{!}} class="statcell" {{!}}{{{damagetype4}}}|}}{{#if: {{{stick4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{damagetype4}}}|}}{{#if: {{{stick4|}}} |<br />
{{!}} class="statcell" {{!}}{{{stick4}}}|}}{{#if: {{{duration4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{stick4}}}|}}{{#if: {{{duration4|}}} |<br />
{{!}} class="statcell" {{!}}{{{duration4}}}|}}{{#if: {{{cost4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{duration4}}}|}}{{#if: {{{cost4|}}} |<br />
{{!}} class="statcell" {{!}}{{{cost4}}} Marks|}}{{#if: {{{raw4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{cost4}}} Marks|}}{{#if: {{{raw4|}}} |<br />
{{!}} class="statcell" {{!}}{{{raw4}}}|}}{{#if: {{{cooldown4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{raw4}}}|}}{{#if: {{{cooldown4|}}} |<br />
{{!}} class="statcell" {{!}}{{{cooldown4}}}|}}
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{cooldown4}}}|}}
|}}
|}}
|}</div><div class="mobileonly">
|}</div><div class="mobileonly">

Revision as of 02:27, 11 October 2020

Item
{{{item}}}
Item {{{item}}}
Cooldown {{{cooldown}}}