Template:Before
Jump to navigation
Jump to search
This documentation is transcluded from Template:Before/doc.
The template renders a time indication like before 5 May 1987 in the language set in the preferences.
Usage
{{Before |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Date indicating the beginning of the period. Any proleptic Gregorian calendar or Gregorian calendar date between 1 January 1 AD and 31 December 9999 AD. Dates BC are not yet supported. Also incomplete dates are allowed: just the year or the year and the month. A year has to be written in full 4-digit, without leading zeros. Optionally it is followed by a dash and a 2-digit month number; optionally this is followed by a dash and a 2-digit day number; optionally this is followed by the time. | empty | required |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)
Example
{{Before|2010}}
: before 2010{{Before|2010-08}}
: before August 2010{{Before|2010-08-18}}
: before 18 August 2010