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 |
(reworked to use color template and correct icon) |
||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | <includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | ||
| | | crystal = [[Ice Crystal|{{Color|ice|Ice Crystal}}]] | ||
| | | cluster = [[Ice Cluster|{{Color|ice|Ice Cluster}}]] | ||
| | | hq | glacier = [[Glacier Crystal|{{Color|ice|Glacier Crystal}}]] | ||
| | | analysis | frost = [[Frost Crystal|{{Color|ice|Frost Crystal}}]] | ||
| | | element = [[Ice|{{Color|ice|Ice}}]] | ||
| #default = | | icon = [[File:IceIcon.png|link=Ice|Ice]] | ||
| #default = {{Color|ice|{{{1|Ice}}}}} | |||
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]] | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Ice|text}} | {{Ice|text}} | ||
</pre> | </pre> | ||
* | *<nowiki>{{Ice|Crystal}}</nowiki> results in "{{Ice|Crystal}}". | ||
* | *<nowiki>{{Ice|Cluster}}</nowiki> results in "{{Ice|Cluster}}". | ||
* | *<nowiki>{{Ice|HQ}}</nowiki> or <nowiki>{{Ice|Glacier}</nowiki> results in "{{Ice|HQ}}". | ||
* | *<nowiki>{{Ice|Analysis}}</nowiki> or <nowiki>{{Ice|Frost}}</nowiki> results in "{{Ice|Analysis}}". | ||
* | *<nowiki>{{Ice|Element}}</nowiki> results in "{{Ice|Element}}". | ||
* | *<nowiki>{{Ice|Icon}}</nowiki> results in "{{Ice|Icon}}". | ||
*Inputting anything else, e.g. <nowiki>{{Ice|bold, colored text}}</nowiki>, results in "{{Ice|bold colored, text}}". |
Revision as of 14:47, 19 November 2023
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 "".
- Inputting anything else, e.g. {{Ice|bold, colored text}}, results in "bold colored, text".