Template:Property: Difference between revisions

From HorizonXI Wiki
(set default to display none since weapon skill templates don't fill properties if they dont have any)
m (also accept "Light (Skillchain)" the pagename for that article)
 
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=]]}}|}}<!--

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.