Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]] | | style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]] | ||
| {{{magazine}}} | | {{{magazine}}} | ||
| {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | | {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{bluntforcetrauma}}}}}|{{{bluntforcetrauma}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{bluntforcetrauma}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{lacerations}}}}}|{{{lacerations}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{lacerations}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{gunshotwound}}}}}|{{{gunshotwound}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{gunshotwound}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{deeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{deeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{deeptissueinjury}}}}}|{{{deeptissueinjury}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{deeptissueinjury}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{organdamage}}}}}|{{{organdamage}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{organdamage}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{burn}}}}}|{{{burn}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{burn}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{bleeding}}}}}|{{{bleeding}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{bleeding}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{oxygenlow}}}}}|{{{oxygenlow}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{oxygenlow}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{huskinfection}}}}}|{{{huskinfection}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{huskinfection}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{morbusinepoisoning}}}}}|{{{morbusinepoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{morbusinepoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{sufforinpoisoning}}}}}|{{{sufforinpoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{sufforinpoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{deliriuminepoisoning}}}}}|{{{deliriuminepoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{deliriuminepoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{cyanidepoisoning}}}}}|{{{cyanidepoisoning}}}}}}} {{#if: {{{pellets}}}|<small>({{{pellets}}}x{{{cyanidepoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{radiationsickness}}}}}|{{{radiationsickness}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{radiationsickness}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{paralysis}}}}}|{{{paralysis}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{paralysis}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets}}}*{{{progressivestun}}}}}|{{{progressivestun}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{progressivestun}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets | -->{{#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 | | {{#if: {{{pellets|}}}|{{#expr:({{{pellets}}}*{{{structuredamage}}}) round 1}} <small>({{{pellets}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}} | ||
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | | {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 14:46, 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}}}
| .