Template:Days since: Difference between revisions
m create documentation subpage |
imported>JPxG No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude><!-- | <noinclude><!-- | ||
-======================================================================== | -======================================================================== | ||
- Days | - Days between the last-edited date of a page, and a date formatted as %Y %b $d (four-digit year, month name, and day). | ||
- Day can be zero-padded or not. Month MUST be supplied as "Feb" or "February". | |||
- This won't work for timestamps with numbers (like "1969 12 31"). | |||
-======================================================================== | -======================================================================== | ||
--></noinclude>{{ | --></noinclude><includeonly>{{#ifexist:{{{3|}}}<!-- | ||
# | |||
If three parameters are supplied, parse them as "YYYY", "MM", and "DD", and supply them as "DD Month YYYY". | |||
-->|{{Time ago|{{{3}}} {{MONTHNAME|{{{2}}}}} {{{1}}}|magnitude=days|ago=|numeric=y}}<!-- | |||
If one parameter is supplied, parse and supply it as "DD Month YYYY". | |||
-->|{{Time ago|{{{1}}}|magnitude=days|ago=|numeric=y}}<!-- | |||
-->}}</includeonly> | |||
<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> | <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> | ||
</noinclude> | </noinclude> | ||