Template:Dark: Difference between revisions

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

Latest revision as of 20:31, 14 April 2024

Usage

{{Dark|text}}
  • {{Dark|Crystal}} results in "Dark Crystal".
  • {{Dark|Cluster}} results in "Dark Cluster".
  • {{Dark|HQ}} or {{Dark|Twilight} results in "Twilight Crystal".
  • {{Dark|Analysis}} or {{Dark|Shadow}} results in "Shadow Crystal".
  • {{Dark|Element}} results in "Dark".
  • {{Dark|Icon}} results in "Dark".
  • {{Dark|Resist}} or {{Dark|Resistance}} results in "Resistance vs. Dark".
  • {{Dark|Weather}} results in "Gloom".
  • {{Dark|Double Weather}} results in "MiasmaMiasma".
  • Inputting anything else, e.g. {{Dark|bold, colored text}}, results in "bold colored, text".