Template:ERAElement: Difference between revisions

From Goober Games
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
   | A = [[ERA Elements#Air|Air]][[Category:ERA Air]]
   | A = [[ERA Elements#Air|Air]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Air]]}}
   | E = [[ERA Elements#Earth|Earth]][[Category:ERA Earth]]
   | E = [[ERA Elements#Earth|Earth]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Earth]]}}
   | F = [[ERA Elements#Fire|Fire]][[Category:ERA Fire]]
   | F = [[ERA Elements#Fire|Fire]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Fire]]}}
   | W = [[ERA Elements#Water|Water]][[Category:ERA Water]]
   | W = [[ERA Elements#Water|Water]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Water]]}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
ERA template for consistently making references to elements.
ERA template for consistently making references to elements.
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>

Latest revision as of 19:56, 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.