Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

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|1979/11/05}}</nowiki>}} retur...")
 
 
Line 5: Line 5:
==Return==
==Return==
{{Code|<nowiki>{{LongTime|1979/11/05}}</nowiki>}} returns: {{Return|{{LongTime|1979/11/05}}}}
{{Code|<nowiki>{{LongTime|1979/11/05}}</nowiki>}} returns: {{Return|{{LongTime|1979/11/05}}}}
{{Code|<nowiki>{{LongTime|{{:Game Date}}}}</nowiki>}} returns: {{Return|{{LongTime|{{:Game Date}}}}}}

Latest revision as of 20:09, 19 November 2023

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