Jump to content

User:Timeshifter/Sandbox313

From Wikipedia, the free encyclopedia

Save this. It may be linked from Phabricator task.

Parameter Description Type Status
Full date or year 1 Full date if second to fourth parameters are not specfied, otherwise year. Full date can be either in "YYYY-MM-DD", "DD-MM-YYYY", "DD Month YYYY", "Month DD, YYYY", "YYYY-MM", "DD Month", "Month DD", "Month YYYY" or "Month" format. Year is either a positive number or a negative number. If fourth parameter is not specified negative numbers are interpreted as years of BC era. Parameter is optional if the second parameter is specified.
Example
"1893", "-89", "-10000", "Oct", "February 1767", "12 Aug 1987", "July 1, 1867", "25 October", "Jan 1", "2014-12-09"
String required
Month 2 Full or abbreviated month name or alternatively, a month number which can be zero-padded. Parameter is optional if the third parameter is not specified.
Example
February, Feb, 2 or 02
String optional
Day 3 Day, optionally zero-padded
Example
7 or 07
Number optional
Era 4 BC, AD, BCE or CE. Takes effect only if the first parameter is a positive number. String optional
Format format Controls the output format. Can be "dmy", "dm", "mdy", "md", "my", "d", "m", "y" or "hide". String optional
Abbreviation abbr Abbreviates the month name
Default
off
Example
on
String optional
Additional sort key addkey Adds another sort key to resolve conflicts between rows with the same date
Example
3
Number optional
Wrapping nowrap To allow wrapping use the ''nowrap=off'' parameter.
Default
on
Example
off
Boolean optional