Template:TotalDamage: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude><includeonly>{{#cargo_query:tables = Items | <noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude><includeonly>{{#cargo_query:tables = Items | ||
| fields = name, projectiles, magazine, | | fields = name, projectiles, magazine, | ||
bluntforcetrauma, | bluntforcetrauma, bluntforcetraumachance, bluntforcetrauma2, bluntforcetrauma2chance, bitewounds, bitewoundschance, bitewounds2, bitewounds2chance, gunshotwound, gunshotwoundchance, gunshotwound2, gunshotwound2chance, incrementalstun, incrementalstunchance, incrementalstun2, incrementalstun2chance, progressivestun, progressivestunchance, progressivestun2, progressivestun2chance, acidburn, acidburnchance, acidburn2, acidburn2chance, deeptissueinjury, deeptissueinjurychance, deeptissueinjury2, deeptissueinjury2chance, explosiondeeptissueinjury, explosiondeeptissueinjurychance, explosiondeeptissueinjury2, explosiondeeptissueinjury2chance, burn, burnchance, burn2, burn2chance, explosionburn, explosionburnchance, explosionburn2, explosionburn2chance, lacerations, lacerationschance, lacerations2, lacerations2chance, explosionlacerations, explosionlacerationschance, explosionlacerations2, explosionlacerations2chance, bleeding, bleedingchance, bleeding2, bleeding2chance, explosionbleeding, explosionbleedingchance, explosionbleeding2, explosionbleeding2chance, stun, stunchance, stun2, stun2chance, explosionstun, explosionstunchance, explosionstun2, explosionstun2chance, radiationsickness, radiationsicknesschance, radiationsickness2, radiationsickness2chance, explosionradiationsickness, explosionradiationsicknesschance, explosionradiationsickness2, explosionradiationsickness2chance, | ||
| where = Items.name LIKE "{{{1|{{PAGENAME}}}}}" | | where = Items.name LIKE "{{{1|{{PAGENAME}}}}}" | ||
| format = template | | format = template |
Revision as of 02:02, 16 March 2023
Main article: Boilerplate:Gear
Template calculating total value of choosen afflictions in a magazine or a single round.
By default it calculates total damage afflictions in a mag.
Instructions
Field | Note | Example | Default |
---|---|---|---|
1 | Name of the item | Exploding Ammunition box | |
2 | Calculates damage per round if defined as "round" | round | |
type | Used to choose the type of afflictions:
|
stun | damage |
Sub Templates
Template in use
Total damage
{{TotalDamage|Exploding Ammunition Box}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.
Damage per round
{{TotalDamage|Exploding Ammunition Box|round}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.
Bleeding per round
{{TotalDamage|Exploding Ammunition Box|round|type=bleeding}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.
Stun per round
{{TotalDamage|Exploding Ammunition Box|round|type=stun}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.
All affliction types per round
{{TotalDamage|Exploding Ammunition Box|round|type=all}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.
The above documentation is transcluded from Template:TotalDamage/doc. (edit | history)