Template:Ice: Difference between revisions

From HorizonXI Wiki
(Created page with "{{#switch:{{{1|}}} | Crystal = <font color="#008080">'''Ice Crystal'''</font> | HQ = <font color="#008080">'''Glacier Crystal'''</font> | Analysis = <font color="#008080">'''Frost Crystal'''</font> | Element = <font color="#008080">'''Ice'''</font> | Icon = Ice | #default = <font color="#008080">'''{{{1|Ice}}}'''</font> }}<noinclude>{{PAGENAME}} ==Usage== <pre> {{I...")
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 = [[Ice Crystal|<font color="#008080">'''Ice Crystal'''</font>]]
| crystal = [[Ice Crystal|{{Color|ice|Ice Crystal}}]]
| HQ = [[Glacier Crystal|<font color="#008080">'''Glacier Crystal'''</font>]]
| cluster = [[Ice Cluster|{{Color|ice|Ice Cluster}}]]
| Analysis = [[Frost Crystal|<font color="#008080">'''Frost Crystal'''</font>]]
| hq | glacier = [[Glacier Crystal|{{Color|ice|Glacier Crystal}}]]
| Element = [[Ice|<font color="#008080">'''Ice'''</font>]]
| analysis | frost = [[Frost Crystal|{{Color|ice|Frost Crystal}}]]
| Icon = [[File:Trans Ice.gif|Ice]]
| element = [[Ice|{{Color|ice|Ice}}]]
| #default = <font color="#008080">'''{{{1|Ice}}}'''</font>
| icon = [[File:IceIcon.png|link=Ice|Ice]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| resist | resistance = [[File:IceIcon.png|Resistance vs. Ice|link=]]
| weather = [[File:IceIcon.png|Snow|link=Category:Weather]]
| double weather = [[File:IceIcon.png|Blizzards|link=Category:Weather]][[File:IceIcon.png|Blizzards|link=Category:Weather]]
| #default = {{Color|ice|{{{1|Ice}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Ice|text}}
{{Ice|text}}
</pre>
</pre>
*Displays "[[Ice Crystal|<font color="#008080">'''Ice Crystal'''</font>]]" if "Crystal" is defined.
*<nowiki>{{Ice|Crystal}}</nowiki> results in "{{Ice|Crystal}}".
*Displays "[[Glacier Crystal|<font color="#008080">'''Glacier Crystal'''</font>]]" if "HQ" is defined.
*<nowiki>{{Ice|Cluster}}</nowiki> results in "{{Ice|Cluster}}".
*Displays "[[Frost Crystal|<font color="#008080">'''Frost Crystal'''</font>]]" if "Analysis" is defined.
*<nowiki>{{Ice|HQ}}</nowiki> or <nowiki>{{Ice|Glacier}</nowiki> results in "{{Ice|HQ}}".
*Displays "[[Ice|<font color="#008080">'''Ice'''</font>]]" if "Element" is defined.
*<nowiki>{{Ice|Analysis}}</nowiki> or <nowiki>{{Ice|Frost}}</nowiki> results in "{{Ice|Analysis}}".
*Displays "[[File:IceIcon.png|Ice]]" if "Icon" is defined.
*<nowiki>{{Ice|Element}}</nowiki> results in "{{Ice|Element}}".
*Displays <font color="#008080">'''bold, colored text'''</font> if anything else is defined ("Ice" is the default text).
*<nowiki>{{Ice|Icon}}</nowiki> results in "{{Ice|Icon}}".
</noinclude>
*<nowiki>{{Ice|Resist}}</nowiki> or <nowiki>{{Ice|Resistance}}</nowiki> results in "{{Ice|Resist}}".
*<nowiki>{{Ice|Weather}}</nowiki> results in "{{Ice|Weather}}".
*<nowiki>{{Ice|Double Weather}}</nowiki> results in "{{Ice|Double Weather}}".
*Inputting anything else, e.g. <nowiki>{{Ice|bold, colored text}}</nowiki>, results in "{{Ice|bold colored, text}}".

Latest revision as of 20:30, 14 April 2024

Usage

{{Ice|text}}
  • {{Ice|Crystal}} results in "Ice Crystal".
  • {{Ice|Cluster}} results in "Ice Cluster".
  • {{Ice|HQ}} or {{Ice|Glacier} results in "Glacier Crystal".
  • {{Ice|Analysis}} or {{Ice|Frost}} results in "Frost Crystal".
  • {{Ice|Element}} results in "Ice".
  • {{Ice|Icon}} results in "Ice".
  • {{Ice|Resist}} or {{Ice|Resistance}} results in "Resistance vs. Ice".
  • {{Ice|Weather}} results in "Snow".
  • {{Ice|Double Weather}} results in "BlizzardsBlizzards".
  • Inputting anything else, e.g. {{Ice|bold, colored text}}, results in "bold colored, text".