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­fixion}}]] | | transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Transfixion-Icon.gif|Transfixion|link=]]|}}[[Transfixion|{{Color|light|Trans­fixion}}]] | ||
| compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Compression-Icon.gif]]|}}[[Compression|{{Color|dark|Com­pres­sion}}]] | | compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Compression-Icon.gif|Compression|link=]]|}}[[Compression|{{Color|dark|Com­pres­sion}}]] | ||
| liquefaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Liquefaction-Icon.gif]]|}}[[Liquefaction|{{Color|fire|Li­que­fac­tion}}]] | | liquefaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Liquefaction-Icon.gif|Liquefaction|link=]]|}}[[Liquefaction|{{Color|fire|Li­que­fac­tion}}]] | ||
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Scission-Icon.gif]]|}}[[Scission|{{Color|earth|Scis­sion}}]] | | scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Scission-Icon.gif|Scission|link=]]|}}[[Scission|{{Color|earth|Scis­sion}}]] | ||
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Reverberation-Icon.gif]]|}}[[Reverberation|{{Color|water|Rever­be­ra­tion}}]] | | reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Reverberation-Icon.gif|Reverberation|link=]]|}}[[Reverberation|{{Color|water|Rever­be­ra­tion}}]] | ||
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Detonation-Icon.gif]]|}}[[Detonation|{{Color|wind|De­to­na­tion}}]] | | detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Detonation-Icon.gif|Detonation|link=]]|}}[[Detonation|{{Color|wind|De­to­na­tion}}]] | ||
| induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Induration-Icon.gif]]|}}[[Induration|{{Color|ice|In­du­ra­tion}}]] | | induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Induration-Icon.gif|Induration|link=]]|}}[[Induration|{{Color|ice|In­du­ra­tion}}]] | ||
| impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Impaction-Icon.gif]]|}}[[Impaction|{{Color|lightning|Im­pac­tion}}]] | | impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Impaction-Icon.gif|Impaction|link=]]|}}[[Impaction|{{Color|lightning|Im­pac­tion}}]] | ||
| gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Gravitation-Icon.gif]]|}}[[Gravitation|{{Color|dark|Gra­vi­}}{{Color|earth|ta­tion}}]] | | gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Gravitation-Icon.gif|Gravitation|link=]]|}}[[Gravitation|{{Color|dark|Gra­vi­}}{{Color|earth|ta­tion}}]] | ||
| distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Distortion-Icon.gif]]|}}[[Distortion|{{Color|water|Dis­to}}{{Color|ice|r­tion}}]] | | distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Distortion-Icon.gif|Distortion|link=]]|}}[[Distortion|{{Color|water|Dis­to}}{{Color|ice|r­tion}}]] | ||
| fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fusion-Icon.gif]]|}}[[Fusion|{{Color|light|Fu­s}}{{Color|fire|ion}}]] | | fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fusion-Icon.gif|Fusion|link=]]|}}[[Fusion|{{Color|light|Fu­s}}{{Color|fire|ion}}]] | ||
| fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fragmentation-Icon.gif]]|}}[[Fragmentation|{{Color|lightning|Frag­me}}{{Color|wind|n­ta­tion}}]] | | fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fragmentation-Icon.gif|Fragmentation|link=]]|}}[[Fragmentation|{{Color|lightning|Frag­me}}{{Color|wind|n­ta­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­}}{{Color|earth|ne}}{{Color|dark|ss}}]] | | darkness = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Dark-Icon.gif|Darkness|link=]]|}}[[Darkness|{{Color|ice|Da}}{{Color|water|rk­}}{{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.
- {{Property|Transfixion|icon}} results in Transfixion.
- {{Property|Compression|icon}} results in Compression.
- {{Property|Liquefaction|icon}} results in Liquefaction.
- {{Property|Scission|icon}} results in Scission.
- {{Property|Reverberation|icon}} results in Reverberation.
- {{Property|Detonation|icon}} results in Detonation.
- {{Property|Induration|icon}} results in Induration.
- {{Property|Impaction|icon}} results in Impaction.
- {{Property|Gravitation|icon}} results in Gravitation.
- {{Property|Distortion|icon}} results in Distortion.
- {{Property|Fusion|icon}} results in Fusion.
- {{Property|Fragmentation|icon}} results in Fragmentation.
- {{Property|Light|icon}} results in Light.
- {{Property|Darkness|icon}} results in Darkness.
- {{Property|null}} results in .
- {{Property|<anything else>}} results in -Skillchain Property not recognized-.