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

Revision as of 20:07, 19 November 2023 by Mr. Johnson (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

Error: Invalid time.