Template:ErasNavigation: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>3meraldKv
mNo edit summary
mNo edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|style="background:#375f67; margin:0 auto 1em auto; padding:0 2px; border:1px solid #666666; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
{|style="color: white; {{#ifexpr: 15 < {{{1}}} |background:#A50E61|background:#375f67}}; margin:0 auto 1em auto; padding:0 2px; border:1px solid #666666; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
|-
|-
|<table border="0" align="center">
|<table border="0" align="center"><tr>
<tr><td><center>{{#ifeq: {{{1}}} | 0 | | [[{{#switch: {{ #expr: {{{1}}}-1 }}
<td><center>
|0=Classic Era
{{EraData|nova|name|{{ #expr: {{{1}}}-1 }}}}
|1=Beta Era
[[File:{{#ifeq: {{{1}}} | 0 | transparentblank | Era{{ #expr: {{{1}}}-1}}}}.png|center|frameless|40px|link={{EraData|nova|link|{{ #expr: {{{1}}}-1 }}}}]]
|2=Beginning Era
</center></td>
|3=Hype Era
<td>{{#ifeq: {{{1}}} | 0 | | '''⇦''' }}
|4=Decline Era
</td>
|5=Crepuscular Era
<td><center>
|6=Flooding Era
{{EraData|nova|date|{{{1}}}}}<br />{{EraData|nova|years|{{{1}}}}}
|7=Crowded Era
[[File:Era{{ #expr: {{{1}}}}}.png|center|frameless|70px]]
|8=Stabilization Era
'''{{EraData|nova|name|{{{1}}}}}'''
|9=Turmoil Era
</center></td>
|10=Illusory Era
<td>{{#ifexpr: 19 < {{{1}}} ||'''⇨'''}}</td>
|11=Decay Era
<td><center>
|12=Gilded Era
{{#ifexpr: 19 < {{{1}}} | | {{EraData|nova|name|{{ #expr: {{{1}}}+1 }}}} }}
|13=Inert Era
[[File:{{#ifexpr: 19 < {{{1}}} | transparentblank | Era{{ #expr: {{{1}}}+1}}}}.png|center|frameless|40px|link={{EraData|nova|link|{{ #expr: {{{1}}}+1 }}}}]]
|14=Hopeful Era
</center></td>
|15=Stasis Era
</tr></table>
|Q=ERA NAME
}}]]
[[File:Era{{ #expr: {{{1}}}-1}}.png|center|thumb|40px|link=https://earthmc.fandom.com/wiki/{{#switch: {{ #expr: {{{1}}}-1 }}
|0=Classic_Era
|1=Beta_Era
|2=Beginning_Era
|3=Hype_Era
|4=Decline_Era
|5=Crepuscular_Era
|6=Flooding_Era
|7=Crowded_Era
|8=Stabilization_Era
|9=Turmoil_Era
|10=Illusory_Era
|11=Decay_Era
|12=Gilded_Era
|13=Inert_Era
|14=Hopeful_Era
|15=Stasis_Era
|Q=ERA_NAME
}}]] }}
</center></td><td>{{#ifeq: {{{1}}} | 0 | | '''⇦''' }}
</td><td><center>{{#switch: {{{1}}}
|0=December - October 19st<br />2016-2018
|1=October 19th - October 31st<br />2018
|2=November 1st - December 13th<br />2018
|3=December 14th - January 13th<br />2018-2019
|4=January 14th - January 31st<br />2019
|5=February 1st - April 10th<br />2019
|6=April 11th - July 22nd<br />2019
|7=July 23rd - October 3rd<br />2019
|8=October 4th - January 20th<br />2019-2020
|9=January 21st - May 23rd<br />2020
|10=May 24th - August 30th<br />2020
|11=August 31st - February 5th<br />2020-2021
|12=February 6th - August 19th<br />2021
|13=August 20th - November 5th<br />2021
|14=November 6th - February 17th<br />2021-2022
|15=February 18th - present<br />2022
|Q=FROM - TO<br />YEAR
}}
[[File:Era{{ #expr: {{{1}}}}}.png|center|thumb|70px]]
'''{{#switch: {{ #expr: {{{1}}}}}
|0=Classic Era
|1=Beta Era
|2=Beginning Era
|3=Hype Era
|4=Decline Era
|5=Crepuscular Era
|6=Flooding Era
|7=Crowded Era
|8=Stabilization Era
|9=Turmoil Era
|10=Illusory Era
|11=Decay Era
|12=Gilded Era
|13=Inert Era
|14=Hopeful Era
|15=Stasis Era
|Q=ERA NAME
}}'''
</center></td><td>'''⇨'''
</td><td><center>[[{{#switch: {{ #expr: {{{1}}}+1 }}
|0=Classic Era
|1=Beta Era
|2=Beginning Era
|3=Hype Era
|4=Decline Era
|5=Crepuscular Era
|6=Flooding Era
|7=Crowded Era
|8=Stabilization Era
|9=Turmoil Era
|10=Illusory Era
|11=Decay Era
|12=Gilded Era
|13=Inert Era
|14=Hopeful Era
|15=Stasis Era
|12=. . .
|Q=ERA NAME
}}]]
[[File:{{#ifeq: {{{1}}} | 11 | transparentblank | Era{{ #expr: {{{1}}}+1}}}}.png|center|thumb|40px|link=https://earthmc.fandom.com/wiki/{{#switch: {{ #expr: {{{1}}}+1 }}
|0=Classic_Era
|1=Beta_Era
|2=Beginning_Era
|3=Hype_Era
|4=Decline_Era
|5=Crepuscular_Era
|6=Flooding_Era
|7=Crowded_Era
|8=Stabilization_Era
|9=Turmoil_Era
|10=Illusory_Era
|11=Decay_Era
|12=Gilded_Era
|13=Inert_Era
|14=Hopeful_Era
|15=Stasis_Era
|Q=ERA_NAME
}}]]</center></td></tr></table>
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{ErasNavigation|1}}
This is a template for eras in Terra Nova.
== How add an era on this template ==
== How add an era on this template ==
Go on the template editor and use the ''Find tool'' (<code>Ctrl+F</code>) to search '''''<code>Q=</code>''''' . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). '''DO NOT remove the ''Q'' lines''' in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required.
Go on the template editor and use the ''Find tool'' (<code>Ctrl+F</code>) to search '''''<code>Q=</code>''''' . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). '''DO NOT remove the ''Q'' lines''' in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required.

Latest revision as of 19:45, 6 November 2023



Classic Era

Era0.png

October 19th - October 31st
2018

Era1.png

Beta Era

Beginning Era

Era2.png


This is a template for eras in Terra Nova.

How add an era on this template

Go on the template editor and use the Find tool (Ctrl+F) to search Q= . All places where the template needs to get edited will get highlighted (total of 7 results: 6 of them are in the code and 1 of them is part of this description). DO NOT remove the Q lines in any case, just add a new line above the Q line. Write the new era number and fill in the info (name and dates) where required.

Then, search for transparentblank and add 1 to the number right before that word.

The era icons have to be 400x400 px and match the name of EraX.png, where X is the number matching the era number. (example: Era1.png)

NOTE: All eras have to be approved by the Wiki staff. Join our Discord server here.