Template:Earth: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Romidiant (Fandom) Created page with "{{#switch:{{{1|}}} | Crystal = <font color="#cc9900">'''Earth Crystal'''</font> | Cluster = <font color="#cc9900">'''Earth Cluster'''</font> | HQ = <font color="#cc9900">'''Terra Crystal'''</font> | Analysis = <font color="#cc9900">'''Geo Crystal'''</font> | Element = <font color="#cc9900">'''Earth'''</font> | #default = <font color="#cc9900">'''{{{1|Earth}}}'''</font> }}<noinclude>Category..." |
imported>Aramachus reworked to use color template and correct icon |
||
| Line 1: | Line 1: | ||
{{#switch:{{{1|}}} |
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} |
||
| |
| crystal = [[Earth Crystal|{{Color|earth|Earth Crystal}}]] |
||
| |
| cluster = [[Earth Cluster|{{Color|earth|Earth Cluster}}]] |
||
| |
| hq | terra = [[Terra Crystal|{{Color|earth|Terra Crystal}}]] |
||
| |
| analysis | geo = [[Geo Crystal|{{Color|earth|Geo Crystal}}]] |
||
| |
| element = [[Earth|{{Color|earth|Earth}}]] |
||
| icon = [[File:EarthIcon.png|link=Earth|Earth]] |
|||
| #default = |
| #default = {{Color|earth|{{{1|Earth}}}}} |
||
}}< |
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]] |
||
==Usage== |
==Usage== |
||
<pre> |
<pre> |
||
{{Earth|text}} |
{{Earth|text}} |
||
</pre> |
</pre> |
||
* |
*<nowiki>{{Earth|Crystal}}</nowiki> results in "{{Earth|Crystal}}". |
||
* |
*<nowiki>{{Earth|Cluster}}</nowiki> results in "{{Earth|Cluster}}". |
||
*<nowiki>{{Earth|HQ}}</nowiki> or <nowiki>{{Earth|Terra}</nowiki> results in "{{Earth|HQ}}". |
|||
*Displays "[[Terra Crystal|<font color="#cc9900">'''Terra Crystal'''</font>]]" if "HQ" is defined. |
|||
*<nowiki>{{Earth|Analysis}}</nowiki> or <nowiki>{{Earth|Geo}}</nowiki> results in "{{Earth|Analysis}}". |
|||
*Displays "[[Geo Crystal|<font color="#cc9900">'''Geo Crystal'''</font>]]" if "Analysis" is defined. |
|||
* |
*<nowiki>{{Earth|Element}}</nowiki> results in "{{Earth|Element}}". |
||
*<nowiki>{{Earth|Icon}}</nowiki> results in "{{Earth|Icon}}". |
|||
*Displays "[[File:EarthIcon.png|Earth]]" if "Icon" is defined. |
|||
* |
*Inputting anything else, e.g. <nowiki>{{Earth|bold, colored text}}</nowiki>, results in "{{Earth|bold colored, text}}". |
||
</noinclude> |
|||
Revision as of 14:44, 19 November 2023
Usage
{{Earth|text}}
- {{Earth|Crystal}} results in "Earth Crystal".
- {{Earth|Cluster}} results in "Earth Cluster".
- {{Earth|HQ}} or {{Earth|Terra} results in "Terra Crystal".
- {{Earth|Analysis}} or {{Earth|Geo}} results in "Geo Crystal".
- {{Earth|Element}} results in "Earth".
- {{Earth|Icon}} results in "
". - Inputting anything else, e.g. {{Earth|bold, colored text}}, results in "bold colored, text".