Template:Dark: Difference between revisions

From HorizonXI Wiki
(reworked to use color template and correct icon)
m (added resist)
Line 6: Line 6:
| element = [[Dark|{{Color|dark|Dark}}]]
| element = [[Dark|{{Color|dark|Dark}}]]
| icon = [[File:DarkIcon.png|link=Dark|Dark]]
| icon = [[File:DarkIcon.png|link=Dark|Dark]]
| resist | resistance = [[File:DarkIcon.png|Resistance vs. Dark|link=]]
| #default = {{Color|dark|{{{1|Dark}}}}}
| #default = {{Color|dark|{{{1|Dark}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
Line 18: Line 19:
*<nowiki>{{Dark|Element}}</nowiki> results in "{{Dark|Element}}".
*<nowiki>{{Dark|Element}}</nowiki> results in "{{Dark|Element}}".
*<nowiki>{{Dark|Icon}}</nowiki> results in "{{Dark|Icon}}".
*<nowiki>{{Dark|Icon}}</nowiki> results in "{{Dark|Icon}}".
*<nowiki>{{Dark|Resist}}</nowiki> or <nowiki>{{Dark|Resistance}}</nowiki> results in "{{Dark|Resist}}".
*Inputting anything else, e.g. <nowiki>{{Dark|bold, colored text}}</nowiki>, results in "{{Dark|bold colored, text}}".
*Inputting anything else, e.g. <nowiki>{{Dark|bold, colored text}}</nowiki>, results in "{{Dark|bold colored, text}}".

Revision as of 00:54, 21 November 2023

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".
  • Inputting anything else, e.g. {{Dark|bold, colored text}}, results in "bold colored, text".