Jump to content

Template:PageEra: Difference between revisions

From EverQuest Legends Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="right-float-era">{{#ifeq:{{#switch:{{{1}}}
<includeonly><div class="right-float-era">{{#ifeq:{{#switch:{{{1}}}
| classic = in
| classic = in
| kunark = out
| velious = out
| luclin = out
| chardok = out
| chardokrevamp = out
| fear = out
| hate = out
| hole = out
| holevp = out
| sky = out
| stonebrunt = out
| temple = out
| warrens = out
| warrearsfearhaterevamp = out
| paineel = out
| epics = out
| epicquests = out
| unknown = out
| #default = out
| #default = out
}}|in|<span class="era {{{1}}}-era">[[Category:{{{2}}}]]<small>(added {{{3}}})</small></span>|<span class="era {{{1}}}-era era-out-of-era">[[Category:{{{2}}}]]<small>(added {{{3}}})</small><br/><small>(Out of Era)</small></span>}}</div></includeonly><noinclude>
}}|in|<span class="era {{{1}}}-era">[[Category:{{{2}}}]]<small>(added {{{3}}})</small></span>|<span class="era {{{1}}}-era era-out-of-era">[[Category:{{{2}}}]]<small>(added {{{3}}})</small><br/><small>(Out of Era)</small></span>}}</div></includeonly><noinclude>
Line 9: Line 27:
# Year range (e.g. "1999-2000")
# Year range (e.g. "1999-2000")


To mark an era as in-era (green), add it to the <code>#switch</code> whitelist:
To mark an era as in-era, change its value from <code>out</code> to <code>in</code> in the switch list above.
<pre>| kunark = in</pre>


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

Revision as of 08:37, 12 April 2026

Documentation

Internal template used by era templates (Classic Era, Kunark Era, etc). Takes three parameters:

  1. CSS class prefix (e.g. "classic", "kunark", "velious")
  2. Category name (e.g. "Classic Era")
  3. Year range (e.g. "1999-2000")

To mark an era as in-era, change its value from out to in in the switch list above.