Template:Light: Difference between revisions

From HorizonXI Wiki
(Created page with "{{#switch:{{{1|}}} | Crystal = <span class="light-elemental-text">'''Light Crystal'''</span> | Element = <span class="light-elemental-text">'''Light'''</span> | #default = <span class="light-elemental-text">'''{{{1|Light}}}'''</span> }}<noinclude>{{PAGENAME}} ==Usage== <pre> {{Light|text}} </pre> *Displays "<span class="light-elemental-text">'''Light Crystal'''</span>" if "Crystal" is defined. *Displays...")
Tag: visualeditor-wikitext
 
(added weather)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| Crystal = [[Light Crystal|<span class="light-elemental-text">'''Light Crystal'''</span>]]
| crystal = [[Light Crystal|{{Color|light|Light Crystal}}]]
| Element = [[Light|<span class="light-elemental-text">'''Light'''</span>]]
| cluster = [[Light Cluster|{{Color|light|Light Cluster}}]]
| #default = <span class="light-elemental-text">'''{{{1|Light}}}'''</span>
| hq | aurora = [[Aurora Crystal|{{Color|light|Aurora Crystal}}]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| analysis | glimmer = [[Glimmer Crystal|{{Color|light|Glimmer Crystal}}]]
| element = [[Light|{{Color|light|Light}}]]
| icon = [[File:LightIcon.png|link=Light|Light]]
| resist | resistance = [[File:LightIcon.png|Resistance vs. Light|link=]]
| weather = [[File:LightIcon.png|Auroras|link=Category:Weather]]
| double weather = [[File:LightIcon.png|Stellar Glare|link=Category:Weather]][[File:LightIcon.png|Stellar Glare|link=Category:Weather]]
| #default = {{Color|light|{{{1|Light}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Light|text}}
{{Light|text}}
</pre>
</pre>
*Displays "[[Light Crystal|<span class="light-elemental-text">'''Light Crystal'''</span>]]" if "Crystal" is defined.
*<nowiki>{{Light|Crystal}}</nowiki> results in "{{Light|Crystal}}".
*Displays "[[Light|<span class="light-elemental-text">'''Light'''</span>]]" if "Element" is defined.
*<nowiki>{{Light|Cluster}}</nowiki> results in "{{Light|Cluster}}".
*Displays "[[File:LightIcon.png|Light]]" if "Icon" is defined.
*<nowiki>{{Light|HQ}}</nowiki> or <nowiki>{{Light|Aurora}</nowiki> results in "{{Light|HQ}}".
*Displays <span class="light-elemental-text">'''bold, colored text'''</span> if anything else is defined ("Light" is the default text).
*<nowiki>{{Light|Analysis}}</nowiki> or <nowiki>{{Light|Glimmer}}</nowiki> results in "{{Light|Analysis}}".
</noinclude>
*<nowiki>{{Light|Element}}</nowiki> results in "{{Light|Element}}".
*<nowiki>{{Light|Icon}}</nowiki> results in "{{Light|Icon}}".
*<nowiki>{{Light|Resist}}</nowiki> or <nowiki>{{Light|Resistance}}</nowiki> results in "{{Light|Resist}}".
*<nowiki>{{Light|Weather}}</nowiki> results in "{{Light|Weather}}".
*<nowiki>{{Light|Double Weather}}</nowiki> results in "{{Light|Double Weather}}".
*Inputting anything else, e.g. <nowiki>{{Light|bold, colored text}}</nowiki>, results in "{{Light|bold colored, text}}".

Latest revision as of 20:31, 14 April 2024

Usage

{{Light|text}}
  • {{Light|Crystal}} results in "Light Crystal".
  • {{Light|Cluster}} results in "Light Cluster".
  • {{Light|HQ}} or {{Light|Aurora} results in "Aurora Crystal".
  • {{Light|Analysis}} or {{Light|Glimmer}} results in "Glimmer Crystal".
  • {{Light|Element}} results in "Light".
  • {{Light|Icon}} results in "Light".
  • {{Light|Resist}} or {{Light|Resistance}} results in "Resistance vs. Light".
  • {{Light|Weather}} results in "Auroras".
  • {{Light|Double Weather}} results in "Stellar GlareStellar Glare".
  • Inputting anything else, e.g. {{Light|bold, colored text}}, results in "bold colored, text".