Template:ERAElement: Difference between revisions

From Goober Games
(Created page with "<includeonly>{{{1}}}</includeonly><noinclude> ERA template for consistently making references to elements. '''Usage:''' <pre> {{Element}} </pre> Category:Inline Templates</noinclude>")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{1}}}</includeonly><noinclude>
<includeonly>{{#switch: {{{1|}}}
  | A = [[ERA Elements#Air|Air]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Air]]}}
  | E = [[ERA Elements#Earth|Earth]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Earth]]}}
  | F = [[ERA Elements#Fire|Fire]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Fire]]}}
  | W = [[ERA Elements#Water|Water]]{{#ifeq: {{{nocat|}}}|1||[[Category:ERA Water]]}}
}}</includeonly><noinclude>
ERA template for consistently making references to elements.
ERA template for consistently making references to elements.


'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{Element}}
{{ERAElement|TYPE|nocat=1}}
</pre>
</pre>
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.


[[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.