Skabelon:Cirka
ca.
Denne skabelon bør ikke anvendes i skabeloner for kildeangivelse som f.eks. Citation Style 1 og Citation Style 2, da den indeholder markup som vil forurene COinS metadata som de producerer; se COinS i Wikipedia. |
Usage
This template generates an abbreviation for cirka: ca. By default the abbreviation is marked with <abbr>
.
Examples
Syntax | What it looks like | Notes |
---|---|---|
{{cirka}} 1325
|
ca. 1325 | Default style; line break allowed between "ca." and "1325"; normal-width space |
{{cirka|1325}}
|
ca. 1325 | Default style: no line break allowed; thin space |
{{cirka|1325|i=yes}}
|
ca. 1325 | With italic "c.", though italics are discouraged at en:MOS:cirka |
{{cirka|1325|lk=abbr}}
|
ca. 1325 | With abbreviation marking only (default) |
{{cirka|1325|lk=yes}}
|
ca. 1325 | With link only |
{{cirka|1325|lk=no}}
|
ca. 1325 | With neither link nor abbreviation marking |
{{cirka|1000|1050}}
|
ca. 1000 – ca. 1050 | For ranges |
Parameters
Using the date itself as parameter (for example, "{{cirka|1956}}
", giving "ca. 1956"), web browsers do not insert a line break anywhere in the string. By contrast, "{{cirka}} 1956
" allows a line break between the "ca." and the number. Also, with the date as a parameter a thinner space is used with many browsers:
- "ca. 1956" is generated by "
{{cirka|1956}}
". - "ca. 1956" is generated by "
{{cirka}} 1956
".
If the parameter |i=
is set to a non-empty value, the "c." is put in italics: for example, "{{cirka|i=''}}
" generates "ca." instead of "ca.".
If the parameter |lk=
(for "link") is set as "|lk=no
" or "|lk=off
", the abbreviation is rendered as "ca.", without a wikilink or abbreviation element. If it is set to "|lk=abbr
", it is rendered with the abbreviation element but without the wikilink. If it is set to "|lk=yes
" or "|lk=on
", it is rendered as "ca.", with a wikilink to the cirka article and not an abbreviation element. Otherwise, the abbreviation is marked with the "<abbr>
" element, as in "ca.", and linked to the cirka article. The lk
parameter can be used to avoid overuse of "<abbr>
" or overlinking when this template is used repeatedly in the body of an article. For example:
[[Dionysius Exiguus]] was born {{cirka|470}}, lived in Rome from {{cirka|lk=no|500}}, and died {{cirka|lk=no|544}}.
- → Dionysius Exiguus was born ca. 470, lived in Rome from ca. 500, and died ca. 544.
If the parameter "cap=yes
" is specified, the result starts with a capital letter.
See also
- {{Reign}}
Templatedata
Cirka
Ingen beskrivelse.
Parameter | Beskrivelse | Type | Status | |
---|---|---|---|---|
sortable | sortable | ingen beskrivelse | Ukendt | valgfri |
year | 1 | ingen beskrivelse | Streng | foreslået |
italicize? | i | If non-empty, italicizes 'c.'
| Streng | valgfri |
link? | lk | If 'yes' or 'on', links to 'cirka' article. If 'no' or 'off', does not title 'cirka'.
| Streng | valgfri |
end year | 2 | ingen beskrivelse | Streng | valgfri |