Template:Property: Difference between revisions

From HorizonXI Wiki
m (made icons unclickable and display name on hover)
(set default to display none since weapon skill templates don't fill properties if they dont have any)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Transfixion-Icon.gif|Transfixion|link=]]|}}[[Transfixion|{{Color|light|Trans&shy;fixion}}]]
| transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Light-square.gif|Light Element|link=]]&nbsp;|[[File:Transfixion-Icon.gif|Light Element|link=]]}}|}}<!--
| compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Compression-Icon.gif|Compression|link=]]|}}[[Compression|{{Color|dark|Com&shy;pres&shy;sion}}]]
-->[[Transfixion|{{#ifeq:{{{3|}}}|plain|Trans&shy;fixion|{{Color|light|Trans&shy;fixion}}}}]]
| liquefaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Liquefaction-Icon.gif|Liquefaction|link=]]|}}[[Liquefaction|{{Color|fire|Li&shy;que&shy;fac&shy;tion}}]]
| compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Dark-square.gif|Dark Element|link=]]&nbsp;|[[File:Compression-Icon.gif|Dark Element|link=]]}}|}}<!--
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Scission-Icon.gif|Scission|link=]]|}}[[Scission|{{Color|earth|Scis&shy;sion}}]]
-->[[Compression|{{#ifeq:{{{3|}}}|plain|Com&shy;pres&shy;sion|{{Color|dark|Com&shy;pres&shy;sion}}}}]]
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Reverberation-Icon.gif|Reverberation|link=]]|}}[[Reverberation|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}]]
| liquefaction ={{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Fire-square.gif|Fire Element|link=]]&nbsp;|[[File:Liquefaction-Icon.gif|Fire Element|link=]]}}|}}<!--
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Detonation-Icon.gif|Detonation|link=]]|}}[[Detonation|{{Color|wind|De&shy;to&shy;na&shy;tion}}]]
-->[[Liquefaction|{{#ifeq:{{{3|}}}|plain|Li&shy;que&shy;fac&shy;tion|{{Color|fire|Li&shy;que&shy;fac&shy;tion}}}}]]
| induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Induration-Icon.gif|Induration|link=]]|}}[[Induration|{{Color|ice|In&shy;du&shy;ra&shy;tion}}]]
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Earth-square.gif|Earth Element|link=]]&nbsp;|[[File:Scission-Icon.gif|Earth Element|link=]]}}|}}<!--
| impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Impaction-Icon.gif|Impaction|link=]]|}}[[Impaction|{{Color|lightning|Im&shy;pac&shy;tion}}]]
-->[[Scission|{{#ifeq:{{{3|}}}|plain|Scis&shy;sion|{{Color|earth|Scis&shy;sion}}}}]]
| gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Gravitation-Icon.gif|Gravitation|link=]]|}}[[Gravitation|{{Color|dark|Gra&shy;vi&shy;}}{{Color|earth|ta&shy;tion}}]]
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif|Water Element|link=]]&nbsp;|[[File:Reverberation-Icon.gif|Water Element|link=]]}}|}}<!--
| distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Distortion-Icon.gif|Distortion|link=]]|}}[[Distortion|{{Color|water|Dis&shy;to}}{{Color|ice|r&shy;tion}}]]
-->[[Reverberation|{{#ifeq:{{{3|}}}|plain|Rever&shy;be&shy;ra&shy;tion|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}}}]]
| fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fusion-Icon.gif|Fusion|link=]]|}}[[Fusion|{{Color|light|Fu&shy;s}}{{Color|fire|ion}}]]
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Wind-square.gif|Wind Element|link=]]&nbsp;|[[File:Detonation-Icon.gif|Wind Element|link=]]}}|}}<!--
| fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File:Fragmentation-Icon.gif|Fragmentation|link=]]|}}[[Fragmentation|{{Color|lightning|Frag&shy;me}}{{Color|wind|n&shy;ta&shy;tion}}]]
-->[[Detonation|{{#ifeq:{{{3|}}}|plain|De&shy;to&shy;na&shy;tion|{{Color|wind|De&shy;to&shy;na&shy;tion}}}}]]
| 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}}]]
| induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Ice-square.gif|Ice Element|link=]]&nbsp;|[[File:Induration-Icon.gif|Ice Element|link=]]}}|}}<!--
| 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}}]]
-->[[Induration|{{#ifeq:{{{3|}}}|plain|In&shy;du&shy;ra&shy;tion|{{Color|ice|In&shy;du&shy;ra&shy;tion}}}}]]
| impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Lightning-square.gif|Lightning Element|link=]]&nbsp;|[[File:Impaction-Icon.gif|Lightning Element|link=]]}}|}}<!--
-->[[Impaction|{{#ifeq:{{{3|}}}|plain|Im&shy;pac&shy;tion|{{Color|lightning|Im&shy;pac&shy;tion}}}}]]
| gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Dark-square.gif|Dark Element|link=]][[File:Earth-square.gif|Earth Element|link=]]&nbsp;|[[File:Gravitation-Icon.gif|Dark Element and Earth Element|link=]]}}|}}<!--
-->[[Gravitation|{{#ifeq:{{{3|}}}|plain|Gra&shy;vi&shy;ta&shy;tion|{{Color|dark|Gra&shy;vi&shy;}}{{Color|earth|ta&shy;tion}}}}]]
| distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif|Water Element|link=]][[File:Ice-square.gif|Ice Element|link=]]&nbsp;|[[File:Distortion-Icon.gif|Water Element and Ice Element|link=]]}}|}}<!--
-->[[Distortion|{{#ifeq:{{{3|}}}|plain|Dis&shy;tor&shy;tion|{{Color|water|Dis&shy;to}}{{Color|ice|r&shy;tion}}}}]]
| fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Light-square.gif|Light Element|link=]][[File:Fire-square.gif|Fire Element|link=]]&nbsp;|[[File:Fusion-Icon.gif|Light Element and Fire Element|link=]]}}|}}<!--
-->[[Fusion|{{#ifeq:{{{3|}}}|plain|Fu&shy;sion|{{Color|light|Fu&shy;s}}{{Color|fire|ion}}}}]]
| fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Lightning-square.gif|Lightning Element|link=]][[File:Wind-square.gif|Wind Element|link=]]&nbsp;|[[File:Fragmentation-Icon.gif|Lightning Element and Wind Element|link=]]}}|}}<!--
-->[[Fragmentation|{{#ifeq:{{{3|}}}|plain|Frag&shy;men&shy;ta&shy;tion|{{Color|lightning|Frag&shy;me}}{{Color|wind|n&shy;ta&shy;tion}}}}]]
| light = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Light-square.gif|Light Element|link=]][[File:Fire-square.gif|Fire Element|link=]][[File:Lightning-square.gif|Lightning Element|link=]][[File:Wind-square.gif|Wind Element|link=]]&nbsp;|[[File:Light-Icon.gif|Light, Fire, Lightning and Wind Elements|link=]]}}|}}<!--
-->[[Light_(Skillchain)|{{#ifeq:{{{3|}}}|plain|Light|{{Color|light|Li}}{{Color|fire|g}}{{Color|lightning|h}}{{Color|wind|t}}}}]]
| darkness = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Dark-square.gif|Dark Element|link=]][[File:Earth-square.gif|Earth Element|link=]][[File:Water-square.gif|Water Element|link=]][[File:Ice-square.gif|Ice Element|link=]]&nbsp;|[[File:Dark-Icon.gif|Dark, Earth, Water and Ice Elements|link=]]}}|}}<!--
-->[[Darkness|{{#ifeq:{{{3|}}}|plain|Dark&shy;ness|{{Color|dark|Da}}{{Color|earth|rk&shy;}}{{Color|water|ne}}{{Color|ice|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 -->
<!--
<!--
Line 24: Line 38:
-->
-->
| null =  
| null =  
| #default = <span style="color: red">-Skillchain Property not recognized-</span>
| #default = ''None''
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Property|text|icon}}
{{Property|<skillchain>|icon|plain}}
</pre>
</pre>


* '''Note:''' Use '''without''' the second parameter to display the text without the icon in front.  
* '''Note:''' Parameters ''icon'' and ''plain'' are optional. Use '''without''' the second parameter to display the text without the icon in front.  


===Examples with icon===
*<nowiki>{{Property|Transfixion|icon}}</nowiki> results in  {{Property|Transfixion|icon}}.
*<nowiki>{{Property|Transfixion|icon}}</nowiki> results in  {{Property|Transfixion|icon}}.
*<nowiki>{{Property|Compression|icon}}</nowiki> results in  {{Property|Compression|icon}}.
*<nowiki>{{Property|Compression|icon}}</nowiki> results in  {{Property|Compression|icon}}.
Line 47: Line 62:
*<nowiki>{{Property|Light|icon}}</nowiki> results in  {{Property|Light|icon}}.
*<nowiki>{{Property|Light|icon}}</nowiki> results in  {{Property|Light|icon}}.
*<nowiki>{{Property|Darkness|icon}}</nowiki> results in  {{Property|Darkness|icon}}.
*<nowiki>{{Property|Darkness|icon}}</nowiki> results in  {{Property|Darkness|icon}}.
===Examples with icon and plain===
*<nowiki>{{Property|Transfixion|icon|plain}}</nowiki> results in  {{Property|Transfixion|icon|plain}}.
*<nowiki>{{Property|Compression|icon|plain}}</nowiki> results in  {{Property|Compression|icon|plain}}.
*<nowiki>{{Property|Liquefaction|icon|plain}}</nowiki> results in  {{Property|Liquefaction|icon|plain}}.
*<nowiki>{{Property|Scission|icon|plain}}</nowiki> results in  {{Property|Scission|icon|plain}}.
*<nowiki>{{Property|Reverberation|icon|plain}}</nowiki> results in  {{Property|Reverberation|icon|plain}}.
*<nowiki>{{Property|Detonation|icon|plain}}</nowiki> results in  {{Property|Detonation|icon|plain}}.
*<nowiki>{{Property|Induration|icon|plain}}</nowiki> results in  {{Property|Induration|icon|plain}}.
*<nowiki>{{Property|Impaction|icon|plain}}</nowiki> results in  {{Property|Impaction|icon|plain}}.
*<nowiki>{{Property|Gravitation|icon|plain}}</nowiki> results in  {{Property|Gravitation|icon|plain}}.
*<nowiki>{{Property|Distortion|icon|plain}}</nowiki> results in  {{Property|Distortion|icon|plain}}.
*<nowiki>{{Property|Fusion|icon|plain}}</nowiki> results in  {{Property|Fusion|icon|plain}}.
*<nowiki>{{Property|Fragmentation|icon|plain}}</nowiki> results in  {{Property|Fragmentation|icon|plain}}.
*<nowiki>{{Property|Light|icon|plain}}</nowiki> results in  {{Property|Light|icon|plain}}.
*<nowiki>{{Property|Darkness|icon|plain}}</nowiki> results in  {{Property|Darkness|icon|plain}}.
===Others===
*<nowiki>{{Property|null}}</nowiki> results in  {{Property|null}}.
*<nowiki>{{Property|null}}</nowiki> results in  {{Property|null}}.
*<nowiki>{{Property|<anything else>}}</nowiki> results in  {{Property|<anything else>}}.
*<nowiki>{{Property|<anything else>}}</nowiki> results in  {{Property|<anything else>}}.
</noinclude>
</noinclude>

Latest revision as of 22:50, 4 December 2023

Usage

{{Property|<skillchain>|icon|plain}}
  • Note: Parameters icon and plain are optional. Use without the second parameter to display the text without the icon in front.

Examples with icon

Examples with icon and plain

Others

  • {{Property|null}} results in .
  • {{Property|<anything else>}} results in None.