Template:Property: Difference between revisions

From HorizonXI Wiki
(added third parameter to toggle plain display)
m (also accept "Light (Skillchain)" the pagename for that article)
 
(3 intermediate revisions by one other user not shown)
Line 8: Line 8:
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Earth-square.gif|Earth Element|link=]]&nbsp;|[[File:Scission-Icon.gif|Earth Element|link=]]}}|}}<!--
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Earth-square.gif|Earth Element|link=]]&nbsp;|[[File:Scission-Icon.gif|Earth Element|link=]]}}|}}<!--
-->[[Scission|{{#ifeq:{{{3|}}}|plain|Scis&shy;sion|{{Color|earth|Scis&shy;sion}}}}]]
-->[[Scission|{{#ifeq:{{{3|}}}|plain|Scis&shy;sion|{{Color|earth|Scis&shy;sion}}}}]]
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif|Earth Element|link=]]&nbsp;|[[File:Reverberation-Icon.gif|Earth Element|link=]]}}|}}<!--
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif|Water Element|link=]]&nbsp;|[[File:Reverberation-Icon.gif|Water Element|link=]]}}|}}<!--
-->[[Reverberation|{{#ifeq:{{{3|}}}|plain|Rever&shy;be&shy;ra&shy;tion|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}}}]]
-->[[Reverberation|{{#ifeq:{{{3|}}}|plain|Rever&shy;be&shy;ra&shy;tion|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}}}]]
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Wind-square.gif|Wind Element|link=]]&nbsp;|[[File:Detonation-Icon.gif|Wind Element|link=]]}}|}}<!--
| detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Wind-square.gif|Wind Element|link=]]&nbsp;|[[File:Detonation-Icon.gif|Wind Element|link=]]}}|}}<!--
Line 24: Line 24:
| 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:{{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}}}}]]
-->[[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 | light (skillchain) = {{#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}}}}]]
-->[[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:{{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=]]}}|}}<!--
Line 38: 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==

Latest revision as of 15:14, 7 September 2025

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.