Template:ERAElement: Difference between revisions

From Goober Games
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
   | A = [[ERA Elements#Air|Air]][[Category:ERA Air]]
   | A = [[ERA Elements#Air|Air]]{{#if: {{{nocat|}}}||[[Category:ERA Air]]}}
   | E = [[ERA Elements#Earth|Earth]][[Category:ERA Earth]]
   | E = [[ERA Elements#Earth|Earth]][[Category:ERA Earth]]
   | F = [[ERA Elements#Fire|Fire]][[Category:ERA Fire]]
   | F = [[ERA Elements#Fire|Fire]][[Category:ERA Fire]]
Line 9: Line 9:
'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{Element}}
{{ERAElement|TYPE|nocat=1}}
</pre>
</pre>


Line 17: Line 17:
* F = Fire
* F = Fire
* W = Water
* W = Water
*NOTE: Using this template without the "nocat=1" named param will add the page to the ERA category for that element.


[[Category:Inline Templates]]</noinclude>
[[Category:Inline Templates]]</noinclude>

Revision as of 19:52, 24 February 2024

ERA template for consistently making references to elements.

Usage:

{{ERAElement|TYPE|nocat=1}}

Options for type:

  • A = Air
  • E = Earth
  • F = Fire
  • W = Water
  • NOTE: Using this template without the "nocat=1" named param will add the page to the ERA category for that element.