Template:Stardate: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} | {{#if: {{{2|}}} | {{#if: {{{3|}}} | {{#expr:{{{1|}}}+377}}{{{2|}}}.{{{3|}}} | {{#expr:{{#time: Y }}+377}}{{#time: m.d }} }} | {{#expr:{{#time: Y }}+377}}{{#time: m.d }} }} | {{#expr:{{#time: Y }}+377}}{{#time: m.d }} }}</includeonly><noinclude>This template will automatically convert a arbitrary date to the one used inside UFOP, as outlined [[Calculating stardates|Here]]. If no date is passed to it, it will default to the current date.
<includeonly>{{#if: {{{1|}}} | {{#if: {{{2|}}} | {{#if: {{{3|}}} | {{#expr:{{{1|}}}+377}}{{{2|}}}.{{{3|}}} | {{#expr:{{#time: Y }}+377}}{{#time: m.d }} }} | {{#expr:{{#time: Y }}+377}}{{#time: m.d }} }} | {{#expr:({{CURRENTYEAR}}+377)}}{{CURRENTMONTH}}.{{CURRENTDAY2}} }}</includeonly><noinclude>This template will automatically convert a arbitrary date to the one used inside UFOP, as outlined [[Calculating stardates|Here]]. If no date is passed to it, it will default to the current date.


==How to use==
==How to use==