Template:Property: Difference between revisions

From HorizonXI Wiki
m (added none to evaluate as none)
m (also accept "Light (Skillchain)" the pagename for that article)
 
(One intermediate revision by one other user not shown)
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 =  
| none = ''None''
| #default = ''None''
| #default = <span style="color: red">-Skillchain Property not recognized-</span>
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
Line 82: Line 81:
===Others===
===Others===
*<nowiki>{{Property|null}}</nowiki> results in  {{Property|null}}.
*<nowiki>{{Property|null}}</nowiki> results in  {{Property|null}}.
*<nowiki>{{Property|none}}</nowiki> results in  {{Property|none}}.
*<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 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.