Template: Date

From Trekipedia
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>[[{{{2|}}}{{#switch:{{{1|}}}|Prime=|#default=&nbsp;({{{1}}})}}&#35;{{#if:{{{4|}}}
+
<includeonly>[[{{{2|}}}{{#switch:{{{timeline|}}}|Prime=|#default=&nbsp;({{{timeline}}})}}&#35;{{#if:{{{day|}}}
|{{#switch:{{{3|}}}
+
|{{#switch:{{{month|}}}
|1=JAN{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|1=JAN{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|2=FEB{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|2=FEB{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|3=MAR{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|3=MAR{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|4=APR{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|4=APR{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|5=MAY{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|5=MAY{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|6=JUN{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|6=JUN{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|7=JUL{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|7=JUL{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|8=AUG{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|8=AUG{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|9=SEP{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|9=SEP{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|10=OCT{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|10=OCT{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|11=NOV{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|11=NOV{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
|12=DEC{{#switch:{{{4|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{4}}}}}
+
|12=DEC{{#switch:{{{day|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|#default={{{day}}}}}
 
}}
 
}}
|{{#switch:{{{3|}}}
+
|{{#switch:{{{month|}}}
 
|1=January
 
|1=January
 
|2=February
 
|2=February
Line 28: Line 28:
 
|12=December
 
|12=December
 
}}
 
}}
|}}|{{#if:{{{4|}}}|{{{4}}}&nbsp;|}}{{#if:{{{3|}}}|{{#switch:{{{3|}}}
+
|}}|{{#if:{{{day|}}}|{{{day}}}&nbsp;|}}{{#if:{{{month|}}}|{{#switch:{{{month|}}}
 
|1=Jan&nbsp;
 
|1=Jan&nbsp;
 
|2=Feb&nbsp;
 
|2=Feb&nbsp;
Line 41: Line 41:
 
|11=Nov&nbsp;
 
|11=Nov&nbsp;
 
|12=Dec&nbsp;
 
|12=Dec&nbsp;
}}|}}{{{2|}}}]]</includeonly><noinclude>
+
}}|}}{{{year|}}}]]</includeonly><noinclude>
 
&#123;&#123;Date|timeline|year|month|day&#125;&#125;
 
&#123;&#123;Date|timeline|year|month|day&#125;&#125;
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:53, 11 July 2023

{{Date|timeline|year|month|day}}