Template:Other date
Inne akcje
(ta część dokumentacji dostępna jest tylko w niektórych językach)
This template allows translation (localization) of many non-trivial phrases related to date description. This template has similar but more limited capabilities than {{Complex date}}. Please use {{Complex date}} instead of nesting {{Other date}} templates (calling {{Other date}} with inputs being other {{Other date}} templates).
Szablon automatycznie dodaje następujące kategorie:
- Category:Pages using Complex date template with incorrect parameter (when errors are detected)
- Category:Unknown date (when dates are unknown, see also Template:Unknown)
- Category:Pages using Other date template with era
Wykorzystanie
{{Other date |1= |2= }}
Parametry szablonu
| Parametr | Opis | Wartość domyślna | Status | |
|---|---|---|---|---|
1 | type | Type of date notation. See examples below for list of allowed options. Pages using incorrect option will be added to Category:Pages using Complex date template with incorrect parameter. | empty | wymagany |
2 | date 1 | A date in ISO 8601 format "YYYY-MM-DD", or "YYYY-MM", or "YYYY", e.g. "2006-01-15" for "15 January 2006" or a number for centuries and millennia. | empty | wymagany |
3 | date 2 | Depends on type. If used than it is a date in ISO 8601 format. See Parameter #2 for details. | empty | opcjonalny |
era | era |
| empty | opcjonalny |
certainty | certainty | Certainty of the statement. Supported values: possibly, probably, presumably and circa ("circa" can be also used as adjective). This parameter was added to allow compatibility with Wikidata's sourcing circumstances qualifier when used to describe a date. | empty | opcjonalny |
lang | language | 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) | opcjonalny |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Istniejąca dokumentacja szablonu At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either Newly created template documentation and imports Another option, especially for imported templates, or for users with JSON experience, is placing raw Wikipedia's help about TemplateData • Informacje charakterystyczne dla Commons This template allows translation (localization) of many non-trivial phrases related to date description. This template has similar but more limited capabilities than {{Complex date}}. Please use {{Complex date}} instead of nesting {{Other date}} templates (calling {{Other date}} with inputs being other {{Other date}} templates).
| |||||||||||||||||||||||||||||||||||
Dodatkowe informacje
Szablon jest przeznaczony do użytkowania w następujących przestrzeniach: wszystkie przestrzenie
Szablon jest przeznaczony do użytkowania dla grupy: wszyscy użytkownicy
Bazuje na:
See also
(ta część dokumentacji dostępna jest tylko w niektórych językach)
== Tłumaczenia ==
(ta część dokumentacji dostępna jest tylko w niektórych językach)
Please note that phrases without translations into desired language will be shown in English using red font, to add translations please request an edit to Module:I18n/complex date
Examples
date notations with two dates
| {{{1}}} parameter | Example Code | Output |
|---|---|---|
-
|
{{other date|-|1999|2000}} {{other date|-|1999-01|2000-02}} {{other date|-|1999-01-01|2000-02-01}} |
od 1999 do 2000 |
?
|
{{other date|?|1800|1825}} |
nieznana data[1] |
between
|
{{other date|between|1999|2000}} {{other date|between|1999-02|2000-03}} {{other date|between|1999-02-01|2000-03-01}} |
między 1999 a 2000 |
~
|
{{other date|~|1999|2000}} {{other date|ca|1999-05|2000-06}} {{other date|circa|1999-05-01|2000-06-1}} |
od około 1999 do około 2000 |
or
|
{{other date|or|1999|2000}} {{other date|or|1999-06|2000-07}} {{other date|or|1999-06-01|2000-07-1}} |
1999 lub 2000 |
and
|
{{other date|&|1999|2000}} {{other date|and|1999-06|2000-07}} {{other date|and|1999-06-01|2000-07-01}} |
1999 i 2000 |
Julian
|
{{other date|Julian|1865-01-19|1865-01-07}} |
19 stycznia 1865 (7 stycznia 1865 wedle kalendarza juliańskiego) |
Islamic
|
{{other date|islamic|1486|892}} {{other date|islamic|1486}} |
1486 n.e. (892 A.H.) 1486 n.e. (891 A.H.) |
era parameter
|
{{other date|or|985|986|era=BC}} |
985 lub 986 p.n.e. |
date notations with single date
Date notations with single date can use the second date for era, like BC or AD.
| {{{1}}} parameter | Example Code | Output | Example Code with era | Output with era |
|---|---|---|---|---|
<
|
{{other date|<|2000}} {{other date|b|2000-03}} {{other date|before|2000-03-01}} |
przed 2000 przed marcem 2000 przed 1 marcem 2000 |
{{other date|<|99|era=BC}} | przed 99 p.n.e. |
>
|
{{other date|>|1999}} {{other date|a|1999-04}} {{other date|after|1999-04-01}} |
po 1999 po kwietniu 1999 po 1 kwietniu 1999 |
{{other date|>|99|era=BC}} | po 99 p.n.e. |
by
|
{{other date|by|1999}} {{other date|by|1999-04}} {{other date|by|1999-04-01}} |
przed 1999 przed kwietniem 1999 przed 1 kwietniem 1999 |
{{other date|by|99|era=BC}} | przed 99 p.n.e. |
from
|
{{other date|from|1999}} {{other date|from|1999-04}} {{other date|from|1999-04-01}} |
od 1999 od kwietnia 1999 od 1 kwietnia 1999 |
{{other date|from|99|era=BC}} | od 99 p.n.e. |
until
|
{{other date|until|1999}} {{other date|until|1999-04}} {{other date|until|1999-04-01}} |
do 1999 do kwietnia 1999 do 1 kwietnia 1999 |
{{other date|until|99|era=BC}} | do 99 p.n.e. |
~
|
{{other date|~|1999}} {{other date|ca|1999-05}} {{other date|circa|1999-05-01}} |
około 1999 około maja 1999 około 1 maja 1999 |
{{other date|~|99|era=BC}} | około 99 p.n.e. |
s
|
{{other date|s|1960}} {{other date|decade|1800}} |
lata 60. XX wieku pierwsza dekada XIX wieku |
{{other date|s|960|era=BCE}} | lata 60. X wieku p.n.e. |
century
|
{{other date|century|1}} {{other date|century|20}} |
I wiek XX wiek |
{{other date|century|1|era=BC}} | I wiek p.n.e. |
millennium
|
{{other date|millennium|1}} | I tysiąclecie | {{other date|millennium|2|era=BC}} | II tysiąclecie p.n.e. |
turn of the decade
|
{{other date|turn of the decade|1920}} {{other date|turn of the decade|1800}} |
przełom drugiej dekady i lat 20. XX wieku przełom ostatniej dekady XVIII i pierwszej dekady XIX wieku |
{{other date|turn of the decade|920|era=BC}} | przełom lat 20. i 10. X wieku p.n.e. |
turn of the century
|
{{other date|turn of the century|2}} {{other date|turn of the century|20}} |
przełom I i II wieku przełom XIX i XX wieku |
{{other date|turn of the century|2|era=BC}} | przełom II i I wieku p.n.e. |
turn of the year
|
{{other date|turn of the year|1992}} | koniec 1991 i początek 1992 roku | {{other date|turn of the year|922|era=BC}} | koniec 922 i początek 921 roku p.n.e. |
spring
|
{{other date|spring|1999}} | wiosna 1999 | {{other date|spring|99|era=AD}} | wiosna 99 n.e. |
summer
|
{{other date|summer|1999}} | lato 1999 | {{other date|summer|99|era=BC}} | lato 99 p.n.e. |
fall
|
{{other date|fall|1999}} {{other date|autumn|1999}} |
jesień 1999 jesień 1999 |
{{other date|fall|99|era=AD}} | jesień 99 n.e. |
winter
|
{{other date|winter|1999}} | zima 1999 | {{other date|winter|99|era=BC}} | zima 99 p.n.e. |
beginning
|
{{other date|early|1999-08}} {{other date|beginning|1999}} |
początek sierpnia 1999 początek 1999 |
{{other date|early|99|era=BC}} | początek 99 p.n.e. |
mid
|
{{other date|mid|1999-10}} {{other date|middle|1999}} |
środek października 1999 środek 1999 |
{{other date|mid|99|era=BC}} | środek 99 p.n.e. |
end
|
{{other date|end|1999-11}} {{other date|late|1999}} |
koniec listopada 1999 koniec 1999 |
{{other date|end|99|era=BCE}} | koniec 99 p.n.e. |
firsthalf
|
{{other date|firsthalf|1999-11}} {{other date|1half|1999}} |
pierwsza połowa listopada 1999 pierwsza połowa 1999 |
{{other date|firsthalf|99|era=BC}} | pierwsza połowa 99 p.n.e. |
secondhalf
|
{{other date|secondhalf|1999-11}} {{other date|2half|1999}} |
druga połowa listopada 1999 druga połowa 1999 |
{{other date|secondhalf|99|era=BCE}} | druga połowa 99 p.n.e. |
1quarter
|
{{other date|1quarter|1815-09}} {{other date|1quarter|1815}} |
pierwszy tydzień września 1815 pierwszy kwartał 1815 |
{{other date|1quarter|99|era=BC}} | pierwszy kwartał 99 p.n.e. |
2quarter
|
{{other date|2quarter|1815-09}} {{other date|2quarter|1815}} |
drugi tydzień września 1815 drugi kwartał 1815 |
{{other date|2quarter|99|era=BC}} | drugi kwartał 99 p.n.e. |
3quarter
|
{{other date|3quarter|1815-09}} {{other date|3quarter|1815}} |
trzeci tydzień września 1815 trzeci kwartał 1815 |
{{other date|3quarter|99|era=BC}} | trzeci kwartał 99 p.n.e. |
4quarter
|
{{other date|4quarter|1815-09}} {{other date|4quarter|1815}} |
ostatni tydzień września 1815 ostatni kwartał 1815 |
{{other date|4quarter|99|era=BC}} | ostatni kwartał 99 p.n.e. |
BC
|
{{other date|BC|44-03-15}} {{other date|BCE|44}} |
15 marca 44 p.n.e. 44 p.n.e. |
||
AD
|
{{other date|AD|944-03}} {{other date|CE|944}} |
marzec 944 n.e. 944 n.e. |
||
?
|
{{other date|?|2015}} | nieznana data[1] | {{other date|?|2015|era=BC}} | nieznana data p.n.e.[1] |
date notations without date
| {{{1}}} parameter | Example Code | Output | Example Code with era | Output with era |
|---|---|---|---|---|
?
|
{{other date|?}} {{other date|unknown}} |
nieznana data nieznana data |
{{other date|?||era=BC}} | nieznana data p.n.e. |
year unknown
|
{{other date|year unknown}} | rok nieznany | {{other date|year unknown|era=BC}} | rok nieznany p.n.e. |
compound constructions
| Example Code | Output | Example Code with era | Output with era |
|---|---|---|---|
| {{Other date|2half|{{Other date|century|15}}}} | druga połowa XV wiek | {{Other date|2half|{{Other date|century|15}}|era=BC}} | druga połowa XV wiek p.n.e. |
| {{otherdate|mid|{{otherdate|decade|1980}}}} | środek lata 80. XX wieku | {{otherdate|mid|{{otherdate|decade|1980}}|era=BC}} | środek lata 80. XX wieku p.n.e. |