Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
No 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: | | {{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{structuredamage}}}}} <small>({{{pellets}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}} | ||
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | | {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 14:52, 10 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}}}
| .