Template:Property: Difference between revisions

From HorizonXI Wiki
(added third parameter to toggle plain display)
m (fixed typo)
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=]]}}|}}<!--

Revision as of 23:06, 23 November 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 -Skillchain Property not recognized-.