Template:Weapon table: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
m (centered contents of the item column to prevent text being offset from image)
Line 17: Line 17:
|-
|-
| class="statcell" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|50}}}px|center]]|}}{{{item}}}{{#if: {{{afflictions|}}} |<br>
| class="statcell"  style="text-align:center;"| {{#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="text-align:left;" {{!}} {{{afflictions}}}|}}{{#if: {{{structuredamage|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage}}}|}}{{#if: {{{explosion|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage}}}|}}{{#if: {{{explosion|}}} |<br>
Line 34: Line 34:
-->{{#if: {{{item2|}}} |<br>
-->{{#if: {{{item2|}}} |<br>
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}} {{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|50}}}px|center]]|}}{{{item2}}}{{#if: {{{afflictions2|}}} |<br>
{{!}} class="statcell"  style="text-align:center;"{{!}} {{#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="text-align:left;" {{!}} {{{afflictions2}}}|}}{{#if: {{{structuredamage2|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage2}}}|}}{{#if: {{{explosion2|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage2}}}|}}{{#if: {{{explosion2|}}} |<br>
Line 52: Line 52:
-->{{#if: {{{item3|}}} |<br>
-->{{#if: {{{item3|}}} |<br>
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}} {{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|50}}}px|center]]|}}{{{item3}}}{{#if: {{{afflictions3|}}} |<br>
{{!}} class="statcell"  style="text-align:center;"{{!}} {{#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="text-align:left;" {{!}} {{{afflictions3}}}|}}{{#if: {{{structuredamage3|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage3}}}|}}{{#if: {{{explosion3|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage3}}}|}}{{#if: {{{explosion3|}}} |<br>
Line 70: Line 70:
     -->{{#if: {{{item4|}}} |<br>
     -->{{#if: {{{item4|}}} |<br>
{{!}}-
{{!}}-
{{!}} class="statcell" {{!}} {{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|50}}}px|center]]|}}{{{item4}}}{{#if: {{{afflictions4|}}} |<br>
{{!}} class="statcell" style="text-align:center;"{{!}} {{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|50}}}px|center]]|}}{{{item4}}}{{#if: {{{afflictions4|}}} |<br>
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions4}}}|}}{{#if: {{{structuredamage4|}}} |<br>
{{!}} class="statcell" style="text-align:left;" {{!}} {{{afflictions4}}}|}}{{#if: {{{structuredamage4|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage4}}}|}}{{#if: {{{explosion4|}}} |<br>
{{!}} class="statcell" {{!}} {{{structuredamage4}}}|}}{{#if: {{{explosion4|}}} |<br>

Revision as of 17:56, 6 January 2021

Item
{{{item}}}