Template:Lightning: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: visualeditor-wikitext
(added weather)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| Crystal = [[Lightning Crystal|<font color="purple">'''Lightning Crystal'''</font>]]
| crystal = [[Lightning Crystal|{{Color|lightning|Lightning Crystal}}]]
| HQ = [[Plasma Crystal|<font color="purple">'''Plasma Crystal'''</font>]]
| cluster = [[Lightning Cluster|{{Color|lightning|Lightning Cluster}}]]
| Analysis = [[Bolt Crystal|<font color="purple">'''Bolt Crystal'''</font>]]
| hq | plasma = [[Plasma Crystal|{{Color|lightning|Plasma Crystal}}]]
| Element = [[Lightning|<font color="purple">'''Lightning'''</font>]]
| analysis | bolt = [[Bolt Crystal|{{Color|lightning|Bolt Crystal}}]]
| Icon = [[File:Trans Lightning.gif|Lightning]]
| element = [[Lightning|{{Color|lightning|Lightning}}]]
| #default = <font color="purple">'''{{{1|Lightning}}}'''</font>
| icon = [[File:LightningIcon.png|link=Lightning|Lightning]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| resist | resistance = [[File:LightningIcon.png|Resistance vs. Lightning|link=]]
| weather = [[File:LightningIcon.png|Thunder|link=Category:Weather]]
| double weather = [[File:LightningIcon.png|Thunderstorms|link=Category:Weather]][[File:LightningIcon.png|Thunderstorms|link=Category:Weather]]
| #default = {{Color|lightning|{{{1|Lightning}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Lightning|text}}
{{Lightning|text}}
</pre>
</pre>
*Displays "[[Lightning Crystal|<font color="purple">'''Lightning Crystal'''</font>]]" if "Crystal" is defined.
*<nowiki>{{Lightning|Crystal}}</nowiki> results in "{{Lightning|Crystal}}".
*Displays "[[Plasma Crystal|<font color="purple">'''Plasma Crystal'''</font>]]" if "HQ" is defined.
*<nowiki>{{Lightning|Cluster}}</nowiki> results in "{{Lightning|Cluster}}".
*Displays "[[Bolt Crystal|<font color="purple">'''Bolt Crystal'''</font>]]" if "Analysis" is defined.
*<nowiki>{{Lightning|HQ}}</nowiki> or <nowiki>{{Lightning|Plasma}</nowiki> results in "{{Lightning|HQ}}".
*Displays "[[Lightning|<font color="purple">'''Lightning'''</font>]]" if "Element" is defined.
*<nowiki>{{Lightning|Analysis}}</nowiki> or <nowiki>{{Lightning|Bolt}}</nowiki> results in "{{Lightning|Analysis}}".
*Displays "[[File:Trans LightningIcon.png|Lightning]]" if "Icon" is defined.
*<nowiki>{{Lightning|Element}}</nowiki> results in "{{Lightning|Element}}".
*Displays <font color="purple">'''bold, colored text'''</font> if anything else is defined ("Lightning" is the default text).
*<nowiki>{{Lightning|Icon}}</nowiki> results in "{{Lightning|Icon}}".
</noinclude>
*<nowiki>{{Lightning|Resist}}</nowiki> or <nowiki>{{Lightning|Resistance}}</nowiki> results in "{{Lightning|Resist}}".
*<nowiki>{{Lightning|Weather}}</nowiki> results in "{{Lightning|Weather}}".
*<nowiki>{{Lightning|Double Weather}}</nowiki> results in "{{Lightning|Double Weather}}".
*Inputting anything else, e.g. <nowiki>{{Lightning|bold, colored text}}</nowiki>, results in "{{Lightning|bold colored, text}}".

Latest revision as of 20:31, 14 April 2024

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