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
 
No edit summary
Tag: visualeditor-wikitext
Line 10: Line 10:
{{Dark|text}}
{{Dark|text}}
</pre>
</pre>
*Displays "[[Dark Crystal|<span class="dark-elemental-text">'''Dark Crystal'''</span>]]" if "Crystal" is defined.
*Displays "[[Dark Crystal|<font color="black"><span class="dark-elemental-text">'''Dark Crystal'''</span>]]" if "Crystal" is defined.
*Displays "[[Twilight Crystal|<span class="dark-elemental-text">'''Twilight Crystal'''</span>]]" if "HQ" is defined.
*Displays "[[Twilight Crystal|<font color="black"><span class="dark-elemental-text">'''Twilight Crystal'''</span>]]" if "HQ" is defined.
*Displays "[[Shadow Crystal|<span class="dark-elemental-text">'''Shadow Crystal'''</span>]]" if "Analysis" is defined.
*Displays "[[Shadow Crystal|<font color="black"><span class="dark-elemental-text">'''Shadow Crystal'''</span>]]" if "Analysis" is defined.
*Displays "[[Dark|<span class="dark-elemental-text">'''Dark'''</span>]]" if "Element" is defined.
*Displays "[[Dark|<font color="black"><span class="dark-elemental-text">'''Dark'''</span>]]" if "Element" is defined.
*Displays "[[File:DarkIcon.png|Dark]]" if "Icon" is defined.
*Displays "[[File:DarkIcon.png|Dark]]" if "Icon" is defined.
*Displays <span class="dark-elemental-text">'''bold, colored text'''</span> if anything else is defined ("Dark" is the default text).
*Displays <font color="black"><span class="dark-elemental-text">'''bold, colored text'''</span> if anything else is defined ("Dark" is the default text).
</noinclude>
</noinclude>

Revision as of 00:08, 19 August 2022

Dark

Usage

{{Dark|text}}
  • Displays "Dark Crystal" if "Crystal" is defined.
  • Displays "Twilight Crystal" if "HQ" is defined.
  • Displays "Shadow Crystal" if "Analysis" is defined.
  • Displays "Dark" if "Element" is defined.
  • Displays "Dark" if "Icon" is defined.
  • Displays bold, colored text if anything else is defined ("Dark" is the default text).