Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:LongTime/Documentation: Difference between revisions

(Created page with "<includeonly>Category:Time Template</includeonly> {{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 {{Parameter|mandatory|string}}, the date to be processed. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: {{Code|yyyy/mm/dd}}. ==Return== {{Code|<nowiki>{{LongTime|2059/12/19}}</nowiki>}} retur...")
 
No edit summary
 
Line 4: Line 4:
It has one {{Parameter|mandatory|string}}, the date to be processed. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: {{Code|yyyy/mm/dd}}.
It has one {{Parameter|mandatory|string}}, the date to be processed. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: {{Code|yyyy/mm/dd}}.
==Return==
==Return==
{{Code|<nowiki>{{LongTime|2059/12/19}}</nowiki>}} returns: {{Return|{{LongTime|2059/12/19}}}}
{{Code|<nowiki>{{LongTime|1979/11/05}}</nowiki>}} returns: {{Return|{{LongTime|1979/11/05}}}}
{{Code|<nowiki>{{LongTime|{{:Game Date}}}}</nowiki>}} returns: {{Return|{{LongTime|{{:Game Date}}}}}}
{{Code|<nowiki>{{LongTime|{{:Game Date}}}}</nowiki>}} returns: {{Return|{{LongTime|{{:Game Date}}}}}}

Latest revision as of 08:44, 2 November 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