Template:CargoDamage/sub: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{doc}}</noinclude><onlyinclude> |- | style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]] | {{{magazine}}} | {{#if: {{{bluntforcetrauma|}}...")
 
No edit summary
Line 3: Line 3:
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]]
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]]
| {{{magazine}}}
| {{{magazine}}}
| {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{{bluntforcetrauma}}}}} <small>({{#expr: {{{bluntforcetrauma}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!-- <br> are here because 99% of the time stun is last, and there's no <br> after stun here. Sketchy, but haven't found a better way yet.
| {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{{bluntforcetrauma}}}}}<br>|}}<!--
-->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{{lacerations}}}}} <small>({{#expr: {{{lacerations}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!-- this means that in the remaining 1% cases, there will be an empty line at the end of the cell (when there's no stun e.g. coilgun ammo etc
-->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{{lacerations}}}}}<br>|}}<!--  
-->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{{gunshotwound}}}}} <small>({{#expr: {{{gunshotwound}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
-->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{{gunshotwound}}}}}<br>|}}<!--
-->{{#if: {{{deeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{{deeptissueinjury}}}}} <small>({{#expr: {{{deeptissueinjury}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
-->{{#if: {{{deeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{{deeptissueinjury}}}}}<br>|}}<!--
-->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{{organdamage}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{{organdamage}}}}}<br>|}}<!--
-->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{{burn}}}}} <small>({{#expr: {{{burn}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
-->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{{burn}}}}}<br>|}}<!--
-->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{{bleeding}}}}} <small>({{#expr: {{{bleeding}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
-->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{{bleeding}}}}}<br>|}}<!--
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{{oxygenlow}}}}} <small>({{#expr: {{{oxygenlow}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{{oxygenlow}}}}}<br>|}}<!--
-->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{{huskinfection}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{{huskinfection}}}}}<br>|}}<!--
-->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{{morbusinepoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{{morbusinepoisoning}}}}}<br>|}}<!--
-->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{{sufforinpoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{{sufforinpoisoning}}}}}<br>|}}<!--
-->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{{deliriuminepoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{{deliriuminepoisoning}}}}}<br>|}}<!--
-->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{{cyanidepoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{{cyanidepoisoning}}}}}<br>|}}<!--
-->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{{radiationsickness}}}}} <small>({{#expr: {{{radiationsickness}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
-->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{{radiationsickness}}}}}<br>|}}<!--
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{{paralysis}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{{paralysis}}}}}<br>|}}<!--
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{{progressivestun}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{{progressivestun}}}}}<br>|}}<!--
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{#expr: {{{stun}}} round 1}}s}}|}}
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{{stun}}}s}}|}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{{structuredamage}}}
| {{{structuredamage}}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|­}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|­}}
</onlyinclude>
</onlyinclude>

Revision as of 12:41, 15 November 2021

Documentation

This template is used by Template:CargoDamage to display individual rows. It is not meant for direct usage.

See Also

|- | style="text-align:center;" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]] | {{{magazine}}} | | 0% | {{{structuredamage}}} | ­