Template:ErasNavigation: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Nicosecci
(First released version)
>FranchuFranchu
No edit summary
Line 4: Line 4:
|<table border="0" align="center">
|<table border="0" align="center">
<tr><td><center>{{#ifeq: {{{1}}} | 1 | | [[{{#switch: {{ #expr: {{{1}}}-1 }}
<tr><td><center>{{#ifeq: {{{1}}} | 1 | | [[{{#switch: {{ #expr: {{{1}}}-1 }}
|0=Classic Era
|1=Beta Era
|1=Beta Era
|2=Beginning Era
|2=Beginning Era
Line 16: Line 17:
}}]]
}}]]
[[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://earthmc.fandom.com/wiki/{{#switch: {{ #expr: {{{1}}}-1 }}
|0=Classic_Era
|1=Beta_Era
|1=Beta_Era
|2=Beginning_Era
|2=Beginning_Era
Line 29: Line 31:
</center></td><td>{{#ifeq: {{{1}}} | 1 | | '''⇦''' }}
</center></td><td>{{#ifeq: {{{1}}} | 1 | | '''⇦''' }}
</td><td><center>{{#switch: {{{1}}}
</td><td><center>{{#switch: {{{1}}}
|0=December - October 19st<br />2016-2018
|1=October 19th - October 31st<br />2018
|1=October 19th - October 31st<br />2018
|2=November 1st - December 13th<br />2018
|2=November 1st - December 13th<br />2018
Line 42: Line 45:
[[File:Era{{ #expr: {{{1}}}}}.png|center|thumb|70px]]
[[File:Era{{ #expr: {{{1}}}}}.png|center|thumb|70px]]
'''{{#switch: {{ #expr: {{{1}}}}}
'''{{#switch: {{ #expr: {{{1}}}}}
|0=Classic Era
|1=Beta Era
|1=Beta Era
|2=Beginning Era
|2=Beginning Era
Line 55: Line 59:
</center></td><td>'''⇨'''
</center></td><td>'''⇨'''
</td><td><center>[[{{#switch: {{ #expr: {{{1}}}+1 }}
</td><td><center>[[{{#switch: {{ #expr: {{{1}}}+1 }}
|0=Classic Era
|1=Beta Era
|1=Beta Era
|2=Beginning Era
|2=Beginning Era
Line 68: Line 73:
}}]]
}}]]
[[File:{{#ifeq: {{{1}}} | 9 | transparentblank | Era{{ #expr: {{{1}}}+1}}}}.png|center|thumb|40px|link=https://earthmc.fandom.com/wiki/{{#switch: {{ #expr: {{{1}}}+1 }}
[[File:{{#ifeq: {{{1}}} | 9 | 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
|1=Beta_Era
|2=Beginning_Era
|2=Beginning_Era

Revision as of 15:47, 15 April 2020


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 highlited. DO NOT remove the Q lines in any case, just add a new one with the era number.

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