Template:Sandbox/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>{{#vardefine:numRanges|{{#if:{{{range8|}}}|8|{{#if:{{{range7|}}}|7|{{#if:{{{range6|}}}|6|{{#if:{{{range5|}}}|5|{{#if:{{{range4|}}}|4|{{#if:{{{range3|}}}|3|{{#if:{{{range2|}}}|2|1}}}}}}}}}}}}}}}}
<noinclude>{{doc}}</noinclude><onlyinclude>
|-
|-
|rowspan="{{#var:numRanges}}"|[[File:Affliction {{{name}}}.png|50px]]<br>[[{{{name}}}]]
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]]
|rowspan="{{#var:numRanges}}"|{{#ifexpr:{{{limb|}}}|Yes|<span style="color:#808080">No</span>}}
| {{{attackspeed}}}
|rowspan="{{#var:numRanges}}"|{{#ifexpr:{{{scaled|}}}|Yes|<span style="color:#808080">No</span>}}
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]]
|rowspan="{{#var:numRanges}}"style="text-align:left;"|{{{evolution}}}
| {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{{bluntforcetrauma}}}}} <small>({{#expr: {{{bluntforcetrauma}}}*{{{attackspeed}}} }} DPS)</small><br>|}}<!--
|{{{range1}}}
-->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{{lacerations}}}}} <small>({{#expr: {{{lacerations}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
|{{{effect1}}}
-->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{{gunshotwound}}}}} <small>({{#expr: {{{gunshotwound}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
|rowspan="{{#var:numRanges}}"style="text-align:left;"|{{#cargo_query: tables = Items
-->{{#if: {{{deeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{{deeptissueinjury}}}}} <small>({{#expr: {{{deeptissueinjury}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
| fields = Items.name, Items.type, Items.skill, Items.duration, Items.{{{identifier}}}=magnitude, Items.{{{identifier}}}fail=magnitudefail, Items.{{{identifier}}}syringe=magnitudesyringe
-->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{{organdamage}}}}}<br>|}}<!-- no dps needed
| where = Items.{{{identifier}}} < 0
-->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{{burn}}}}} <small>({{#expr: {{{burn}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
| order by = Items.{{{identifier}}} ASC, Items._pageName
-->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{{bleeding}}}}} <small>({{#expr: {{{bleeding}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
| format = template
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{{oxygenlow}}}}} <small>({{#expr: {{{oxygenlow}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
| template = Sandbox/row/ext
-->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{{huskinfection}}}}}<br>|}}<!-- no dps needed
| delimiter = <br>
-->{{#if: {{{psychosis|}}}|{{Affliction|Psychosis|||{{{psychosis}}}}} <small>({{#expr: {{{psychosis}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
| named args = yes
-->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{{morbusinepoisoning}}}}}<br>|}}<!-- no dps needed
| default = <span style="color:#808080">None</span>
-->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{{sufforinpoisoning}}}}}<br>|}}<!-- no dps needed
}}
-->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{{deliriuminepoisoning}}}}}<br>|}}<!-- no dps needed
|rowspan="{{#var:numRanges}}"style="text-align:left;"|{{#cargo_query: tables = Items
-->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{{cyanidepoisoning}}}}}<br>|}}<!-- no dps needed
| fields = Items.name, Items.type, Items.skill, Items.duration, Items.{{{identifier}}}=magnitude, Items.{{{identifier}}}fail=magnitudefail, Items.{{{identifier}}}syringe=magnitudesyringe
-->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{{radiationsickness}}}}} <small>({{#expr: {{{radiationsickness}}}*{{{attackspeed}}} round 1}} DPS)</small><br>|}}<!--
| where = Items.{{{identifier}}} > 0
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{{paralysis}}}}}<br>|}}<!-- no dps needed
| order by = Items.{{{identifier}}} ASC, Items._pageName
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{{progressivestun}}}}}<br>|}}<!-- no dps needed
| format = template
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{#expr: {{{stun}}} round 1}}s}}|}}
| template = Sandbox/row/ext
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| delimiter = <br>
</onlyinclude>
| named args = yes
| default = <span style="color:#808081">None</span>
}}
{{#if:{{{range2|}}}|
{{!}}-
{{!}} {{{range2}}}
{{!}} {{{effect2}}}|}}
{{#if:{{{range3|}}}|
{{!}}-
{{!}} {{{range3}}}
{{!}} {{{effect3}}}|}}
{{#if:{{{range4|}}}|
{{!}}-
{{!}} {{{range4}}}
{{!}} {{{effect4}}}|}}
{{#if:{{{range5|}}}|
{{!}}-
{{!}} {{{range5}}}
{{!}} {{{effect5}}}|}}
{{#if:{{{range6|}}}|
{{!}}-
{{!}} {{{range6}}}
{{!}} {{{effect6}}}|}}
{{#if:{{{range7|}}}|
{{!}}-
{{!}} {{{range7}}}
{{!}} {{{effect7}}}|}}
{{#if:{{{range8|}}}|
{{!}}-
{{!}} {{{range8}}}
{{!}} {{{effect8}}}|}}</onlyinclude>

Revision as of 17:36, 27 June 2022

Template:Sandbox/row/doc |- | style="text-align:center;" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]] | {{{attackspeed}}} | style="text-align:center;" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]] | | 0%