Difference between revisions of "Template:Date"

From Stellar Empire
Jump to navigation Jump to search
(Fixed CE time and added ability to come from a non-Skywatch Calendar)
(Added the FCC to the from calendar)
Line 6: Line 6:
  | from = {{#switch: {{{3|}}}
  | 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}}) |}}
   | ce = [[Gregorian Calendar|CE]] [[{{#expr: 2900 + ({{{1}}}/5) round 5}}|{{{1}}}]] {{#ifeq:{{{4}}} | true | ([[Skywatch Year|SY]] {{#expr: 2900 + ({{{1}}}/5) round 5}}) |}}
  }}
  | fcc = [[Free Colonies Calendar|FCC]] [[{{#expr: 2620 + {{{1}}}}}|{{{1}}}]] {{#ifeq:{{{4}}} | true | ([[Skywatch Year|SY]] {{#expr: 2620 + {{{1}}}}}) |}}
   }}
   }}
}}
}}

Revision as of 16:37, 12 July 2023

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