Difference between revisions of "Template:Start date and age"
From Ava Zinn Wiki
[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|}}}<!-- | ||
− | -->| -{{ | + | -->| -{{#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 documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |