Template:Property: Difference between revisions

From HorizonXI Wiki
(included soft hyphens to break up long words when space is too small e.g. in tables)
(replaced hard coded font colors with color tempate which uses css classes. this caused the level 2 and level 3 chains to be darker because they had custom color values. Will evaluate how to deal with it.)
Line 1: Line 1:
{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{{1|}}}
| Crystal = [[Dark Crystal|<span class="dark-elemental-text">Dark Crystal</span>]]
| Crystal = [[Dark Crystal|<span class="dark-elemental-text">Dark Crystal</span>]]


| Transfixion = [[:Category:Transfixion |<font data-darkreader-inline-color="" color="#999999">'''Trans&shy;fixion'''</font>]]
| Transfixion = [[:Category:Transfixion|{{Color|light|Trans&shy;fixion}}]]
| Compression = [[:Category:Compression |<font data-darkreader-inline-color="" color="#696969">'''Com&shy;pres&shy;sion'''</font>]]
| Compression = [[:Category:Compression|{{Color|dark|Com&shy;pres&shy;sion}}]]
| Liquefaction = [[:Category:Liquefaction|<font data-darkreader-inline-color="" color="red">'''Li&shy;que&shy;fac&shy;tion'''</font>]]
| Liquefaction = [[:Category:Liquefaction|{{Color|fire|Li&shy;que&shy;fac&shy;tion}}]]
| Scission = [[:Category:Scission|<font data-darkreader-inline-color="" color="#cc9900">'''Scis&shy;sion'''</font>]]
| Scission = [[:Category:Scission|{{Color|earth|Scis&shy;sion}}]]
| Reverberation = [[:Category:Reverberation|<font data-darkreader-inline-color="" color="blue">'''Rever&shy;be&shy;ra&shy;tion'''</font>]]
| Reverberation = [[:Category:Reverberation|{{Color|water|Rever&shy;be&shy;ra&shy;tion}}]]
| Detonation = [[:Category:Detonation |<font data-darkreader-inline-color="" color="green">'''De&shy;to&shy;na&shy;tion'''</font>]]
| Detonation = [[:Category:Detonation|{{Color|wind|De&shy;to&shy;na&shy;tion}}]]
| Induration = [[:Category:Induration |<font data-darkreader-inline-color="" color="#33CCFF">'''In&shy;du&shy;ra&shy;tion'''</font>]]
| Induration = [[:Category:Induration|{{Color|ice|In&shy;du&shy;ra&shy;tion}}]]
| Impaction = [[:Category:Impaction|<font data-darkreader-inline-color="" color="purple">'''Im&shy;pac&shy;tion'''</font>]]
| Impaction = [[:Category:Impaction|{{Color|lightning|Im&shy;pac&shy;tion}}]]
 
| Gravitation = [[:Category:Gravitation|{{Color|dark|Gra&shy;vi&shy;}}{{Color|earth|ta&shy;tion}}]]
| Distortion = [[:Category:Distortion|{{Color|water|Dis&shy;to}}{{Color|ice|r&shy;tion}}]]
| Fusion = [[:Category:Fusion|{{Color|light|Fu&shy;s}}{{Color|fire|ion}}]]
| Fragmentation = [[:Category:Fragmentation|{{Color|lightning|Frag&shy;me}}{{Color|wind|n&shy;ta&shy;tion}}]]
| Light = [[:Category:Light_(Skillchain)|{{Color|fire|Li}}{{Color|wind|g}}{{Color|lightning|h}}{{Color|light|t}}]]
| Darkness = [[:Category:Darkness|{{Color|ice|Da}}{{Color|water|rk&shy;}}{{Color|earth|ne}}{{Color|dark|ss}}]]
<!-- old colors for level 2 and 3 deviated from level 1. also transfixion: #999999 and compression: #696969 -->
<!--
| Gravitation = [[:Category:Gravitation|<font data-darkreader-inline-color="" color="#333333">'''Gra&shy;vi&shy;'''</font><font data-darkreader-inline-color="" color="#CCCC00">'''ta&shy;tion'''</font>]]
| Gravitation = [[:Category:Gravitation|<font data-darkreader-inline-color="" color="#333333">'''Gra&shy;vi&shy;'''</font><font data-darkreader-inline-color="" color="#CCCC00">'''ta&shy;tion'''</font>]]
| Distortion = [[:Category:Distortion|<font data-darkreader-inline-color="" color="#0000CC">'''Dis&shy;to'''</font><font data-darkreader-inline-color="" color="#66FFFF">'''r&shy;tion'''</font>]]
| Distortion = [[:Category:Distortion|<font data-darkreader-inline-color="" color="#0000CC">'''Dis&shy;to'''</font><font data-darkreader-inline-color="" color="#66FFFF">'''r&shy;tion'''</font>]]
| Fusion = [[:Category:Fusion|<font data-darkreader-inline-color="" color="#999999">'''Fu&shy;s'''</font><font data-darkreader-inline-color="" color="red">'''ion'''</font>]]
| Fusion = [[:Category:Fusion|<font data-darkreader-inline-color="" color="#999999">'''Fu&shy;s'''</font><font data-darkreader-inline-color="" color="red">'''ion'''</font>]]
| Fragmentation = [[:Category:Fragmentation|<font data-darkreader-inline-color="" color="#FF33FF">'''Frag&shy;me'''</font><font data-darkreader-inline-color="" color="#33CC33">'''n&shy;ta&shy;tion'''</font>]]
| Fragmentation = [[:Category:Fragmentation|<font data-darkreader-inline-color="" color="#FF33FF">'''Frag&shy;me'''</font><font data-darkreader-inline-color="" color="#33CC33">'''n&shy;ta&shy;tion'''</font>]]
| Light = [[:Category:Light_(Skillchain)|<span class="light-elemental-text">'''Li'''</span><font data-darkreader-inline-color="" color="red">'''g'''</font><font data-darkreader-inline-color="" color="purple">'''h'''</font><font data-darkreader-inline-color="" color="green">'''t'''</font>]]
| Light = [[:Category:Light_(Skillchain)|<span class="light-elemental-text">'''Li'''</span><font data-darkreader-inline-color="" color="red">'''g'''</font><font data-darkreader-inline-color="" color="purple">'''h'''</font><font data-darkreader-inline-color="" color="green">'''t'''</font>]]
| Darkness = [[:Category:Darkness|<font data-darkreader-inline-color="" color="#008080">'''Da'''</font><font data-darkreader-inline-color="" color="blue">'''rk&shy;'''</font><font data-darkreader-inline-color="" color="#cc9900">'''ne'''</font><font data-darkreader-inline-color="" color="#696969">'''ss'''</font>]]
| Darkness = [[:Category:Darkness|<font data-darkreader-inline-color="" color="#008080">'''Da'''</font><font data-darkreader-inline-color="" color="blue">'''rk&shy;'''</font><font data-darkreader-inline-color="" color="#cc9900">'''ne'''</font><font data-darkreader-inline-color="" color="#696969">'''ss'''</font>]]
 
-->
| null =  
| null =  
| #default = '''{{{1|Property}}}'''
| #default = '''{{{1|Property}}}'''
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>

Revision as of 02:34, 17 November 2023

Usage

{{Property|text}}
  • Displays Light if "Light" is defined.
  • Displays Dark­ness if "Darkness" is defined.
  • Displays if "null" is defined.
  • Displays - if anything else is defined.