Template:Date: Difference between revisions
From All Skies Encyclopaedia
imported>Nsaa (+) |
imported>Nsaa (table) |
||
Line 17: | Line 17: | ||
*Parameter 2 set it to n if the date should not be wikified. |
*Parameter 2 set it to n if the date should not be wikified. |
||
{| class="wikitable" style="margin: 1em auto 1em auto" |
|||
⚫ | |||
|+ '''Cells left-aligned, table centered''' |
|||
! DMY || MDY |
|||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|} |
|||
{{evd|ISOtodmymdy|2007-01-24|y|mdy}} |
|||
{{evd|ISOtodmymdy|2006-05-04|n}} |
|||
⚫ | |||
{{evd|ISOtodmymdy|2006-5-4|n}} |
|||
⚫ | |||
{{evd|ISOtodmymdy|2006-5-04|n}} |
|||
⚫ | |||
{{evd|ISOtodmymdy|2006-05-4|n}} |
|||
⚫ | |||
{{evd|ISOtodmymdy|May 4th, 2006|n}} |
|||
⚫ | |||
===Date strings #time function doesn't interpretes returns only the string === |
===Date strings #time function doesn't interpretes returns only the string === |
Revision as of 16:06, 10 November 2008
Usage
- Parameter 1 is the date given on ISO 8601 formate YYYY-MM-DD (#time). The template shows the date on the format D MMMM YYYY which is one of the de facto standards on english Wikipedia, see Wikipedia:MOS:DATE.
- Parameter 2 set it to n if the date should not be wikified.
DMY | MDY |
---|---|
Template:Evd | Template:Evd |
Template:Evd | Template:Evd |
Template:Evd | Template:Evd |
Template:Evd | Template:Evd |
Template:Evd | Template:Evd |
Template:Evd | Template:Evd |
Date strings #time function doesn't interpretes returns only the string
Template:Evd BUG
Template:Evd BUG
- outside the #time functions limits
Template:Evd, {{#time:c|1901-12-13}} gives 1901-12-13T00:00:00+00:00
Template:Evd, {{#time:c|1901-12-14}} gives 1901-12-14T00:00:00+00:00 (#time er riv ruskende gal, justert for i mal for alle disse tilfellene)
Template:Evd, {{#time:c|1970-01-01}} gives 1970-01-01T00:00:00+00:00
Template:Evd (riktig, første dato innenfor), {{#time:c|1970-01-02}} gives 1970-01-02T00:00:00+00:00
Template:Evd (riktig, siste dato innenfor), {{#time:c|2038-01-19}} gives 2038-01-19T00:00:00+00:00
Template:Evd, {{#time:c|2038-01-20}} gives 2038-01-20T00:00:00+00:00