Template:ErasNavigation: Difference between revisions

From EarthMC
Jump to navigation Jump to search
m (Text replacement - "earthmc.fandom.com" to "wiki.earthmc.net")
(Remove weird background from era images.)
Line 22: Line 22:
|Q=ERA NAME
|Q=ERA NAME
}}]]
}}]]
[[File:Era{{ #expr: {{{1}}}-1}}.png|center|thumb|40px|link=https://wiki.earthmc.net/wiki/{{#switch: {{ #expr: {{{1}}}-1 }}
[[File:Era{{ #expr: {{{1}}}-1}}.png|center|frameless|40px|link=https://wiki.earthmc.net/wiki/{{#switch: {{ #expr: {{{1}}}-1 }}
|0=Classic_Era
|0=Classic_Era
|1=Beta_Era
|1=Beta_Era
Line 61: Line 61:
|Q=FROM - TO<br />YEAR
|Q=FROM - TO<br />YEAR
}}
}}
[[File:Era{{ #expr: {{{1}}}}}.png|center|thumb|70px]]
[[File:Era{{ #expr: {{{1}}}}}.png|center|frameless|70px]]
'''{{#switch: {{ #expr: {{{1}}}}}
'''{{#switch: {{ #expr: {{{1}}}}}
|0=Classic Era
|0=Classic Era
Line 102: Line 102:
|Q=ERA NAME
|Q=ERA NAME
}}]]
}}]]
[[File:{{#ifeq: {{{1}}} | 11 | transparentblank | Era{{ #expr: {{{1}}}+1}}}}.png|center|thumb|40px|link=https://wiki.earthmc.net/wiki/{{#switch: {{ #expr: {{{1}}}+1 }}
[[File:{{#ifeq: {{{1}}} | 11 | transparentblank | Era{{ #expr: {{{1}}}+1}}}}.png|center|frameless|40px|link=https://wiki.earthmc.net/wiki/{{#switch: {{ #expr: {{{1}}}+1 }}
|0=Classic_Era
|0=Classic_Era
|1=Beta_Era
|1=Beta_Era
Line 124: Line 124:
</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.

Revision as of 01:03, 4 July 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.