Template:CargoDamage/sub: Difference between revisions
From Official Barotrauma Wiki
m (adding weapondamagemodifier to lacerations) |
m (small fix) |
||
Line 12: | Line 12: | ||
-->{{#ifeq:{{{usedby3}}}|{{PAGENAME}}|{{#if:{{{usedby3weapondamagemodifier|}}}|*{{{usedby3weapondamagemodifier}}}}}}}}}|{{{lacerations}}}}}}}<!-- | -->{{#ifeq:{{{usedby3}}}|{{PAGENAME}}|{{#if:{{{usedby3weapondamagemodifier|}}}|*{{{usedby3weapondamagemodifier}}}}}}}}}|{{{lacerations}}}}}}}<!-- | ||
Pellets and damage modifier display | Pellets and damage modifier display | ||
-->{{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{lacerations}}})</small> | -->{{#if: {{{pellets|}}}|<small>({{{pellets}}}x{{{lacerations}}})</small><!-- | ||
-->{{#ifeq:{{{usedby}}}|{{PAGENAME}}|{{#if:{{{usedbyweapondamagemodifier|}}}|<small><abbr title="Weapon damage modifier">({{{usedbyweapondamagemodifier}}}x)</abbr></small>}}}}<!-- | -->{{#ifeq:{{{usedby}}}|{{PAGENAME}}|{{#if:{{{usedbyweapondamagemodifier|}}}|<small><abbr title="Weapon damage modifier">({{{usedbyweapondamagemodifier}}}x)</abbr></small>}}}}<!-- | ||
-->{{#ifeq:{{{usedby2}}}|{{PAGENAME}}|{{#if:{{{usedby2weapondamagemodifier|}}}|<small><abbr title="Weapon damage modifier">({{{usedby2weapondamagemodifier}}}x)</abbr></small>}}}}<!-- | -->{{#ifeq:{{{usedby2}}}|{{PAGENAME}}|{{#if:{{{usedby2weapondamagemodifier|}}}|<small><abbr title="Weapon damage modifier">({{{usedby2weapondamagemodifier}}}x)</abbr></small>}}}}<!-- |
Revision as of 06:36, 29 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}}}
|{{#if: | Lacerations ({{{lacerations}}})*
| 0%
| {{{structuredamage}}}
| .