Template:Fire: Difference between revisions

From HorizonXI Wiki
(Replaced hard coded font colors with color template and element template for icon)
(reworked to use color template and correct icon)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| Crystal = [[Fire Crystal|{{Color|fire|Fire Crystal}}]]
| crystal = [[Fire Crystal|{{Color|fire|Fire Crystal}}]]
| Cluster = [[Fire Cluster|{{Color|fire|Fire Cluster}}]]
| cluster = [[Fire Cluster|{{Color|fire|Fire Cluster}}]]
| HQ = [[Inferno Crystal|{{Color|fire|Inferno Crystal}}]]
| hq | inferno = [[Inferno Crystal|{{Color|fire|Inferno Crystal}}]]
| Analysis = [[Pyre Crystal|{{Color|fire|Pyre Crystal}}]]
| analysis | pyre = [[Pyre Crystal|{{Color|fire|Pyre Crystal}}]]
| Element = [[Fire|{{Color|fire|Fire}}]]
| element = [[Fire (Element)|{{Color|fire|Fire}}]]
| Icon = {{Element|fire|icon}}
| icon = [[File:FireIcon.png|link=Fire (Element)|Fire]]
| #default = {{Color|fire|{{{1|Fire}}}}}
| #default = {{Color|fire|{{{1|Fire}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
Line 14: Line 14:
*<nowiki>{{Fire|Crystal}}</nowiki> results in "{{Fire|Crystal}}".
*<nowiki>{{Fire|Crystal}}</nowiki> results in "{{Fire|Crystal}}".
*<nowiki>{{Fire|Cluster}}</nowiki> results in "{{Fire|Cluster}}".
*<nowiki>{{Fire|Cluster}}</nowiki> results in "{{Fire|Cluster}}".
*<nowiki>{{Fire|HQ}}</nowiki> results in "{{Fire|HQ}}".
*<nowiki>{{Fire|HQ}}</nowiki> or <nowiki>{{Fire|Inferno}</nowiki> results in "{{Fire|HQ}}".
*<nowiki>{{Fire|Analysis}}</nowiki> results in "{{Fire|Analysis}}".
*<nowiki>{{Fire|Analysis}}</nowiki> or <nowiki>{{Fire|Pyre}}</nowiki> results in "{{Fire|Analysis}}".
*<nowiki>{{Fire|Element}}</nowiki> results in "{{Fire|Element}}".
*<nowiki>{{Fire|Element}}</nowiki> results in "{{Fire|Element}}".
*<nowiki>{{Fire|Icon}}</nowiki> results in "{{Fire|Icon}}".
*<nowiki>{{Fire|Icon}}</nowiki> results in "{{Fire|Icon}}".
*Inputting anything else, e.g. <nowiki>{{Fire|bold, colored text}}</nowiki>, results in "{{Fire|bold colored, text}}".
*Inputting anything else, e.g. <nowiki>{{Fire|bold, colored text}}</nowiki>, results in "{{Fire|bold colored, text}}".

Revision as of 02:34, 20 November 2023

Usage

{{Fire|text}}
  • {{Fire|Crystal}} results in "Fire Crystal".
  • {{Fire|Cluster}} results in "Fire Cluster".
  • {{Fire|HQ}} or {{Fire|Inferno} results in "Inferno Crystal".
  • {{Fire|Analysis}} or {{Fire|Pyre}} results in "Pyre Crystal".
  • {{Fire|Element}} results in "Fire".
  • {{Fire|Icon}} results in "Fire".
  • Inputting anything else, e.g. {{Fire|bold, colored text}}, results in "bold colored, text".