Difference between revisions of "Template:Enemy test"

From Stoneshard wiki
Jump to navigation Jump to search
m
(display: inline-block and margin for damage values)
Line 55: Line 55:
-->{{Tooltip rule}}'''Damage'''<br><!--
-->{{Tooltip rule}}'''Damage'''<br><!--
--- Only display Damage types that have a value. ---
--- Only display Damage types that have a value. ---
-->{{#if:{{#var:Slashing Damage}}|{{#var:Slashing Damage}} {{Translate|Slashing|Properties}}<br>}}<!--
-->{{#if:{{#var:Slashing Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{#var:Slashing Damage}} {{Translate|Slashing|Properties}}<div>}}<!--
-->{{#if:{{#var:Piercing Damage}}|{{#var:Piercing Damage}} {{Translate|Piercing|Properties}}<br>}}<!--
-->{{#if:{{#var:Piercing Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{#var:Piercing Damage}} {{Translate|Piercing|Properties}}<div>}}<!--
-->{{#if:{{#var:Crushing Damage}}|{{#var:Crushing Damage}} {{Translate|Crushing|Properties}}<br>}}<!--
-->{{#if:{{#var:Crushing Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{#var:Crushing Damage}} {{Translate|Crushing|Properties}}<div>}}<!--
-->{{#if:{{#var:Rending Damage}}|{{#var:Rending Damage}} {{Translate|Rending|Properties}}<br>}}<!--
-->{{#if:{{#var:Rending Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{#var:Rending Damage}} {{Translate|Rending|Properties}}<div>}}<!--
-->{{#if:{{#var:Fire Damage}}|{{c|Fire|{{#var:Fire Damage}} {{Translate|Fire|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Fire Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Fire|{{#var:Fire Damage}} {{Translate|Fire|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Frost Damage}}|{{c|Frost|{{#var:Frost Damage}} {{Translate|Frost|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Frost Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Frost|{{#var:Frost Damage}} {{Translate|Frost|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Shock Damage}}|{{c|Shock|{{#var:Shock Damage}} {{Translate|Shock|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Shock Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Shock|{{#var:Shock Damage}} {{Translate|Shock|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Poison Damage}}|{{c|Poison|{{#var:Poison Damage}} {{Translate|Poison|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Poison Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Poison|{{#var:Poison Damage}} {{Translate|Poison|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Caustic Damage}}|{{c|Caustic|{{#var:Caustic Damage}} {{Translate|Caustic|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Caustic Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Caustic|{{#var:Caustic Damage}} {{Translate|Caustic|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Arcane Damage}}|{{c|Arcane|{{#var:Arcane Damage}} {{Translate|Arcane|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Arcane Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Arcane|{{#var:Arcane Damage}} {{Translate|Arcane|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Sacred Damage}}|{{c|Sacred|{{#var:Sacred Damage}} {{Translate|Sacred|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Sacred Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Sacred|{{#var:Sacred Damage}} {{Translate|Sacred|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Unholy Damage}}|{{c|Unholy|{{#var:Unholy Damage}} {{Translate|Unholy|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Unholy Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Unholy|{{#var:Unholy Damage}} {{Translate|Unholy|Properties}}}}<div>}}<!--
-->{{#if:{{#var:Psionic Damage}}|{{c|Psionic|{{#var:Psionic Damage}} {{Translate|Psionic|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Psionic Damage}}|<div style="margin-left:5px;margin-right:5px;display:inline-block;">{{c|Psionic|{{#var:Psionic Damage}} {{Translate|Psionic|Properties}}}}<div>}}<!--
-->{{Tooltip rule}}'''Protection'''</div><!--
-->{{Tooltip rule}}'''Protection'''</div><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--

Revision as of 13:43, 11 October 2022

This template has no documentation. If you know how to use this template, please add some.