Template:Fire: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: visualeditor-wikitext
(added weather)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| Crystal = [[Fire Crystal|<font color="red">'''Fire Crystal'''</font>]]
| crystal = [[Fire Crystal|{{Color|fire|Fire Crystal}}]]
| HQ = [[Inferno Crystal|<font color="red">'''Inferno Crystal'''</font>]]
| cluster = [[Fire Cluster|{{Color|fire|Fire Cluster}}]]
| Analysis = [[Pyre Crystal|<font color="red">'''Pyre Crystal'''</font>]]
| hq | inferno = [[Inferno Crystal|{{Color|fire|Inferno Crystal}}]]
| Element = [[Fire|<font color="red">'''Fire'''</font>]]
| analysis | pyre = [[Pyre Crystal|{{Color|fire|Pyre Crystal}}]]
| Icon = [[File:Trans Fire.gif|Fire]]
| element = [[Fire (Element)|{{Color|fire|Fire}}]]
| #default = <font color="red">'''{{{1|Fire}}}'''</font>
| icon = [[File:FireIcon.png|link=Fire (Element)|Fire]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| resist | resistance = [[File:FireIcon.png|Resistance vs. Fire|link=]]
| weather = [[File:FireIcon.png|Hot Spells|link=Category:Weather]]
| double weather = [[File:FireIcon.png|Heat Waves|link=Category:Weather]][[File:FireIcon.png|Heat Waves|link=Category:Weather]]
| #default = {{Color|fire|{{{1|Fire}}}}}
}}</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>
{{Fire|text}}
{{Fire|text}}
</pre>
</pre>
*Displays "[[Fire Crystal|<font color="red">'''Fire Crystal'''</font>]]" if "Crystal" is defined.
*<nowiki>{{Fire|Crystal}}</nowiki> results in "{{Fire|Crystal}}".
*Displays "[[Inferno Crystal|<font color="red">'''Inferno Crystal'''</font>]]" if "HQ" is defined.
*<nowiki>{{Fire|Cluster}}</nowiki> results in "{{Fire|Cluster}}".
*Displays "[[Pyre Crystal|<font color="red">'''Pyre Crystal'''</font>]]" if "Analysis" is defined.
*<nowiki>{{Fire|HQ}}</nowiki> or <nowiki>{{Fire|Inferno}</nowiki> results in "{{Fire|HQ}}".
*Displays "[[Fire|<font color="red">'''Fire'''</font>]]" if "Element" is defined.
*<nowiki>{{Fire|Analysis}}</nowiki> or <nowiki>{{Fire|Pyre}}</nowiki> results in "{{Fire|Analysis}}".
*Displays "[[File:FireIcon.png|Fire]]" if "Icon" is defined.
*<nowiki>{{Fire|Element}}</nowiki> results in "{{Fire|Element}}".
*Displays <font color="red">'''bold, colored text'''</font> if anything else is defined ("Fire" is the default text).
*<nowiki>{{Fire|Icon}}</nowiki> results in "{{Fire|Icon}}".
</noinclude>
*<nowiki>{{Fire|Resist}}</nowiki> or <nowiki>{{Fire|Resistance}}</nowiki> results in "{{Fire|Resist}}".
*<nowiki>{{Fire|Weather}}</nowiki> results in "{{Fire|Weather}}".
*<nowiki>{{Fire|Double Weather}}</nowiki> results in "{{Fire|Double Weather}}".
*Inputting anything else, e.g. <nowiki>{{Fire|bold, colored text}}</nowiki>, results in "{{Fire|bold colored, text}}".

Latest revision as of 20:30, 14 April 2024

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".
  • {{Fire|Resist}} or {{Fire|Resistance}} results in "Resistance vs. Fire".
  • {{Fire|Weather}} results in "Hot Spells".
  • {{Fire|Double Weather}} results in "Heat WavesHeat Waves".
  • Inputting anything else, e.g. {{Fire|bold, colored text}}, results in "bold colored, text".