Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
(pellets x explo afflictions) |
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: {{{explosionrange|}}}|<br>Explosion:<br><!-- | -->{{#if: {{{explosionrange|}}}|<br>Explosion:<br><!-- | ||
-->{{#if: {{{explosionradiationsickness|}}}|{{Affliction|Radiation Sickness|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionradiationsickness}}}}} | -->{{#if: {{{explosionradiationsickness|}}}|{{Affliction|Radiation Sickness|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionradiationsickness}}}}} <small>({{{pellets}}}x{{{explosionradiationsickness}}})</small>|{{{explosionradiationsickness}}}}}}}<br>|}}<!-- | ||
-->{{#if: {{{explosiondeeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosiondeeptissueinjury}}}}} | -->{{#if: {{{explosiondeeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosiondeeptissueinjury}}}}} <small>({{{pellets}}}x{{{explosiondeeptissueinjury}}})</small>|{{{explosiondeeptissueinjury}}}}}}}<br>|}}<!-- | ||
-->{{#if: {{{explosionburn|}}}|{{Affliction|Burn|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionburn}}}}} | -->{{#if: {{{explosionburn|}}}|{{Affliction|Burn|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionburn}}}}} <small>({{{pellets}}}x{{{explosionburn}}})</small>|{{{explosionburn}}}}}}}<br>|}}<!-- | ||
-->{{#if: {{{explosionlacerations|}}}|{{Affliction|Lacerations|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionlacerations}}}}} | -->{{#if: {{{explosionlacerations|}}}|{{Affliction|Lacerations|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionlacerations}}}}} <small>({{{pellets}}}x{{{explosionlacerations}}})</small>|{{{explosionlacerations}}}}}}}<br>|}}<!-- | ||
-->{{#if: {{{explosionbleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionbleeding}}}}} | -->{{#if: {{{explosionbleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionbleeding}}}}} <small>({{{pellets}}}x{{{explosionbleeding}}})</small>|{{{explosionbleeding}}}}}}}<br>|}}<!-- | ||
-->{{#if: {{{explosionstun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionstun}}}}}s|{{{explosionstun}}}s}}}}|}}|}} | -->{{#if: {{{explosionstun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionstun}}}}}s <small>({{{pellets}}}x{{{explosionstun}}})</small>|{{{explosionstun}}}s}}}}|}}|}} | ||
| {{#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: {{{explosionstructuredamage}}}|}} | | {{#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|}}}|{{{explosionrange}}} meters|.}} | | {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 09:01, 21 June 2022
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}}}
| .