Template:CargoDamage/sub: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(explosion afflictions)
(explosionstructuredamage)
Line 27: Line 27:
-->{{#if: {{{explosionstun|}}}|{{Affliction|Stun|||{{{explosionstun}}}s}}|}}|}}
-->{{#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|}}}|<br>Explosion:<br>{{{explosionstructuredamage}}}|}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}}
</onlyinclude>
</onlyinclude>

Revision as of 16:32, 12 December 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}}} | .