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
 
(added weather)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| Crystal = [[Wind Crystal|<font color="green">'''Wind Crystal'''</font>]]
| crystal = [[Wind Crystal|{{Color|wind|Wind Crystal}}]]
| Cluster = [[Wind Cluster|<font color="green">'''Wind Cluster'''</font>]]
| cluster = [[Wind Cluster|{{Color|wind|Wind Cluster}}]]
| HQ = [[Cyclone Crystal|<font color="green">'''Cyclone Crystal'''</font>]]
| hq | cyclone = [[Cyclone Crystal|{{Color|wind|Cyclone Crystal}}]]
| Analysis = [[Vortex Crystal|<font color="green">'''Vortex Crystal'''</font>]]
| analysis | vortex = [[Vortex Crystal|{{Color|wind|Vortex Crystal}}]]
| Element = [[Wind|<font color="green">'''Wind'''</font>]]
| element = [[Wind|{{Color|wind|Wind}}]]
| #default = <font color="green">'''{{{1|Wind}}}'''</font>
| icon = [[File:WindIcon.png|link=Wind|Wind]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| resist | resistance = [[File:WindIcon.png|Resistance vs. Wind|link=]]
| weather = [[File:WindIcon.png|Winds|link=Category:Weather]]
| double weather = [[File:WindIcon.png|Gales|link=Category:Weather]][[File:WindIcon.png|Gales|link=Category:Weather]]
| #default = {{Color|wind|{{{1|Wind}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Wind|text}}
{{Wind|text}}
</pre>
</pre>
*Displays "[[Wind Crystal|<font color="green">'''Wind Crystal'''</font>]]" if "Crystal" is defined.
*<nowiki>{{Wind|Crystal}}</nowiki> results in "{{Wind|Crystal}}".
*Displays "[[Wind Cluster|<font color="green">'''Wind Cluster'''</font>]]" if "Cluster" is defined.
*<nowiki>{{Wind|Cluster}}</nowiki> results in "{{Wind|Cluster}}".
*Displays "[[Cyclone Crystal|<font color="green">'''Cyclone Crystal'''</font>]]" if "HQ" is defined.
*<nowiki>{{Wind|HQ}}</nowiki> or <nowiki>{{Wind|Cyclone}</nowiki> results in "{{Wind|HQ}}".
*Displays "[[Vortex Crystal|<font color="green">'''Vortex Crystal'''</font>]]" if "Analysis" is defined.
*<nowiki>{{Wind|Analysis}}</nowiki> or <nowiki>{{Wind|Vortex}}</nowiki> results in "{{Wind|Analysis}}".
*Displays "[[Wind|<font color="green">'''Wind'''</font>]]" if "Element" is defined.
*<nowiki>{{Wind|Element}}</nowiki> results in "{{Wind|Element}}".
*Displays "[[File:WindIcon.png|Wind]]" if "Icon" is defined.
*<nowiki>{{Wind|Icon}}</nowiki> results in "{{Wind|Icon}}".
*Displays <font color="green">'''bold, colored text'''</font> if anything else is defined ("Wind" is the default text).
*<nowiki>{{Wind|Resist}}</nowiki> or <nowiki>{{Wind|Resistance}}</nowiki> results in "{{Wind|Resist}}".
</noinclude>
*<nowiki>{{Wind|Weather}}</nowiki> results in "{{Wind|Weather}}".
*<nowiki>{{Wind|Double Weather}}</nowiki> results in "{{Wind|Double Weather}}".
*Inputting anything else, e.g. <nowiki>{{Wind|bold, colored text}}</nowiki>, results in "{{Wind|bold colored, text}}".

Latest revision as of 20:30, 14 April 2024

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 "Wind".
  • {{Wind|Resist}} or {{Wind|Resistance}} results in "Resistance vs. Wind".
  • {{Wind|Weather}} results in "Winds".
  • {{Wind|Double Weather}} results in "GalesGales".
  • Inputting anything else, e.g. {{Wind|bold, colored text}}, results in "bold colored, text".