Template:Damage table: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(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!)
mNo edit summary
Line 18: Line 18:
! class="header" {{!}} Cooldown|}}
! class="header" {{!}} Cooldown|}}
{{!}}-
{{!}}-
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|90}}}px|center]]|}}{{{item}}}{{#if: {{{targettype|}}} |<br />
{{!}} class="statcell" {{!}}{{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|90}}}px|center]]|}}{{{item}}}{{#if: {{{targettype|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;"  {{!}}{{{targettype}}}|}}{{#if: {{{context|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;"  {{!}}{{{targettype}}}|}}{{#if: {{{context|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;"  {{!}}{{{context}}}|}}{{#if: {{{attackdamage|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;"  {{!}}{{{context}}}|}}{{#if: {{{attackdamage|}}} |<br />
Line 37: Line 37:
-->{{#if: {{{item2|}}} |<br />
-->{{#if: {{{item2|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}{{#if: {{{targettype2|}}} |<br />
{{!}} class="statcell" {{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}{{#if: {{{targettype2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype2}}}|}}{{#if: {{{context2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype2}}}|}}{{#if: {{{context2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context2}}}|}}{{#if: {{{attackdamage2|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context2}}}|}}{{#if: {{{attackdamage2|}}} |<br />
Line 56: Line 56:
-->{{#if: {{{item3|}}} |<br />
-->{{#if: {{{item3|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}{{#if: {{{targettype3|}}} |<br />
{{!}} class="statcell" {{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}{{#if: {{{targettype3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype3}}}|}}{{#if: {{{context3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype3}}}|}}{{#if: {{{context3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context3}}}|}}{{#if: {{{attackdamage3|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context3}}}|}}{{#if: {{{attackdamage3|}}} |<br />
Line 75: Line 75:
-->{{#if: {{{item4|}}} |<br />
-->{{#if: {{{item4|}}} |<br />
{{!}}-
{{!}}-
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|90}}}px|center]]|}}{{{item4}}}{{#if: {{{targettype4|}}} |<br />
{{!}} class="statcell" {{!}}{{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|90}}}px|center]]|}}{{{item4}}}{{#if: {{{targettype4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype4}}}|}}{{#if: {{{context4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{targettype4}}}|}}{{#if: {{{context4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context4}}}|}}{{#if: {{{attackdamage4|}}} |<br />
{{!}} class="statcell" style="background:#151d28;header:#111;" {{!}}{{{context4}}}|}}{{#if: {{{attackdamage4|}}} |<br />

Revision as of 02:29, 11 October 2020

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