Jump to content

Template:Loredate: Difference between revisions

Testing adding all Eras + Academical system
m Fixed typo
Line 23: Line 23:
}}, {{#if: {{{long|}}}|Year |}}}} {{#if: {{#ifexpr: {{#time: U|{{{date|}}}}} > 955749600}}{{{academical|}}}
}}, {{#if: {{{long|}}}|Year |}}}} {{#if: {{#ifexpr: {{#time: U|{{{date|}}}}} > 955749600}}{{{academical|}}}
| {{#expr: 1291 + ((((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0)}} [[Academical system|AE]]
| {{#expr: 1291 + ((((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0)}} [[Academical system|AE]]
| {{#ifexpr: {{#time: Y|{{{date|}}}}} > 2024 | {{#expr: (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0}} {{#if: {{{long|}}}|of the [[Third Era]]|[[Third Era|3E]]}} | {{#ifexpr: {{#time: U|{{{date|}}}}} > 1282078799 | {{#expr: 750 + ((((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0)}} {{#if: {{{long|}}}|of the [[Second Era]]|[[Second Era|2E]]}} | {{#expr: 1291 + ((((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0)}} {{#if: {{{long|}}}|of the [[First Era]]|[[First Era|2E]]}}}}}}}}<noinclude>
| {{#ifexpr: {{#time: Y|{{{date|}}}}} > 2024 | {{#expr: (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0}} {{#if: {{{long|}}}|of the [[Third Era]]|[[Third Era|3E]]}} | {{#ifexpr: {{#time: U|{{{date|}}}}} > 1282078799 | {{#expr: 750 + ((((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0)}} {{#if: {{{long|}}}|of the [[Second Era]]|[[Second Era|2E]]}} | {{#expr: 1291 + ((((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2) + (((({{#time: Y|{{{date|}}}}} - 2025) * 365) + {{#time: z|{{{date|}}}}} + 2)/1154 round 0))/7 round 0)}} {{#if: {{{long|}}}|of the [[First Era]]|[[First Era|1E]]}}}}}}}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 19:02, 20 July 2025

Vale 26, 30 3E