Difference between revisions of "Template:Date"

From Stellar Empire
Jump to navigation Jump to search
m
(Fixed CE time and added ability to come from a non-Skywatch Calendar)
Line 3: Line 3:
  | fcc = [[Free Colonies Calendar|FCC]] [[{{{1}}}|{{#expr:{{{1}}}-2620}}]] {{#ifeq:{{{3}}} | false | | ([[Skywatch Year|SY]] {{{1}}})}}
  | fcc = [[Free Colonies Calendar|FCC]] [[{{{1}}}|{{#expr:{{{1}}}-2620}}]] {{#ifeq:{{{3}}} | false | | ([[Skywatch Year|SY]] {{{1}}})}}
  | gu = [[Grand Unification|GU]] [[{{{1}}}|{{#expr:{{{1}}}-3197}}]] {{#ifeq:{{{3}}} | true | ([[Skywatch Year|SY]] {{{1}}}) |}}
  | gu = [[Grand Unification|GU]] [[{{{1}}}|{{#expr:{{{1}}}-3197}}]] {{#ifeq:{{{3}}} | true | ([[Skywatch Year|SY]] {{{1}}}) |}}
  | ce = [[Gregorian Calendar|CE]] [[{{{1}}}|{{#expr:(({{{1}}}-1282+5)}}]] {{#ifeq:{{{3}}} | true | ([[Skywatch Year|SY]] {{{1}}}) |}}
  | ce = [[Gregorian Calendar|CE]] [[{{{1}}}|{{#expr:({{{1}}}-2900)*5}} - {{#expr:(({{{1}}}-2900)*5)+5}}]] {{#ifeq:{{{3}}} | true | ([[Skywatch Year|SY]] {{{1}}}) |}}
| from = {{#switch: {{{3|}}}
  | ce = [[Gregorian Calendar|CE]] [[{{#expr: 2900 + ({{{1}}}/5) round 5}}|{{{1}}}]] {{#ifeq:{{{4}}} | true | ([[Skywatch Year|SY]] {{#expr: 2900 + ({{{1}}}/5) round 5}}) |}}
  }}
}}
}}

Revision as of 16:23, 12 July 2023

SY [[{{{1}}}]]