Template:Skillchain: Difference between revisions

From HorizonXI Wiki
(replaced color link template for coloring the skillchain names with property template)
m (added commentary to code blocks to untangle)
Line 1: Line 1:
{|{{#if:{{{width|}}}|width="{{{width}}}"}}
{|<!--
|{{#ifeq:{{NAMESPACE}}||{{#switch:{{lc:{{{3|{{{2|}}}}}}}}|nc|no category=|#default={{#switch:{{lc:{{{1}}}}}|light = [[Category:Light (Skillchain)]]|darkness = [[Category:Darkness]]|[[Category:{{{1}}}]]}}}}}}{{#switch:{{lc:{{{1}}}}}
 
Wrapping everything in an invisible table
-->{{#if:{{{width|}}}|width="{{{width}}}"}}
|{{#ifeq:{{NAMESPACE}}||{{#switch:{{lc:{{{3|{{{2|}}}}}}}}|nc|no category=|#default={{#switch:{{lc:{{{1}}}}}|light = [[Category:Light (Skillchain)]]|darkness = [[Category:Darkness]]|[[Category:{{{1}}}]]}}}}}}<!--
 
The Skillchain name as colored header
-->{{#switch:{{lc:{{{1}}}}}
| impaction = {{Impaction}}{{Property|Impaction}}
| impaction = {{Impaction}}{{Property|Impaction}}
| liquefaction = {{Liquefaction}}{{Property|Liquefaction}}
| liquefaction = {{Liquefaction}}{{Property|Liquefaction}}
Line 15: Line 21:
| light = {{LightSkillchain}}{{Property|Light}}
| light = {{LightSkillchain}}{{Property|Light}}
| darkness = {{Darkness}}{{Property|Darkness}}
| darkness = {{Darkness}}{{Property|Darkness}}
}}{{#switch:{{lc:{{{2|}}}}}|a|b|c =<nowiki/> {{ht|Skillchain Priority|({{uc:{{{2}}})}}}}}}
}}<!--
 
Optional Adding Skillchain Priority
-->{{#switch:{{lc:{{{2|}}}}}|a|b|c = <nowiki/> {{ht|Skillchain Priority|({{uc:{{{2}}})}}}}}}<!--
 
-->
|-
|-
|style="{{#switch:{{lc:{{{1}}}}}|light|darkness|fusion|fragmentation|gravitation|distortion = |#default=display:none;}}"|
<!--
 
Level 3 Skillchain Box. Hide box if skillchain doesn't take part in Level 3
-->
| style="{{#switch:{{lc:{{{1}}}}}|light|darkness|fusion|fragmentation|gravitation|distortion = |#default=display:none;}}"|
{|width="100%" cellspacing="3" style="border: solid 1px #CC7700; background:#FFEEDD;"
{|width="100%" cellspacing="3" style="border: solid 1px #CC7700; background:#FFEEDD;"
!colspan="5"| Level 3 Skillchains
!colspan="5"| Level 3 Skillchains
Line 62: Line 77:
{{!}} [[File:Dark-square.gif]][[File:Earth-square.gif]][[File:Water-square.gif]][[File:Ice-square.gif]] [[:Category:Darkness|Darkness]]
{{!}} [[File:Dark-square.gif]][[File:Earth-square.gif]][[File:Water-square.gif]][[File:Ice-square.gif]] [[:Category:Darkness|Darkness]]
}}
}}
|}
|}<!--
 
-->
|-
|-
<!--
Level 2 Skillchain Box. Hide box if skillchain doesn't take part in Level 2
-->
|style="{{#switch:{{lc:{{{1}}}}}|liquefaction|impaction|distortion|fusion|induration|reverberation|gravitation|fragmentation|detonation|compression|transfixion|scission = |#default=display:none;}}"|
|style="{{#switch:{{lc:{{{1}}}}}|liquefaction|impaction|distortion|fusion|induration|reverberation|gravitation|fragmentation|detonation|compression|transfixion|scission = |#default=display:none;}}"|
{|width="100%" cellspacing="3" style="border: solid 1px #CC7700; background:#FFEEDD;"
{|width="100%" cellspacing="3" style="border: solid 1px #CC7700; background:#FFEEDD;"
Line 124: Line 145:
{{!}} [[File:Water-square.gif]][[File:Ice-square.gif]] [[:Category:Distortion|Distortion]]
{{!}} [[File:Water-square.gif]][[File:Ice-square.gif]] [[:Category:Distortion|Distortion]]
}}
}}
|}
|}<!--
 
-->
|-
|-
<!--
Level 1 Skillchain Box. Hide box if skillchain doesn't take part in Level 1
-->
|style="{{#switch:{{lc:{{{1}}}}}|impaction|liquefaction|scission|reverberation|detonation|compression|transfixion|induration = |#default=display:none;}}"|
|style="{{#switch:{{lc:{{{1}}}}}|impaction|liquefaction|scission|reverberation|detonation|compression|transfixion|induration = |#default=display:none;}}"|
{|width="100%" cellspacing="3" style="border: solid 1px #CC7700; background:#FFEEDD;"
{|width="100%" cellspacing="3" style="border: solid 1px #CC7700; background:#FFEEDD;"
Line 235: Line 262:
{{!}} =
{{!}} =
{{!}} [[File:Light-square.gif]] [[:Category:Transfixion|Transfixion]]
{{!}} [[File:Light-square.gif]] [[:Category:Transfixion|Transfixion]]
}}
}}<!--
|}
 
end of colored box
-->
|}<!--
 
end of invisible wrapper table
-->
|}
|}
<noinclude>
<noinclude>
Line 265: Line 298:
| <pre>{{Skillchain|Transfixion|A}}</pre>
| <pre>{{Skillchain|Transfixion|A}}</pre>
| {{Skillchain|Transfixion|A}}
| {{Skillchain|Transfixion|A}}
|-
| <pre>{{Skillchain|Distortion|A}}</pre>
| {{Skillchain|Distortion|A}}
|}
|}
</noinclude>
</noinclude>

Revision as of 12:09, 22 November 2023

Level 3 Skillchains
Level 2 Skillchains
Level 1 Skillchains

Usage

{{Skillchain|<skillchain property>|<skillchain priority>}}
  • Displays a table of all skillchains that can be produced by opening or closing with the given skillchain property and categorizes the page into the skillchain property's category. The skillchain priority value is optional.
  • width: optional value to specify a specific width for the table.

Examples

Code Result
{{Skillchain|Impaction}}
Impaction-Icon.gifIm­pac­tion
Level 3 Skillchains
Level 2 Skillchains
Invisible-square.gifFire-square.gif Liquefaction Invisible-square.gifLightning-square.gif Impaction = Light-square.gifFire-square.gif Fusion
Level 1 Skillchains
Lightning-square.gif Impaction Fire-square.gif Liquefaction = Fire-square.gif Liquefaction
Water-square.gif Reverberation Lightning-square.gif Impaction = Lightning-square.gif Impaction
Ice-square.gif Induration Lightning-square.gif Impaction = Lightning-square.gif Impaction
Lightning-square.gif Impaction Wind-square.gif Detonation = Wind-square.gif Detonation
{{Skillchain|Gravitation}}
Gravitation-Icon.gifGra­vi­ta­tion
Level 3 Skillchains
Dark-square.gifEarth-square.gif Gravitation Water-square.gifIce-square.gif Distortion = Dark-square.gifEarth-square.gifWater-square.gifIce-square.gif Darkness
Water-square.gifIce-square.gif Distortion Dark-square.gifEarth-square.gif Gravitation = Dark-square.gifEarth-square.gifWater-square.gifIce-square.gif Darkness
Level 2 Skillchains
Dark-square.gifEarth-square.gif Gravitation Lightning-square.gifWind-square.gif Fragmentation = Lightning-square.gifWind-square.gif Fragmentation
Light-square.gifFire-square.gif Fusion Dark-square.gifEarth-square.gif Gravitation = Dark-square.gifEarth-square.gif Gravitation
Level 1 Skillchains
{{Skillchain|Light}}
Light-Icon.gifLight
Level 3 Skillchains
Light-square.gifFire-square.gifLightning-square.gifWind-square.gif Light Light-square.gifFire-square.gifLightning-square.gifWind-square.gif Light = Light-square.gifFire-square.gifLightning-square.gifWind-square.gif Light
Level 2 Skillchains
Level 1 Skillchains
{{Skillchain|Light|width="100%"}}
Light-Icon.gifLight
Level 3 Skillchains
Light-square.gifFire-square.gifLightning-square.gifWind-square.gif Light Light-square.gifFire-square.gifLightning-square.gifWind-square.gif Light = Light-square.gifFire-square.gifLightning-square.gifWind-square.gif Light
Level 2 Skillchains
Level 1 Skillchains
{{Skillchain|Transfixion|A}}
Transfixion-Icon.gifTrans­fixion (A)
Level 3 Skillchains
Level 2 Skillchains
Invisible-square.gifLight-square.gif Transfixion Invisible-square.gifEarth-square.gif Scission = Water-square.gifIce-square.gif Distortion
Level 1 Skillchains
Light-square.gif Transfixion Water-square.gif Reverberation = Water-square.gif Reverberation
Light-square.gif Transfixion Dark-square.gif Compression = Dark-square.gif Compression
Dark-square.gif Compression Light-square.gif Transfixion = Light-square.gif Transfixion
{{Skillchain|Distortion|A}}
Distortion-Icon.gifDis­tor­tion (A)
Level 3 Skillchains
Dark-square.gifEarth-square.gif Gravitation Water-square.gifIce-square.gif Distortion = Dark-square.gifEarth-square.gifWater-square.gifIce-square.gif Darkness
Water-square.gifIce-square.gif Distortion Dark-square.gifEarth-square.gif Gravitation = Dark-square.gifEarth-square.gifWater-square.gifIce-square.gif Darkness
Level 2 Skillchains
Water-square.gifIce-square.gif Distortion Light-square.gifFire-square.gif Fusion = Light-square.gifFire-square.gif Fusion
Lightning-square.gifWind-square.gif Fragmentation Water-square.gifIce-square.gif Distortion = Water-square.gifIce-square.gif Distortion
Level 1 Skillchains