Template:ErasNavigation: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>3meraldKv
mNo edit summary
m (Text replacement - "earthmc.fandom.com" to "wiki.earthmc.net")
Line 22: Line 22:
|Q=ERA NAME
|Q=ERA NAME
}}]]
}}]]
[[File:Era{{ #expr: {{{1}}}-1}}.png|center|thumb|40px|link=https://earthmc.fandom.com/wiki/{{#switch: {{ #expr: {{{1}}}-1 }}
[[File:Era{{ #expr: {{{1}}}-1}}.png|center|thumb|40px|link=https://wiki.earthmc.net/wiki/{{#switch: {{ #expr: {{{1}}}-1 }}
|0=Classic_Era
|0=Classic_Era
|1=Beta_Era
|1=Beta_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://earthmc.fandom.com/wiki/{{#switch: {{ #expr: {{{1}}}+1 }}
[[File:{{#ifeq: {{{1}}} | 11 | transparentblank | Era{{ #expr: {{{1}}}+1}}}}.png|center|thumb|40px|link=https://wiki.earthmc.net/wiki/{{#switch: {{ #expr: {{{1}}}+1 }}
|0=Classic_Era
|0=Classic_Era
|1=Beta_Era
|1=Beta_Era

Revision as of 00:47, 9 May 2022


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.