Template:EraData: Difference between revisions
Jump to navigation
Jump to search
(Add example code) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
|name={{#switch: {{{ | |nova={{#switch: {{{2}}} | ||
|name={{#switch: {{{3}}} | |||
|0=Classic Era | |0=Classic Era | ||
|1=Beta Era | |1=Beta Era | ||
Line 17: | Line 18: | ||
|14=Hopeful Era | |14=Hopeful Era | ||
|15=Stasis Era | |15=Stasis Era | ||
|16=Premium Era | |||
|17=Dawn Era | |||
|18=Construction Era | |||
|19=Apprehension Era | |||
|20=Grace Era | |||
|Q=ERA NAME | |Q=ERA NAME | ||
}} | }} | ||
|link=https://wiki.earthmc.net/wiki/{{#switch: {{{ | |link=https://wiki.earthmc.net/wiki/{{#switch: {{{3}}} | ||
|0=Classic_Era | |0=Classic_Era | ||
|1=Beta_Era | |1=Beta_Era | ||
Line 36: | Line 42: | ||
|14=Hopeful_Era | |14=Hopeful_Era | ||
|15=Stasis_Era | |15=Stasis_Era | ||
|16=Premium_Era | |||
|17=Dawn_Era | |||
|18=Construction_Era | |||
|19=Apprehension_Era | |||
|20=Grace_Era | |||
|Q=ERA_NAME | |Q=ERA_NAME | ||
}} | }} | ||
|date={{#switch: {{{ | |date={{#switch: {{{3}}} | ||
|0=December - October 19st | |0=December - October 19st | ||
|1=October 19th - October 31st | |1=October 19th - October 31st | ||
Line 54: | Line 65: | ||
|13=August 20th - November 5th | |13=August 20th - November 5th | ||
|14=November 6th - February 17th | |14=November 6th - February 17th | ||
|15=February 18th - | |15=February 18th - April 30th | ||
|16=May 1st - May 13th | |||
|17=May 14th - August 27th | |||
|18=August 28th - March 13th | |||
|19=March 14th - September 30th | |||
|20=October 1st - Present | |||
|Q=FROM - TO}} | |Q=FROM - TO}} | ||
|years={{#switch: {{{ | |years={{#switch: {{{3}}} | ||
|0=2016-2018 | |0=2016-2018 | ||
|1=2018 | |1=2018 | ||
Line 73: | Line 89: | ||
|14=2021-2022 | |14=2021-2022 | ||
|15=2022 | |15=2022 | ||
|16=2022 | |||
|17=2022 | |||
|18=2022-2023 | |||
|19=2023 | |||
|20=2023 | |||
|Q=YEAR | |Q=YEAR | ||
}} | }} | ||
|image_name=File:Era{{{ | |image_name=File:Era{{{3}}}.png | ||
}}</includeonly> | }} | ||
|aurora=Unimplemented | |||
|classic=Unimplemented}}</includeonly> | |||
<noinclude> | <noinclude> | ||
This holds all the data for | This holds all the data for eras. | ||
Example usage: | Example usage: | ||
The era with name {{Template:NovaEraData|name|2}}lasted {{Template:NovaEraData|date|2}}, in {{Template:NovaEraData|years|2}}and its link is {{Template:NovaEraData|link|2}} | The era with name {{Template:NovaEraData|nova|name|2}}lasted {{Template:NovaEraData|nova|date|2}}, in {{Template:NovaEraData|nova|years|2}}and its link is {{Template:NovaEraData|nova|link|2}} | ||
Source code: | Source code: | ||
<nowiki> The era with name {{Template:NovaEraData|name|2}}lasted {{Template:NovaEraData|date|2}}, in {{Template:NovaEraData|years|2}}and its link is {{Template:NovaEraData|link|2}}</nowiki> | <nowiki> The era with name {{Template:NovaEraData|nova|name|2}}lasted {{Template:NovaEraData|nova|date|2}}, in {{Template:NovaEraData|nova|years|2}}and its link is {{Template:NovaEraData|nova|link|2}}</nowiki> | ||
</noinclude> | </noinclude> |
Latest revision as of 19:40, 6 November 2023
This holds all the data for eras.
Example usage:
The era with name Beginning Era lasted November 1st - December 13th , in 2018 and its link is https://wiki.earthmc.net/wiki/Beginning_Era
Source code:
The era with name {{Template:NovaEraData|nova|name|2}}lasted {{Template:NovaEraData|nova|date|2}}, in {{Template:NovaEraData|nova|years|2}}and its link is {{Template:NovaEraData|nova|link|2}}