Template:Circa/doc
Jump to navigation
Jump to search
![]() | Uses Lua: |
This template allows to specify "circa" for a date, in a format that is localizable.
Usage
{{Circa |1= |2= |3= |4= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | year | year | empty | required |
2 | month | month | empty | optional |
3 | day | day | empty | optional |
4 lang | language | language code (only needs to be provided if the language shall be fixed and independent of the user's preferences) | value of {{int:Lang}} | optional |
era | era | Era:
| empty | optional |
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
Relies on:
module:Complex date
See also
Translations at module:i18n/complex date
The template is similar to one of the options of Template:Other date.
If parameters 2 and 3 are empty or undefined, parameter 1 can contain not just a year but any text. In this case the local term for "circa" is prefixed or postfixed, depending on the language, but the text is not changed.
Examples
Code | Output |
---|---|
{{circa|1999}} {{circa|1999|2}} {{circa|1999|2|3}}
|
circa 1999 circa February 1999 |