No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#time: l, F j, Y {{{1|}}}}}</onlyinclude></includeonly> | <includeonly><onlyinclude>{{#time: l, F j, Y |{{{1|}}}}}</onlyinclude></includeonly> | ||
Revision as of 14:23, 24 October 2022
Template:LongTime is used to format text strings into a common date-and-day format. In truth, it should be called LongDate, but me love you long time.
Usage
It has one mandatory string parameter, the date to be processed. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: yyyy/mm/dd.
Return
{{LongTime|1979/11/05}} returns: Monday, November 5, 1979
{{LongTime|{{:Game Date}}}} returns: Saturday, May 15, 2060
The documentation above was transcluded from Template:LongTime/Documentation. [edit]
