Template:CargoDamage/sub: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
Line 21: Line 21:
-->{{#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: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{#if: {{{pellets|}}}|{{#expr:({{{pellets|}}}*{{{structuredamage}}}) round 1}} <small>({{{pellets|}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}}
| {{#if: {{{pellets|}}}|{{#expr:({{{pellets|}}}*{{{structuredamage}}}) round 2}} <small>({{{pellets|}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}}
</onlyinclude>
</onlyinclude>

Revision as of 13:41, 10 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}}} | .