Difference between revisions of "Template:ISO date/doc"
Jump to navigation
Jump to search
imported>Trödel m (update) |
imported>Trödel (fix up documentation) |
||
| Line 7: | Line 7: | ||
Designed and used for [[Comparison of temples of The Church of Jesus Christ of Latter-day Saints]] until it can be generalized | Designed and used for [[Comparison of temples of The Church of Jesus Christ of Latter-day Saints]] until it can be generalized | ||
| − | The template accepts one parameter - | + | The template accepts one parameter - which must be unnamed. For example: |
*{<nowiki>{</nowiki>ISO date|15 January 2001}} returns {{ISO date|15 January 2001}} | *{<nowiki>{</nowiki>ISO date|15 January 2001}} returns {{ISO date|15 January 2001}} | ||
| − | *{<nowiki>{</nowiki>ISO date| | + | *{<nowiki>{</nowiki>ISO date|March 2003}} returns {{ISO date|March 2003}} |
=== See also === | === See also === | ||
Revision as of 02:29, 11 November 2008
| 40px | This is a documentation subpage for Template:ISO date. It contains usage information, categories and other content that is not part of the original template page. |
This template converts dates formatted as DD MMMM YYYY, MMMM YYYY to a date formatted as YYYY-MM-DD or YYYY-MM
Usage
This template only converts dates formated in one of these formats to an ISO date (a generalized version exists in the history but it will not work consistently because of the number of #time codes used in the calling template.
Designed and used for Comparison of temples of The Church of Jesus Christ of Latter-day Saints until it can be generalized
The template accepts one parameter - which must be unnamed. For example:
- {{ISO date|15 January 2001}} returns 2001-01-15
- {{ISO date|March 2003}} returns 2003-03