Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
(fixed apostrophes not being handled properly by cargo) |
(explosion afflictions) |
||
Line 19: | Line 19: | ||
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{paralysis}}}}}|{{{paralysis}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{paralysis}}})</small>|}}<br>|}}<!-- | -->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{paralysis}}}}}|{{{paralysis}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{paralysis}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{progressivestun}}}}}|{{{progressivestun}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{progressivestun}}})</small>|}}<br>|}}<!-- | -->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{progressivestun}}}}}|{{{progressivestun}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{progressivestun}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{stun}}}}}s|{{{stun}}}s}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{stun}}})</small>|}}|}} | -->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{stun}}}}}s|{{{stun}}}s}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{stun}}})</small>|}}|}}<!-- | ||
-->{{#if: {{{explosionrange|}}}|<br>Explosion:<br><!-- | |||
-->{{#if: {{{explosiondeeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{{explosiondeeptissueinjury}}}}}<br>|}}<!-- | |||
-->{{#if: {{{explosionburn|}}}|{{Affliction|Burn|||{{{explosionburn}}}}}<br>|}}<!-- | |||
-->{{#if: {{{explosionlacerations|}}}|{{Affliction|Lacerations|||{{{explosionlacerations}}}}}<br>|}}<!-- | |||
-->{{#if: {{{explosionbleeding|}}}|{{Affliction|Bleeding|||{{{explosionbleeding}}}}}<br>|}}<!-- | |||
-->{{#if: {{{explosionstun|}}}|{{Affliction|Stun|||{{{explosionstun}}}s}}|}}|}} | |||
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}} | | {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}} | ||
| {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{structuredamage}}}}} <small>({{{pellets}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}} | | {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{structuredamage}}}}} <small>({{{pellets}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}} | ||
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | | {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 16:00, 12 December 2021
This template is used by Template:CargoDamage to display individual rows. It is not meant for direct usage.
See Also
The above documentation is transcluded from Template:CargoDamage/sub/doc. (edit | history)
|-
| style="text-align:center;" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]]
| {{{magazine}}}
|
| 0%
| {{{structuredamage}}}
| .