Template:Property: Difference between revisions

From HorizonXI Wiki
(added optional icon in front; removed crystal; made documentation clearer; made input parameter case insensitive; links to page with redirect instead of category page; warning as fallback for false input instead of bold text)
m (made icons unclickable and display name on hover)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Transfixion-Icon.gif]]|}}[[Transfixion|{{Color|light|Trans&shy;fixion}}]]
| transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Transfixion-Icon.gif|Transfixion|link=]]|}}[[Transfixion|{{Color|light|Trans&shy;fixion}}]]
| compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Compression-Icon.gif]]|}}[[Compression|{{Color|dark|Com&shy;pres&shy;sion}}]]
| compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Compression-Icon.gif|Compression|link=]]|}}[[Compression|{{Color|dark|Com&shy;pres&shy;sion}}]]
| liquefaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Liquefaction-Icon.gif]]|}}[[Liquefaction|{{Color|fire|Li&shy;que&shy;fac&shy;tion}}]]
| liquefaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Liquefaction-Icon.gif|Liquefaction|link=]]|}}[[Liquefaction|{{Color|fire|Li&shy;que&shy;fac&shy;tion}}]]
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Scission-Icon.gif]]|}}[[Scission|{{Color|earth|Scis&shy;sion}}]]
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Scission-Icon.gif|Scission|link=]]|}}[[Scission|{{Color|earth|Scis&shy;sion}}]]
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Reverberation-Icon.gif]]|}}[[Reverberation|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}]]
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Reverberation-Icon.gif|Reverberation|link=]]|}}[[Reverberation|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}]]
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Detonation-Icon.gif]]|}}[[Detonation|{{Color|wind|De&shy;to&shy;na&shy;tion}}]]
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Detonation-Icon.gif|Detonation|link=]]|}}[[Detonation|{{Color|wind|De&shy;to&shy;na&shy;tion}}]]
| induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Induration-Icon.gif]]|}}[[Induration|{{Color|ice|In&shy;du&shy;ra&shy;tion}}]]
| induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Induration-Icon.gif|Induration|link=]]|}}[[Induration|{{Color|ice|In&shy;du&shy;ra&shy;tion}}]]
| impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Impaction-Icon.gif]]|}}[[Impaction|{{Color|lightning|Im&shy;pac&shy;tion}}]]
| impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Impaction-Icon.gif|Impaction|link=]]|}}[[Impaction|{{Color|lightning|Im&shy;pac&shy;tion}}]]
| gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Gravitation-Icon.gif]]|}}[[Gravitation|{{Color|dark|Gra&shy;vi&shy;}}{{Color|earth|ta&shy;tion}}]]
| gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Gravitation-Icon.gif|Gravitation|link=]]|}}[[Gravitation|{{Color|dark|Gra&shy;vi&shy;}}{{Color|earth|ta&shy;tion}}]]
| distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Distortion-Icon.gif]]|}}[[Distortion|{{Color|water|Dis&shy;to}}{{Color|ice|r&shy;tion}}]]
| distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Distortion-Icon.gif|Distortion|link=]]|}}[[Distortion|{{Color|water|Dis&shy;to}}{{Color|ice|r&shy;tion}}]]
| fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fusion-Icon.gif]]|}}[[Fusion|{{Color|light|Fu&shy;s}}{{Color|fire|ion}}]]
| fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fusion-Icon.gif|Fusion|link=]]|}}[[Fusion|{{Color|light|Fu&shy;s}}{{Color|fire|ion}}]]
| fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fragmentation-Icon.gif]]|}}[[Fragmentation|{{Color|lightning|Frag&shy;me}}{{Color|wind|n&shy;ta&shy;tion}}]]
| fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fragmentation-Icon.gif|Fragmentation|link=]]|}}[[Fragmentation|{{Color|lightning|Frag&shy;me}}{{Color|wind|n&shy;ta&shy;tion}}]]
| light = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Light-Icon.gif]]|}}[[Light_(Skillchain)|{{Color|fire|Li}}{{Color|wind|g}}{{Color|lightning|h}}{{Color|light|t}}]]
| light = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Light-Icon.gif|Light|link=]]|}}[[Light_(Skillchain)|{{Color|fire|Li}}{{Color|wind|g}}{{Color|lightning|h}}{{Color|light|t}}]]
| darkness = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Dark-Icon.gif]]|}}[[Darkness|{{Color|ice|Da}}{{Color|water|rk&shy;}}{{Color|earth|ne}}{{Color|dark|ss}}]]
| darkness = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Dark-Icon.gif|Darkness|link=]]|}}[[Darkness|{{Color|ice|Da}}{{Color|water|rk&shy;}}{{Color|earth|ne}}{{Color|dark|ss}}]]
<!-- old colors for level 2 and 3 deviated from level 1. also transfixion: #999999 and compression: #696969 -->
<!-- old colors for level 2 and 3 deviated from level 1. also transfixion: #999999 and compression: #696969 -->
<!--
<!--

Revision as of 12:55, 22 November 2023

Usage

{{Property|text|icon}}
  • Note: Use without the second parameter to display the text without the icon in front.