Template:CargoDamage/sub: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(edited wrong page)
Tag: Undo
No edit summary
Line 28: Line 28:
-->{{#if: {{{explosionstun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionstun}}}}}s|{{{explosionstun}}}s}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{explosionstun}}})</small>|}}|}}|}}
-->{{#if: {{{explosionstun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionstun}}}}}s|{{{explosionstun}}}s}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{explosionstun}}})</small>|}}|}}|}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{#if: {{{explosionrange|}}}|Impact:|}} {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{structuredamage}}}}} <small>({{{pellets}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}}{{#if: {{{explosionrange|}}}|<br>Explosion: {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionstructuredamage}}}}} <small>({{{pellets}}}x{{{explosionstructuredamage}}})</small>|{{{explosionstructuredamage}}}}}|}}
| {{#if: {{{explosionrange|}}}|{{#if:{{{structuredamage}}}|Impact:|}}|}} {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{structuredamage}}}}} <small>({{{pellets}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}}{{#if: {{{explosionrange|}}}|<br>Explosion: {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionstructuredamage}}}}} <small>({{{pellets}}}x{{{explosionstructuredamage}}})</small>|{{{explosionstructuredamage}}}}}|}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}}
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}}
</onlyinclude>
</onlyinclude>

Revision as of 01:54, 21 December 2022

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}}} | .