Template:Skillchain: Difference between revisions
From HorizonXI Wiki
m (skillchain header now using property template to display icons) |
(reworked code to make it cleaner and used property template to display skillchain names with icons) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude> | |||
{|<!-- | {|<!-- | ||
Line 25: | Line 26: | ||
Optional Adding Skillchain Priority | Optional Adding Skillchain Priority | ||
-->{{#switch:{{lc:{{{2|}}}}}|a|b|c = <nowiki/> {{ht|Skillchain Priority|({{uc:{{{2}}})}}}}}}<!-- | -->{{#switch:{{lc:{{{2|}}}}}|a|b|c = <nowiki/> {{ht|Skillchain Priority|({{uc:{{{2}}})}}}}}}<!-- | ||
Level 3 Skillchain Box. Hide box if skillchain doesn't take part in Level 3 | Level 3 Skillchain Box. Hide box if skillchain doesn't take part in Level 3 | ||
--> | --> | ||
| | |- {{#switch:{{lc:{{{1}}}}} | ||
| light | darkness | fusion | fragmentation | gravitation | distortion = | |||
| #default = style="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 | ||
|- | |- | ||
{{#if:{{#ifeq:{{lc:{{{1}}}}}|light|1}}|<nowiki/> | {{#if:{{#ifeq:{{lc:{{{1}}}}}|light|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Light|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Light|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Light|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|fusion|1}}{{#ifeq:{{lc:{{{1}}}}}|fragmentation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|fusion|1}}{{#ifeq:{{lc:{{{1}}}}}|fragmentation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Fusion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Fragmentation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Light|icon|plain}} | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Fragmentation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Fusion|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Light|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|darkness|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|darkness|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Darkness|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Darkness|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Darkness|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|gravitation|1}}{{#ifeq:{{lc:{{{1}}}}}|distortion|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|gravitation|1}}{{#ifeq:{{lc:{{{1}}}}}|distortion|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Gravitation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Distortion|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Darkness|icon|plain}} | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Distortion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Gravitation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Darkness|icon|plain}} | ||
}} | }} | ||
|}<!-- | |}<!-- | ||
Level 2 Skillchain Box. Hide box if skillchain doesn't take part in Level 2 | Level 2 Skillchain Box. Hide box if skillchain doesn't take part in Level 2 | ||
--> | --> | ||
| | |- {{#switch:{{lc:{{{1}}}}} | ||
| liquefaction | impaction | distortion | fusion | induration | reverberation | gravitation | fragmentation | detonation | compression | transfixion | scission = | |||
| #default = style="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 2 Skillchains | ! colspan="5" | Level 2 Skillchains | ||
|- | |- | ||
{{#if:{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}|<nowiki/> | {{#if:{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}|<nowiki/> | ||
{{!}} | {{!}} {{Property|Liquefaction|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Fusion|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|distortion|1}}{{#ifeq:{{lc:{{{1}}}}}|fusion|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|distortion|1}}{{#ifeq:{{lc:{{{1}}}}}|fusion|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Distortion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Fusion|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Fusion|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|induration|1}}{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|induration|1}}{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Induration|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Fragmentation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|gravitation|1}}{{#ifeq:{{lc:{{{1}}}}}|fragmentation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|gravitation|1}}{{#ifeq:{{lc:{{{1}}}}}|fragmentation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Gravitation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Fragmentation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Fragmentation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}{{#ifeq:{{lc:{{{1}}}}}|compression|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}{{#ifeq:{{lc:{{{1}}}}}|compression|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Gravitation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|fusion|1}}{{#ifeq:{{lc:{{{1}}}}}|gravitation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|fusion|1}}{{#ifeq:{{lc:{{{1}}}}}|gravitation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Fusion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Gravitation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Gravitation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}{{#ifeq:{{lc:{{{1}}}}}|scission|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}{{#ifeq:{{lc:{{{1}}}}}|scission|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Transfixion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Distortion|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|fragmentation|1}}{{#ifeq:{{lc:{{{1}}}}}|distortion|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|fragmentation|1}}{{#ifeq:{{lc:{{{1}}}}}|distortion|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Fragmentation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Distortion|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Distortion|icon|plain}} | ||
}} | }} | ||
|}<!-- | |}<!-- | ||
Level 1 Skillchain Box. Hide box if skillchain doesn't take part in Level 1 | Level 1 Skillchain Box. Hide box if skillchain doesn't take part in Level 1 | ||
--> | --> | ||
| | |- {{#switch:{{lc:{{{1}}}}} | ||
| impaction | liquefaction | scission | reverberation | detonation | compression | transfixion | induration = | |||
| #default = style="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 1 Skillchains | ! colspan="5" | Level 1 Skillchains | ||
|- | |- | ||
{{#if:{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}|<nowiki/> | {{#if:{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Liquefaction|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Liquefaction|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|scission|1}}{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|scission|1}}{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Liquefaction|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Liquefaction|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|induration|1}}{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|induration|1}}{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Induration|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|impaction|1}}{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Impaction|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|compression|1}}{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|compression|1}}{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|scission|1}}{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|scission|1}}{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}{{#ifeq:{{lc:{{{1}}}}}|scission|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|liquefaction|1}}{{#ifeq:{{lc:{{{1}}}}}|scission|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Liquefaction|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}{{#ifeq:{{lc:{{{1}}}}}|scission|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|detonation|1}}{{#ifeq:{{lc:{{{1}}}}}|scission|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Detonation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Transfixion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|scission|1}}{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|scission|1}}{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Scission|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}{{#ifeq:{{lc:{{{1}}}}}|induration|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|reverberation|1}}{{#ifeq:{{lc:{{{1}}}}}|induration|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Reverberation|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Induration|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Induration|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|induration|1}}{{#ifeq:{{lc:{{{1}}}}}|compression|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|induration|1}}{{#ifeq:{{lc:{{{1}}}}}|compression|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Induration|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}{{#ifeq:{{lc:{{{1}}}}}|compression|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}{{#ifeq:{{lc:{{{1}}}}}|compression|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Transfixion|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
}}{{#if:{{#ifeq:{{lc:{{{1}}}}}|compression|1}}{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}|<nowiki/> | }}{{#if:{{#ifeq:{{lc:{{{1}}}}}|compression|1}}{{#ifeq:{{lc:{{{1}}}}}|transfixion|1}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} {{Property|Compression|icon|plain}} | ||
{{!}} → | {{!}} → | ||
{{!}} | {{!}} {{Property|Transfixion|icon|plain}} | ||
{{!}} = | {{!}} = | ||
{{!}} | {{!}} {{Property|Transfixion|icon|plain}} | ||
}}<!-- | }}<!-- | ||
Line 270: | Line 271: | ||
end of invisible wrapper table | end of invisible wrapper table | ||
--> | --> | ||
|} | |}</onlyinclude></includeonly> | ||
< | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
==Usage== | ==Usage== | ||
Line 301: | Line 301: | ||
| <pre>{{Skillchain|Distortion|A}}</pre> | | <pre>{{Skillchain|Distortion|A}}</pre> | ||
| {{Skillchain|Distortion|A}} | | {{Skillchain|Distortion|A}} | ||
|- | |||
| <pre>{{Skillchain|Fusion|A}}</pre> | |||
| {{Skillchain|Fusion|A}} | |||
|- | |||
| <pre>{{Skillchain|Fragmentation|A}}</pre> | |||
| {{Skillchain|Fragmentation|A}} | |||
|} | |} | ||
Revision as of 23:04, 22 November 2023
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.