Template:ErasNavigation: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Nicosecci
test1
 
No edit summary
 
(87 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly>
{|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"><tr>


{|style="background:#efffa8; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #8a8700; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
<!-- PREVIOUS ERA -->
|-
<td><center>
|<table border="0" align="center">
{{EraData|nova|name|{{ #expr: {{{1}}}-1 }}}}
<tr><td><center>{{#switch: {{ #expr: {{{1}}}-1 }}
{{#ifeq: {{{1}}} | 0 |
|1=[[Beta Era]]
[[File:transparentblank.png|center|frameless|40px]] |
|2=[[Beginning Era]]
{{#ifexpr: {{#expr: {{{1}}}-1 }} > 15 |
|3=[[Hype Era]]
[[File:Era{{#expr: {{{1}}}-1}}_1.png|center|frameless|40px|link={{EraData|nova|link|{{#expr: {{{1}}}-1}}}}]] |
|4=[[Decline Era]]
[[File:Era{{#expr: {{{1}}}-1}}.png|center|frameless|40px|link={{EraData|nova|link|{{#expr: {{{1}}}-1}}}}]]
|5=[[Crepuscular Era]]
}}
|6=[[Flooding Era]]
}}
|7=[[Crowded Era]]
</center></td>
|8=[[Stabilization Era]]
 
|9=[[Turmoil Era]]
<td>{{#ifeq: {{{1}}} | 0 | | '''⇦''' }}</td>
 
<!-- CURRENT ERA -->
<td><center>
{{EraData|nova|date|{{{1}}}}}<br />
{{EraData|nova|years|{{{1}}}}}
{{#ifexpr: {{{1}}} > 15 |
[[File:Era{{{1}}}_1.png|center|frameless|70px]] |
[[File:Era{{{1}}}.png|center|frameless|70px]]
}}
'''{{EraData|nova|name|{{{1}}}}}'''
</center></td>
 
<td>{{#ifexpr: 19 < {{{1}}} | | '''⇨'''}}</td>
 
<!-- NEXT ERA -->
<td><center>
{{#ifexpr: 19 < {{{1}}} |
[[File:transparentblank.png|center|frameless|40px]] |
{{EraData|nova|name|{{ #expr: {{{1}}}+1 }}}}
{{#ifexpr: {{#expr: {{{1}}}+1 }} > 15 |
[[File:Era{{#expr: {{{1}}}+1}}_1.png|center|frameless|40px|link={{EraData|nova|link|{{#expr: {{{1}}}+1}}}}]] |
[[File:Era{{#expr: {{{1}}}+1}}.png|center|frameless|40px|link={{EraData|nova|link|{{#expr: {{{1}}}+1}}}}]]
}}
}}
{{#switch: {{ #expr: {{{1}}}-1 }}
|1=[[File:Era1.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Beta_Era]]
|2=[[File:Era2.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Beginning_Era]]
|3=[[File:Era3.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Hype_Era]]
|4=[[File:Era4.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Decline_Era]]
|5=[[File:Era5.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Crepuscular_Era]]
|6=[[File:Era6.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Flooding_Era]]
|7=[[File:Era7.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Crowded_Era]]
|8=[[File:Era8.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Stabilization_Era]]
|9=[[File:Era9.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/Turmoil_Era]]
}}
}}
</center></td><td>'''⇦'''
</center></td>
</td><td><center>October 4th - January 20th<br />2019-2020[[File:Era8.png|center|thumb|70x70px|link=https://earthmc.fandom.com/wiki/File:Era8.png]]'''Stabilization Era'''
 
</center></td><td>'''⇨'''
</tr></table>
</td><td><center>[[Turmoil Era]][[File:Era9.png|center|thumb|40x40px|link=https://earthmc.fandom.com/wiki/Turmoil_Era]]</center></td></tr></table>
|}
|}
</includeonly>
<noinclude>
{{ErasNavigation|1}}
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'' (<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.
Then, search for '''''<code>transparentblank</code>''''' 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'')


{{ #expr: 1-4 }}
'''<u>NOTE: All eras have to be approved by the Wiki staff. Join our Discord server [https://discord.gg/8u75y6D here].</u>'''


{{#switch: {{{1}}}
</noinclude>
|SizJelgava=257
}}

Latest revision as of 11:41, 17 February 2026



Classic Era

October 19th - October 31st
2018

Beta Era

Beginning Era



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.