Difference between revisions of "Template:Enemy test"
Jump to navigation
Jump to search
(divs for resistances) |
(res groups above individual resistances in 3-column layout) |
||
Line 78: | Line 78: | ||
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!-- | --><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!-- | ||
-->{{#ifeq: {{#expr: {{#var:resphysical}} + {{#var:PhysicalResistance}}}} | 0 | |<div style="width: 145px;">Physical <span style="float:right;">{{#expr: {{#var:resphysical}} + {{#var:PhysicalResistance}}}}%</span></div>}}<!-- | -->{{#ifeq: {{#expr: {{#var:resphysical}} + {{#var:PhysicalResistance}}}} | 0 | |<div style="width: 145px;">Physical <span style="float:right;">{{#expr: {{#var:resphysical}} + {{#var:PhysicalResistance}}}}%</span></div>}}<!-- | ||
-->{{#ifeq: {{#expr: {{#var:resslashing}} + {{#var:SlashingResistance}}}} | 0 | |<div style="width: 145px;">Slashing <span style="float:right;">{{#expr: {{#var:resslashing}} + {{#var:SlashingResistance}}}}%</span></div>}}<!-- | -->{{#ifeq: {{#expr: {{#var:resslashing}} + {{#var:SlashingResistance}}}} | 0 | |<div style="width: 145px;">Slashing <span style="float:right;">{{#expr: {{#var:resslashing}} + {{#var:SlashingResistance}}}}%</span></div>}}<!-- | ||
-->{{#ifeq: {{#expr: {{#var:respiercing}} + {{#var:PiercingResistance}}}} | 0 | |<div style="width: 145px;">Piercing <span style="float:right;">{{#expr: {{#var:respiercing}} + {{#var:PiercingResistance}}}}%</span></div>}}<!-- | -->{{#ifeq: {{#expr: {{#var:respiercing}} + {{#var:PiercingResistance}}}} | 0 | |<div style="width: 145px;">Piercing <span style="float:right;">{{#expr: {{#var:respiercing}} + {{#var:PiercingResistance}}}}%</span></div>}}<!-- | ||
Line 86: | Line 83: | ||
-->{{#ifeq: {{#var:RendingResistance}} | 0 | |<div style="width: 145px;">Rending <span style="float:right;">{{#var:RendingResistance}}%</span></div>}}</div><!-- | -->{{#ifeq: {{#var:RendingResistance}} | 0 | |<div style="width: 145px;">Rending <span style="float:right;">{{#var:RendingResistance}}%</span></div>}}</div><!-- | ||
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!-- | --><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!-- | ||
-->{{#ifeq: {{#expr: {{#var:resnature}} + {{#var:NatureResistance}}}} | 0 | |<div style="width: 145px;">Nature <span style="float:right;">{{#expr: {{#var:resnature}} + {{#var:NatureResistance}}}}%</span></div>}}<!-- | |||
-->{{#ifeq: {{#expr: {{#var:resfire}} + {{#var:FireResistance}}}} | 0 | |<div style="width: 145px;">{{C|Fire}} <span style="float:right;">{{C|Fire|{{#expr: {{#var:resfire}} + {{#var:FireResistance}}}}%}}</span></div>}}<!-- | -->{{#ifeq: {{#expr: {{#var:resfire}} + {{#var:FireResistance}}}} | 0 | |<div style="width: 145px;">{{C|Fire}} <span style="float:right;">{{C|Fire|{{#expr: {{#var:resfire}} + {{#var:FireResistance}}}}%}}</span></div>}}<!-- | ||
-->{{#ifeq: {{#var:FrostResistance}} | 0 | |<div style="width: 145px;">{{C|Frost}} <span style="float:right;">{{C|Frost|{{#var:FrostResistance}}%}}</span></div>}}<!-- | -->{{#ifeq: {{#var:FrostResistance}} | 0 | |<div style="width: 145px;">{{C|Frost}} <span style="float:right;">{{C|Frost|{{#var:FrostResistance}}%}}</span></div>}}<!-- | ||
Line 92: | Line 90: | ||
-->{{#ifeq: {{#expr: {{#var:rescaustic}} + {{#var:CausticResistance}}}} | 0 | |<div style="width: 145px;">{{C|Caustic}} <span style="float:right;">{{C|Caustic|{{#expr: {{#var:rescaustic}} + {{#var:CausticResistance}}}}%}}</span></div>}}</div><!-- | -->{{#ifeq: {{#expr: {{#var:rescaustic}} + {{#var:CausticResistance}}}} | 0 | |<div style="width: 145px;">{{C|Caustic}} <span style="float:right;">{{C|Caustic|{{#expr: {{#var:rescaustic}} + {{#var:CausticResistance}}}}%}}</span></div>}}</div><!-- | ||
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!-- | --><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!-- | ||
-->{{#ifeq: {{#expr: {{#var:resmagic}} + {{#var:MagicResistance}}}} | 0 | |<div style="width: 145px;">Magic <span style="float:right;">{{#expr: {{#var:resmagic}} + {{#var:MagicResistance}}}}%</span></div>}}<!-- | |||
-->{{#ifeq: {{#var:UnholyResistance}} | 0 | |<div style="width: 145px;">{{C|Unholy}} <span style="float:right;">{{C|Unholy|{{#var:UnholyResistance}}%}}</span></div>}}<!-- | -->{{#ifeq: {{#var:UnholyResistance}} | 0 | |<div style="width: 145px;">{{C|Unholy}} <span style="float:right;">{{C|Unholy|{{#var:UnholyResistance}}%}}</span></div>}}<!-- | ||
-->{{#ifeq: {{#var:ArcaneResistance}} | 0 | |<div style="width: 145px;">{{C|Arcane}} <span style="float:right;">{{C|Arcane|{{#var:ArcaneResistance}}%}}</span></div>}}<!-- | -->{{#ifeq: {{#var:ArcaneResistance}} | 0 | |<div style="width: 145px;">{{C|Arcane}} <span style="float:right;">{{C|Arcane|{{#var:ArcaneResistance}}%}}</span></div>}}<!-- |
Revision as of 18:18, 13 March 2023
This template has no documentation. If you know how to use this template, please add some.