Template:Hodie

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(add switch for short date)
m (try to get rid of extra space)
 
Line 1: Line 1:
{{{{LOCALMONTHABBREV}} {{LOCALDAY}}|i}} {{#switch:{{lc:{{{1|}}}}}|s=&nbsp;|#default={{{{CURRENTYEAR}} }}}}<noinclude>
+
{{{{LOCALMONTHABBREV}} {{LOCALDAY}}|i}} {{#switch:{{lc:{{{1|}}}}}|s=|#default={{{{CURRENTYEAR}} }}}}<noinclude>
  
 
==Usage==
 
==Usage==

Latest revision as of 06:52, 5 October 2008

a.d. X 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.

Personal tools