Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
(edited wrong page) Tag: Undo |
||
Line 27: | Line 27: | ||
-->{{#if: {{{explosionbleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionbleeding}}}}}|{{{explosionbleeding}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{explosionbleeding}}})</small>|}}<br>|}}<!-- | -->{{#if: {{{explosionbleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{explosionbleeding}}}}}|{{{explosionbleeding}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{explosionbleeding}}})</small>|}}<br>|}}<!-- | ||
-->{{#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: {{{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|.}} | |||
</onlyinclude> | </onlyinclude> |
Revision as of 22:17, 20 December 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}}}
| .