Template:Water: Difference between revisions

From HorizonXI Wiki
(Created page with "{{#switch:{{{1|}}} | Crystal = <font color="blue">'''Water Crystal'''</font> | HQ = <font color="blue">'''Torrent Crystal'''</font> | Analysis = <font color="blue">'''Fluid Crystal'''</font> | Element = <font color="blue">'''Water'''</font> | #default = <font color="blue">'''{{{1|Water}}}'''</font> }}<noinclude>{{PAGENAME}} ==Usage== <pre> {{Water|text}} </pre> *Displays "Water Cry...")
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 = [[Water Crystal|<font color="blue">'''Water Crystal'''</font>]]
| crystal = [[Water Crystal|{{Color|water|Water Crystal}}]]
| HQ = [[Torrent Crystal|<font color="blue">'''Torrent Crystal'''</font>]]
| cluster = [[Water Cluster|{{Color|water|Water Cluster}}]]
| Analysis = [[Fluid Crystal|<font color="blue">'''Fluid Crystal'''</font>]]
| hq | torrent = [[Torrent Crystal|{{Color|water|Torrent Crystal}}]]
| Element = [[Water|<font color="blue">'''Water'''</font>]]
| analysis | fluid = [[Fluid Crystal|{{Color|water|Fluid Crystal}}]]
| #default = <font color="blue">'''{{{1|Water}}}'''</font>
| element = [[Water|{{Color|water|Water}}]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| icon = [[File:WaterIcon.png|link=Water|Water]]
| resist | resistance = [[File:WaterIcon.png|Resistance vs. Water|link=]]
| weather = [[File:WaterIcon.png|Rain|link=Category:Weather]]
| double weather = [[File:WaterIcon.png|Squalls|link=Category:Weather]][[File:WaterIcon.png|Squalls|link=Category:Weather]]
| #default = {{Color|water|{{{1|Water}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Water|text}}
{{Water|text}}
</pre>
</pre>
*Displays "[[Water Crystal|<font color="blue">'''Water Crystal'''</font>]]" if "Crystal" is defined.
*<nowiki>{{Water|Crystal}}</nowiki> results in "{{Water|Crystal}}".
*Displays "[[Water|<font color="blue">'''Water'''</font>]]" if "Element" is defined.
*<nowiki>{{Water|Cluster}}</nowiki> results in "{{Water|Cluster}}".
*Displays "[[Torrent Crystal|<font color="blue">'''Torrent Crystal'''</font>]]" if "HQ" is defined.
*<nowiki>{{Water|HQ}}</nowiki> or <nowiki>{{Water|Torrent}</nowiki> results in "{{Water|HQ}}".
*Displays "[[Fluid Crystal|<font color="blue">'''Fluid Crystal'''</font>]]" if "Analysis" is defined.
*<nowiki>{{Water|Analysis}}</nowiki> or <nowiki>{{Water|Fluid}}</nowiki> results in "{{Water|Analysis}}".
*Displays "[[File:WaterIcon.png|Water]]" if "Icon" is defined.
*<nowiki>{{Water|Element}}</nowiki> results in "{{Water|Element}}".
*Displays <font color="blue">'''bold, colored text'''</font> if anything else is defined ("Water" is the default text).
*<nowiki>{{Water|Icon}}</nowiki> results in "{{Water|Icon}}".
</noinclude>
*<nowiki>{{Water|Resist}}</nowiki> or <nowiki>{{Water|Resistance}}</nowiki> results in "{{Water|Resist}}".
*<nowiki>{{Water|Weather}}</nowiki> results in "{{Water|Weather}}".
*<nowiki>{{Water|Double Weather}}</nowiki> results in "{{Water|Double Weather}}".
*Inputting anything else, e.g. <nowiki>{{Water|bold, colored text}}</nowiki>, results in "{{Water|bold colored, text}}".

Latest revision as of 20:30, 14 April 2024

Usage

{{Water|text}}
  • {{Water|Crystal}} results in "Water Crystal".
  • {{Water|Cluster}} results in "Water Cluster".
  • {{Water|HQ}} or {{Water|Torrent} results in "Torrent Crystal".
  • {{Water|Analysis}} or {{Water|Fluid}} results in "Fluid Crystal".
  • {{Water|Element}} results in "Water".
  • {{Water|Icon}} results in "Water".
  • {{Water|Resist}} or {{Water|Resistance}} results in "Resistance vs. Water".
  • {{Water|Weather}} results in "Rain".
  • {{Water|Double Weather}} results in "SquallsSqualls".
  • Inputting anything else, e.g. {{Water|bold, colored text}}, results in "bold colored, text".