Template:Infobox Weapon Skill/Equipment Alignment: Difference between revisions

From HorizonXI Wiki
(changed functionality from taking one element to taking three skillchain properties as input)
m (upper case letters and added word "Equipment")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>Aligned with elemental equipment:<!--
<onlyinclude><includeonly><ul style="margin: 0; list-style: none;"><!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fusion|transfixion=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fusion|transfixion=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fusion|transfixion=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fusion|transfixion=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fusion|transfixion=1}}|* light ([[Light Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fusion|transfixion=1}}|<li>Light Equipment ([[Light Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fusion|liquefaction=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fusion|liquefaction=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fusion|liquefaction=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fusion|liquefaction=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fusion|liquefaction=1}}|* flame ([[Flame Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fusion|liquefaction=1}}|<li>Flame Equipment ([[Flame Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fragmentation|detonation=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fragmentation|detonation=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fragmentation|detonation=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fragmentation|detonation=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fragmentation|detonation=1}}|* breeze ([[Breeze Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fragmentation|detonation=1}}|<li>Breeze Equipment ([[Breeze Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fragmentation|impaction=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|light|fragmentation|impaction=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fragmentation|impaction=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|light|fragmentation|impaction=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fragmentation|impaction=1}}|* thunder ([[Thunder Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|light|fragmentation|impaction=1}}|<li>Thunder Equipment ([[Thunder Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|gravitation|compression=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|gravitation|compression=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|gravitation|compression=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|gravitation|compression=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|gravitation|compression=1}}|* shadow ([[Shadow Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|gravitation|compression=1}}|<li>Shadow Equipment ([[Shadow Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|gravitation|scission=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|gravitation|scission=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|gravitation|scission=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|gravitation|scission=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|gravitation|scission=1}}|* soil ([[Soil Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|gravitation|scission=1}}|<li>Soil Equipment ([[Soil Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|distortion|reverberation=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|distortion|reverberation=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|distortion|reverberation=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|distortion|reverberation=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|distortion|reverberation=1}}|* aqua ([[Aqua Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|distortion|reverberation=1}}|<li>Aqua Equipment ([[Aqua Gorget]])</li>|}}<!--
-->{{#if:<!--
-->{{#if:<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|distortion|induration=1}}<!--
-->{{#switch:{{lc:{{{1|}}}}}|darkness|distortion|induration=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|distortion|induration=1}}<!--
-->{{#switch:{{lc:{{{2|}}}}}|darkness|distortion|induration=1}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|distortion|induration=1}}|* snow ([[Snow Gorget]])|}}<!--
-->{{#switch:{{lc:{{{3|}}}}}|darkness|distortion|induration=1}}|<li>Snow Equipment ([[Snow Gorget]])</li>|}}<!--
--></includeonly></onlyinclude>
--></ul></includeonly></onlyinclude>


==Usage==
==Usage==


Helper Template which returns alignment with elemental gear when given the corresponding element
Helper Template which returns alignment with elemental gear when given the corresponding skillchain attributes of the Weapon Skill.


===Example===
===Example===

Latest revision as of 17:02, 4 December 2023


Usage

Helper Template which returns alignment with elemental gear when given the corresponding skillchain attributes of the Weapon Skill.

Example

{{Infobox Weapon Skill/Equipment Alignment|light|fusion|compression}}

{{Infobox Weapon Skill/Equipment Alignment|darkness|distortion|}}

{{Infobox Weapon Skill/Equipment Alignment|liquefaction|transfixion|}}