Template:Lightning: Difference between revisions

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

Revision as of 00:53, 21 November 2023

Usage

{{Lightning|text}}
  • {{Lightning|Crystal}} results in "Lightning Crystal".
  • {{Lightning|Cluster}} results in "Lightning Cluster".
  • {{Lightning|HQ}} or {{Lightning|Plasma} results in "Plasma Crystal".
  • {{Lightning|Analysis}} or {{Lightning|Bolt}} results in "Bolt Crystal".
  • {{Lightning|Element}} results in "Lightning".
  • {{Lightning|Icon}} results in "Lightning".
  • {{Lightning|Resist}} or {{Lightning|Resistance}} results in "Resistance vs. Lightning".
  • Inputting anything else, e.g. {{Lightning|bold, colored text}}, results in "bold colored, text".