Template:Wind: Difference between revisions
From HorizonXI Wiki
(Created page with "{{#switch:{{{1|}}} | Crystal = <font color="green">'''Wind Crystal'''</font> | Cluster = <font color="green">'''Wind Cluster'''</font> | HQ = <font color="green">'''Cyclone Crystal'''</font> | Analysis = <font color="green">'''Vortex Crystal'''</font> | Element = <font color="green">'''Wind'''</font> | #default = <font color="green">'''{{{1|Wind}}}'''</font> }}<noinclude>Category:Template...") Tag: visualeditor-wikitext |
(rework to use color template and correct icon) |
||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | <includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | ||
| | | crystal = [[Wind Crystal|{{Color|wind|Wind Crystal}}]] | ||
| | | cluster = [[Wind Cluster|{{Color|wind|Wind Cluster}}]] | ||
| | | hq | cyclone = [[Cyclone Crystal|{{Color|wind|Cyclone Crystal}}]] | ||
| | | analysis | vortex = [[Vortex Crystal|{{Color|wind|Vortex Crystal}}]] | ||
| | | element = [[Wind|{{Color|wind|Wind}}]] | ||
| #default = | | icon = [[File:WindIcon.png|link=Wind|Wind]] | ||
| #default = {{Color|wind|{{{1|Wind}}}}} | |||
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]] | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Wind|text}} | {{Wind|text}} | ||
</pre> | </pre> | ||
* | *<nowiki>{{Wind|Crystal}}</nowiki> results in "{{Wind|Crystal}}". | ||
* | *<nowiki>{{Wind|Cluster}}</nowiki> results in "{{Wind|Cluster}}". | ||
* | *<nowiki>{{Wind|HQ}}</nowiki> or <nowiki>{{Wind|Cyclone}</nowiki> results in "{{Wind|HQ}}". | ||
* | *<nowiki>{{Wind|Analysis}}</nowiki> or <nowiki>{{Wind|Vortex}}</nowiki> results in "{{Wind|Analysis}}". | ||
* | *<nowiki>{{Wind|Element}}</nowiki> results in "{{Wind|Element}}". | ||
* | *<nowiki>{{Wind|Icon}}</nowiki> results in "{{Wind|Icon}}". | ||
* | *Inputting anything else, e.g. <nowiki>{{Wind|bold, colored text}}</nowiki>, results in "{{Wind|bold colored, text}}". | ||
Revision as of 14:42, 19 November 2023
Usage
{{Wind|text}}
- {{Wind|Crystal}} results in "Wind Crystal".
- {{Wind|Cluster}} results in "Wind Cluster".
- {{Wind|HQ}} or {{Wind|Cyclone} results in "Cyclone Crystal".
- {{Wind|Analysis}} or {{Wind|Vortex}} results in "Vortex Crystal".
- {{Wind|Element}} results in "Wind".
- {{Wind|Icon}} results in "".
- Inputting anything else, e.g. {{Wind|bold, colored text}}, results in "bold colored, text".