Template:SpecDate/doc

From RabastorWiki
< Template:SpecDate
Revision as of 08:47, 23 March 2016 by Admin (talk | contribs) (Created page with "==Usage== Edit the subpages for day, month, and year to maintain correct date here and in templates. The "ref" p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Edit the subpages for day, month, and year to maintain correct date here and in templates.

The "ref" parameter passed should be parsed by the switch function to return the correct values for day, month, and year (corresponding to the start of the referenced event or period).

For templates, where SpecDate is required, use either full form (SpecDate|ref) or the appropriate formatted version from below:

Subpage Output Format Example
SpecDate short dd/mm/yy 01/09/2230
SpecDate dev yyyy-mm-dd 2230-09-01