Template:BC/sandbox/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This is the sandbox version of the heavily used {{BC}} template.

Return the localized name of the BC/BCE era (in the Julian or Gregorian calendars). May be formatted with superscripts for abbreviations (possibly with HTML titles for hints) according to conventions of the target language. It is usually an abbreviation of either "before Christ" or "before common era".

Usage

{{BC}}

Other supported languages not listed in the example table below are pre-rendered above this documentation panel only for the 20th century. This template does not generate any indication of the type of Roman calendar (you may indicate if needed, within parentheses after the returned label, the precision for the Republican Roman, Julian, Revised Julian, or Gregorian calendar used, and if they are possibly proleptic).

This template may not be usable in all languages for calendars that are not based on a Roman calendar, because they have different orthographic conventions and don't necessarily refer to the same epoch for negative centuries, noted differently (e.g. for islamic calendars based on the Egere epoch).

Template parameters

ParameterDescriptionDefaultStatus
langlanguage codeBCP 47 code of the language to use for translating the returned label; by default the label will be returned in the current user's language. Use "en" to return the default label in English that shouyold be used in page names for Commons categories and gallery pages (does not contain any HTML formatting, and uses only Latin Arabic digits).{{int:Lang}}optional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

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)

Examples

For performance reasons, only a few examplar languages (LTR, RTL...) are shown here. The full list of supported languages is displayed above this documentation panel.

{{BC/sandbox}} BCE
{{BC/sandbox|lang=ar}} ق.م.
{{BC/sandbox|lang=de}} v. Chr.
{{BC/sandbox|lang=en}} BCE
{{BC/sandbox|lang=es}} a. C.
{{BC/sandbox|lang=fr}} av. J.-C.
{{BC/sandbox|lang=he}} לפנה"ס
{{BC/sandbox|lang=id}} SM
{{BC/sandbox|lang=it}} a.e.v.
{{BC/sandbox|lang=ja}} 紀元前
{{BC/sandbox|lang=ko}} 기원전
{{BC/sandbox|lang=my}} ဘီစီ
{{BC/sandbox|lang=nl}} v.Chr.
{{BC/sandbox|lang=or}} ଖ୍ରୀଷ୍ଟପୂର୍ବ
{{BC/sandbox|lang=ps}} پیړۍ
{{BC/sandbox|lang=pt}} a.e.v.
{{BC/sandbox|lang=ru}} до н. е.‎
{{BC/sandbox|lang=si}} ක්‍රි.පූ
{{BC/sandbox|lang=sr}} пне.
{{BC/sandbox|lang=ta}} கிமு
{{BC/sandbox|lang=te}} క్రీస్తుపూర్వం
{{BC/sandbox|lang=th}} คริสต์
{{BC/sandbox|lang=tr}}
{{BC/sandbox|lang=tt}} б. э. к.
{{BC/sandbox|lang=uk}} до н.
{{BC/sandbox|lang=ur}} ق.م.
{{BC/sandbox|lang=vi}} TCN
{{BC/sandbox|lang=zh}} 公元前