Template:Era/doc
Jump to navigation
Jump to search
This template allows to specify localizable acronyms for different eras. Meant as a helper template to {{Other date}}.
Usage
{{Era |1= |2= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Era:
| empty | required | |
2 | date | empty | required | |
lang | language code (only needs to be provided if the language shall be fixed and independent of the user's preferences) | language code of the user language | 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
== Localization ==
Translations at module:i18n/complex date
Examples
{{Era|BC|900|lang=en}}
→ 900 BC{{Era|AD|900|lang=pl}}
→ 900 AD{{Era|AH|387|lang=ar}}
→ 387 AH{{Era|BP|900|lang=ja}}
→ 900 BP