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]]{{#if: {{{nocat|}}}||[[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]][[Category:ERA Earth]]
   | F = [[ERA Elements#Fire|Fire]][[Category:ERA Fire]]
   | F = [[ERA Elements#Fire|Fire]][[Category:ERA Fire]]

Revision as of 19:55, 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.