Template:Circa WD/labels
Description
editSubfunction of {{Circa WD}}
to determine the prefix text of the date (circa, first half, end of, ...) according to the values of the possible qualifiers:
It's not prepared to be called directly. Only as a subfunction of {{Circa WD}}
.
Syntax
edit {{Circa WD/labels | data = | circa = | moment = | before = | after =}}
- Parameters
data
: Contains the value of the date, it is, from the "property" that contains the qualifiers. To make sense of applying these types of qualifiers, the date accuracy must be years or higher (decades, centuries, etc.)circa
: Contains the Q (item) code of sourcing circumstances (P1480). It is planned to deal with "circa (Q5727902)", "presumably (Q18122778)" and "disputed (Q18912752)"moment
: Contains the Q (item) code of refine date (P4241). It is planned to deal with:
- * parts, such as beginning of (Q40719727), middle of (Q40719748), and end of (Q40719766)
- * halves, typically applicable to years, decades, or centuries first half (Q40719687) and second half (Q40719707)
- * quarters, typically applicable to centuries or millennia: first quarter (Q40690303), second quarter (Q40719649), third quarter (Q40719662), and fourth quarter (Q40719674)
The circa
and moment
parameters may co-exist together, but "DO NOT take effect if data = unknown value
.
before
: Contains the date from earliest date (P1319).after
: Contains the date from latest date (P1326).
The before
and after
parameters can appear simultaneously or separately. If both appear, the value of data
is not displayed
Examples
edit- p. First half 1200
{{Circa WD/labels | data = 1200 | circa = Q18122778 | moment = Q40719687}}
- p. unknown value
{{Circa WD/labels | data = unknown value | circa = Q18122778}}
- c. 1210 decade
{{Circa WD/labels | data = 1210 decade | circa = Q5727902}}
- d. First half 1200
{{Circa WD/labels | data = 1200 | circa = Q18912752 | moment = Q40719687}}
- p. 1200 (<1205)
{{Circa WD/labels | data = 1200 | circa = Q18122778 | before = 1205}}
- 1300's (<1305)
{{Circa WD/labels | data = 1300's | later = 1302 | before = 1305}}
- p. 15th century
{{Circa WD/labels | data = 15th century | circa = Q18122778 | later = 1410}}
- p. unknown value (<1205)
{{Circa WD/labels | data = unknown value | circa = Q18122778 | before = 1205}}
The above documentation is transcluded from Template:Circa WD/labels/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |