Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
(pellets support) |
||
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|||{{{bluntforcetrauma}}}}}<br>|}}<!-- | | {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{bluntforcetrauma}}}}}|{{{bluntforcetrauma}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{bluntforcetrauma}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{{lacerations}}}}}<br>|}}<!-- | -->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{lacerations}}}}}|{{{lacerations}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{lacerations}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{{gunshotwound}}}}}<br>|}}<!-- | -->{{#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|||{{{deeptissueinjury}}}}}<br>|}}<!-- | -->{{#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|||{{{organdamage}}}}}<br>|}}<!-- | -->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{organdamage}}}}}|{{{organdamage}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{organdamage}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{{burn}}}}}<br>|}}<!-- | -->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{burn}}}}}|{{{burn}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{burn}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{{bleeding}}}}}<br>|}}<!-- | -->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{bleeding}}}}}|{{{bleeding}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{bleeding}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{{oxygenlow}}}}}<br>|}}<!-- | -->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{oxygenlow}}}}}|{{{oxygenlow}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{oxygenlow}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{{huskinfection}}}}}<br>|}}<!-- | -->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{huskinfection}}}}}|{{{huskinfection}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{huskinfection}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{{morbusinepoisoning}}}}}<br>|}}<!-- | -->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{morbusinepoisoning}}}}}|{{{morbusinepoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{morbusinepoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{{sufforinpoisoning}}}}}<br>|}}<!-- | -->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{sufforinpoisoning}}}}}|{{{sufforinpoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{sufforinpoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{{deliriuminepoisoning}}}}}<br>|}}<!-- | -->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{deliriuminepoisoning}}}}}|{{{deliriuminepoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{deliriuminepoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{{cyanidepoisoning}}}}}<br>|}}<!-- | -->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{cyanidepoisoning}}}}}|{{{cyanidepoisoning}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{cyanidepoisoning}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{{radiationsickness}}}}}<br>|}}<!-- | -->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{radiationsickness}}}}}|{{{radiationsickness}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{radiationsickness}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{{paralysis}}}}}<br>|}}<!-- | -->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{paralysis}}}}}|{{{paralysis}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{paralysis}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{{progressivestun}}}}}<br>|}}<!-- | -->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{progressivestun}}}}}|{{{progressivestun}}}}}}} {{#if: {{{pellets|}}}|<small>({{{pellets|}}}x{{{progressivestun}}})</small>|}}<br>|}}<!-- | ||
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{{stun}}}s}}|}} | -->{{#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%}} | ||
| {{{structuredamage}}} | | {{#if: {{{pellets|}}}|{{#expr:{{{pellets|}}}*{{{structuredamage}}}}} <small>({{{pellets|}}}x{{{structuredamage}}})</small>|{{{structuredamage}}}}} | ||
| {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | | {{#if: {{{explosionrange|}}}|{{{explosionrange}}} meters|.}} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 02:57, 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}}}
| .