Template:Hodie
From NovaRoma
(Difference between revisions)
(add switch for short date) |
m (try to get rid of extra space) |
||
Line 1: | Line 1: | ||
− | {{{{LOCALMONTHABBREV}} {{LOCALDAY}}|i}} {{#switch:{{lc:{{{1|}}}}}|s= | + | {{{{LOCALMONTHABBREV}} {{LOCALDAY}}|i}} {{#switch:{{lc:{{{1|}}}}}|s=|#default={{{{CURRENTYEAR}} }}}}<noinclude> |
==Usage== | ==Usage== |
Latest revision as of 06:52, 5 October 2008
a.d. XI Kal. Dec. ‡ M. Cotta C. Petronio cos. ‡ MMDCCLXXVII a.u.c.
Usage
{{Hodie}}
- Always returns the correct Roman date.
- Adjusts for leap year.
- Links to explanatory material.
- Links are globalized.
pass first parameter "s" for "short" date, i.e., no year.