Template:Dateserial

From Macross Compendium

A serial date format that links like Template:Tl.

Usage

{{ Dateserial | YEAR | MONTH | DAY }}

Example

{{Dateserial|2008|04|04}}
{{#ifexpr:(2008<1964)|2008|2008}}-[[{{#expr:04}} {{#switch: 04
   |01=January
   |02=February
   |03=March
   |04=April
   |05=May
   |06=June
   |07=July
   |08=August
   |09=September
   |10=October
   |11=November
   |12=December
   |#default=OOPS!

}}|{{#expr:04}}-04]]