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| | | crystal = [[Light Crystal|{{Color|light|Light Crystal}}]] | ||
| | | cluster = [[Light Cluster|{{Color|light|Light Cluster}}]] | ||
| #default = | | hq | aurora = [[Aurora Crystal|{{Color|light|Aurora Crystal}}]] | ||
| 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> | ||
* | *<nowiki>{{Light|Crystal}}</nowiki> results in "{{Light|Crystal}}". | ||
* | *<nowiki>{{Light|Cluster}}</nowiki> results in "{{Light|Cluster}}". | ||
* | *<nowiki>{{Light|HQ}}</nowiki> or <nowiki>{{Light|Aurora}</nowiki> results in "{{Light|HQ}}". | ||
* | *<nowiki>{{Light|Analysis}}</nowiki> or <nowiki>{{Light|Glimmer}}</nowiki> results in "{{Light|Analysis}}". | ||
*<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|Resist}} or {{Light|Resistance}} results in "".
- {{Light|Weather}} results in "".
- {{Light|Double Weather}} results in "".
- Inputting anything else, e.g. {{Light|bold, colored text}}, results in "bold colored, text".