Difference between revisions of "Template:Start date and age"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Fix calculation of years or months ago when input is |year|month| (no day) or |year| (no month or day). Allow "p" as parameter name instead of "paren". Use Template:Yesno for optional parameters that current only accept "yes": df, br, p.)
(generate correct microformat ISO 8601 date using two-digit month number even if month given as name or abbreviation)
Line 37: Line 37:
 
   -->|{{{1}}}<!--
 
   -->|{{{1}}}<!--
 
   -->{{#if: {{{2|}}}<!--
 
   -->{{#if: {{{2|}}}<!--
     -->| -{{padleft:{{{2}}}|2|0}}<!--
+
     -->| -{{#time:m|1-{{{2}}}-1}}<!--
 
       -->{{#if: {{{3|}}}<!--
 
       -->{{#if: {{{3|}}}<!--
 
         -->| -{{padleft:{{{3}}}|2|0}}<!--
 
         -->| -{{padleft:{{{3}}}|2|0}}<!--

Revision as of 22:01, 5 October 2013

Template:Being merged

Documentation icon Template documentation[create]