Template:Lightning: Difference between revisions
From HorizonXI Wiki
No edit summary Tag: visualeditor-wikitext |
(reworked to use color template and correct icon) |
||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | <includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | ||
| | | crystal = [[Lightning Crystal|{{Color|lightning|Lightning Crystal}}]] | ||
| | | cluster = [[Lightning Cluster|{{Color|lightning|Lightning Cluster}}]] | ||
| | | hq | plasma = [[Plasma Crystal|{{Color|lightning|Plasma Crystal}}]] | ||
| | | analysis | bolt = [[Bolt Crystal|{{Color|lightning|Bolt Crystal}}]] | ||
| | | element = [[Lightning|{{Color|lightning|Lightning}}]] | ||
| #default = | | icon = [[File:LightningIcon.png|link=Lightning|Lightning]] | ||
| #default = {{Color|lightning|{{{1|Lightning}}}}} | |||
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]] | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Lightning|text}} | {{Lightning|text}} | ||
</pre> | </pre> | ||
* | *<nowiki>{{Lightning|Crystal}}</nowiki> results in "{{Lightning|Crystal}}". | ||
* | *<nowiki>{{Lightning|Cluster}}</nowiki> results in "{{Lightning|Cluster}}". | ||
* | *<nowiki>{{Lightning|HQ}}</nowiki> or <nowiki>{{Lightning|Plasma}</nowiki> results in "{{Lightning|HQ}}". | ||
* | *<nowiki>{{Lightning|Analysis}}</nowiki> or <nowiki>{{Lightning|Bolt}}</nowiki> results in "{{Lightning|Analysis}}". | ||
* | *<nowiki>{{Lightning|Element}}</nowiki> results in "{{Lightning|Element}}". | ||
* | *<nowiki>{{Lightning|Icon}}</nowiki> results in "{{Lightning|Icon}}". | ||
*Inputting anything else, e.g. <nowiki>{{Lightning|bold, colored text}}</nowiki>, results in "{{Lightning|bold colored, text}}". |
Revision as of 14:48, 19 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 "".
- Inputting anything else, e.g. {{Lightning|bold, colored text}}, results in "bold colored, text".