Template:Stardate: Difference between revisions

m
Hopefully corrected spacing error
(Updated with documentation)
m (Hopefully corrected spacing error)
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>
<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.
<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==
2,273

edits