This page is protected against editing.

Template:Other date

Z projektu Wikimedia Commons
Skočit na navigaci Skočit na vyhledávání
Documentationview · edit · history · purge ]
This documentation is transcluded from Template:Other date/doc.

(tato část dokumentace je k dispozici pouze v některých jazycích)

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).

Šablona automaticky plní následující kategorie:

Použití

{{Other date |1= |2= }}

Parametry šablony

ParametrPopisVýchozí hodnotaStav
1typeType 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.emptypovinný
2date 1A 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.emptypovinný
3date 2Depends on type. If used than it is a date in ISO 8601 format. See Parameter #2 for details.emptynepovinný
eraera emptynepovinný
certaintycertaintyCertainty 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 přesnost podle zdroje (P1480) qualifier when used to describe a date.emptynepovinný
langlanguageLanguage 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)nepovinný
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData je způsob, jak uložit údaje o parametrech šablony i o šabloně samotné v podobě čitelné lidem i strojově. Je užívána Vizuálním editorem a pravděpodobně i jinými nástroji jako třeba Upload Wizard.


Existující dokumentace šablony
Na Wikimedia Commons je doporučeno užívat {{TemplateBox}} s parametry ‎useTemplateData=1 nebo ‎useTemplateData=only na ‎/doc podstránce a její vložení pomocí {{Documentation}} do šablony. Pokud je nutné, aby se šablony neexpandovaly, mohou být okolo hodnot použity tagy ‎<nowiki>.

Newly created template documentation and imports

Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Diskuze
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

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).

Parametry šablony[Upravit strojový popis šablony]

Tato šablona upřednostňuje parametry formátované v jediném řádku.

ParametrPopisTypStav
type1

Type of date notation. See examples on the template's page for list of allowed options.

Řádkapovinný
date 12

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.

Řádkapovinný
date 23

Depends on type. If used than it is a date in ISO 8601 format. See Parameter #2 for details.

Řádkanepovinný
certaintycertainty

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 P1480 qualifier when used to describe a date.

Řádkanepovinný
eraera

Era: BC (Before Christ), BCE (Before Common Era), CE (Common Era), AD (Anno Domini), BP (Before Present) or AH (Anno Hegirae – Islamic calendar)

Řádkanepovinný
languagelang

Language code (only needs to be provided if the language shall be fixed and independent of the user's preferences)

Výchozí hodnota
(language code of the user language)
Řádkanepovinný

Další informace

Tato šablona je určena pro použití v následujících jmenných prostorech: všechny jmenné prostory

Tato šablona je určena pro použití následujícími uživatelskými skupinami: všichni uživatelé

Závisí na:

Viz též

(tato část dokumentace je k dispozici pouze v některých jazycích)

(tato část dokumentace je k dispozici pouze v některých jazycích)

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
-
from-until
{{other date|-|1999|2000}}
{{other date|-|1999-01|2000-02}}
{{other date|-|1999-01-01|2000-02-01}}

1999 až 2000
leden 1999 až únor 2000
1. ledna 1999 až 1. února 2000

? {{other date|?|1800|1825}} neznámé datum
Unknown date
[1]
between {{other date|between|1999|2000}}
{{other date|between|1999-02|2000-03}}
{{other date|between|1999-02-01|2000-03-01}}

mezi 1999 a 2000
mezi únorem 1999 a březnem 2000
mezi 1. únorem 1999 a 1. březnem 2000

~
ca
circa
{{other date|~|1999|2000}}
{{other date|ca|1999-05|2000-06}}
{{other date|circa|1999-05-01|2000-06-1}}

cca 1999 až 2000
cca květen 1999 až červen 2000
cca 1. května 1999 až 1. června 2000

or {{other date|or|1999|2000}}
{{other date|or|1999-06|2000-07}}
{{other date|or|1999-06-01|2000-07-1}}

1999 nebo 2000
červen 1999 nebo červenec 2000
1. června 1999 nebo 1. července 2000

and
&
{{other date|&|1999|2000}}
{{other date|and|1999-06|2000-07}}
{{other date|and|1999-06-01|2000-07-01}}

1999 a 2000
červen 1999 a červenec 2000
1. června 1999 a 1. července 2000

Julian {{other date|Julian|1865-01-19|1865-01-07}}

19. ledna 1865 (7. ledna 1865 podle juliánského kalendáře)

Islamic {{other date|islamic|1486|892}}
{{other date|islamic|1486}}
1486 n. l. (892 AH)
1486 n. l. (891 AH)
era parameter {{other date|or|985|986|era=BC}}

985 nebo 986 př. n. l.

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
<
b
before
{{other date|<|2000}}
{{other date|b|2000-03}}
{{other date|before|2000-03-01}}
před 2000
date QS:P,+2000-00-00T00:00:00Z/7,P1326,+2000-00-00T00:00:00Z/9

před březnem 2000
date QS:P,+2000-03-00T00:00:00Z/7,P1326,+2000-03-00T00:00:00Z/10

před 1. březnem 2000
date QS:P,+2000-03-01T00:00:00Z/7,P1326,+2000-03-01T00:00:00Z/11
{{other date|<|99|era=BC}} před 99 př. n. l.
>
a
after
{{other date|>|1999}}
{{other date|a|1999-04}}
{{other date|after|1999-04-01}}
po 1999
date QS:P,+1999-00-00T00:00:00Z/7,P1319,+1999-00-00T00:00:00Z/9

po dubnu 1999
date QS:P,+1999-04-00T00:00:00Z/7,P1319,+1999-04-00T00:00:00Z/10

po 1. dubnu 1999
date QS:P,+1999-04-01T00:00:00Z/7,P1319,+1999-04-01T00:00:00Z/11
{{other date|>|99|era=BC}} po 99 př. n. l.
by {{other date|by|1999}}
{{other date|by|1999-04}}
{{other date|by|1999-04-01}}
kolem 1999
date QS:P,+1999-00-00T00:00:00Z/7,P1326,+1999-00-00T00:00:00Z/9

kolem dubna 1999
date QS:P,+1999-04-00T00:00:00Z/7,P1326,+1999-04-00T00:00:00Z/10

kolem 1. dubna 1999
date QS:P,+1999-04-01T00:00:00Z/7,P1326,+1999-04-01T00:00:00Z/11
{{other date|by|99|era=BC}} kolem 99 př. n. l.
from {{other date|from|1999}}
{{other date|from|1999-04}}
{{other date|from|1999-04-01}}
od 1999
date QS:P,+1999-00-00T00:00:00Z/7,P580,+1999-00-00T00:00:00Z/9

od dubna 1999
date QS:P,+1999-04-00T00:00:00Z/7,P580,+1999-04-00T00:00:00Z/10

od 1. dubna 1999
date QS:P,+1999-04-01T00:00:00Z/7,P580,+1999-04-01T00:00:00Z/11
{{other date|from|99|era=BC}} od 99 př. n. l.
until {{other date|until|1999}}
{{other date|until|1999-04}}
{{other date|until|1999-04-01}}
do 1999
date QS:P,+1999-00-00T00:00:00Z/7,P582,+1999-00-00T00:00:00Z/9

do dubna 1999
date QS:P,+1999-04-00T00:00:00Z/7,P582,+1999-04-00T00:00:00Z/10

do 1. dubna 1999
date QS:P,+1999-04-01T00:00:00Z/7,P582,+1999-04-01T00:00:00Z/11
{{other date|until|99|era=BC}} do 99 př. n. l.
~
ca
circa
{{other date|~|1999}}
{{other date|ca|1999-05}}
{{other date|circa|1999-05-01}}
cca 1999
date QS:P,+1999-00-00T00:00:00Z/9,P1480,Q5727902

cca květen 1999
date QS:P,+1999-05-00T00:00:00Z/10,P1480,Q5727902

cca 1. května 1999
date QS:P,+1999-05-01T00:00:00Z/11,P1480,Q5727902
{{other date|~|99|era=BC}} cca 99 př. n. l.
s
decade
{{other date|s|1960}}
{{other date|decade|1800}}
60. léta 20. století
date QS:P,+1960-00-00T00:00:00Z/8

první dekáda 19. století
date QS:P,+1800-00-00T00:00:00Z/8
{{other date|s|960|era=BCE}} 60. léta 10. století př. n. l.
date QS:P,-960-00-00T00:00:00Z/8
century {{other date|century|1}}
{{other date|century|20}}
1. století
date QS:P,+050-00-00T00:00:00Z/7

20. století
date QS:P,+1950-00-00T00:00:00Z/7
{{other date|century|1|era=BC}} 1. století př. n. l.
date QS:P,-050-00-00T00:00:00Z/7
millennium {{other date|millennium|1}} 1. tisíciletí
date QS:P,+0500-00-00T00:00:00Z/6
{{other date|millennium|2|era=BC}} 2. tisíciletí př. n. l.
date QS:P,-1500-00-00T00:00:00Z/6
turn of the decade {{other date|turn of the decade|1920}}
{{other date|turn of the decade|1800}}
přelom 10. a 20. let 20. století
přelom 18. a 19. století
{{other date|turn of the decade|920|era=BC}} přelom 20. a 10. let 10. století př. n. l.
turn of the century {{other date|turn of the century|2}}
{{other date|turn of the century|20}}
přelom 1. a 2. století
přelom 19. a 20. století
{{other date|turn of the century|2|era=BC}} přelom 2. a 1. století př. n. l.
turn of the year {{other date|turn of the year|1992}} přelom roku 1991/1992 {{other date|turn of the year|922|era=BC}} přelom roku 922/921 př. n. l.
spring {{other date|spring|1999}} jaro 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720559
{{other date|spring|99|era=AD}} jaro 99 n. l.
summer {{other date|summer|1999}} léto 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720564
{{other date|summer|99|era=BC}} léto 99 př. n. l.
fall
autumn
{{other date|fall|1999}}
{{other date|autumn|1999}}
podzim 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720568

podzim 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720568
{{other date|fall|99|era=AD}} podzim 99 n. l.
winter {{other date|winter|1999}} zima 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720553
{{other date|winter|99|era=BC}} zima 99 př. n. l.
beginning
early
{{other date|early|1999-08}}
{{other date|beginning|1999}}
začátek srpna 1999
date QS:P,+1999-08-00T00:00:00Z/10,P4241,Q40719727

začátek 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719727
{{other date|early|99|era=BC}} začátek 99 př. n. l.
mid
middle
{{other date|mid|1999-10}}
{{other date|middle|1999}}
polovina října 1999
date QS:P,+1999-10-00T00:00:00Z/10,P4241,Q40719748

polovina 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719748
{{other date|mid|99|era=BC}} polovina 99 př. n. l.
end
late
{{other date|end|1999-11}}
{{other date|late|1999}}
konec listopad 1999
date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719766

konec 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719766
{{other date|end|99|era=BCE}} konec 99 př. n. l.
firsthalf
1half
1sthalf
first half
1st half
{{other date|firsthalf|1999-11}}
{{other date|1half|1999}}
1. polovina listopadu 1999
date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719687

1. polovina 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719687
{{other date|firsthalf|99|era=BC}} 1. polovina 99 př. n. l.
secondhalf
2half
2ndhalf
second half
2nd half
{{other date|secondhalf|1999-11}}
{{other date|2half|1999}}
2. polovina listopadu 1999
date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719707

2. polovina 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719707
{{other date|secondhalf|99|era=BCE}} 2. polovina 99 př. n. l.
1quarter
quarter1
1stquarter
1st quarter
{{other date|1quarter|1815-09}}
{{other date|1quarter|1815}}
1. čtvrtina září 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40690303

1. čtvrtina 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40690303
{{other date|1quarter|99|era=BC}} 1. čtvrtina 99 př. n. l.
2quarter
quarter2
2ndquarter
2nd quarter
{{other date|2quarter|1815-09}}
{{other date|2quarter|1815}}
2. čtvrtina září 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719649

2. čtvrtina 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719649
{{other date|2quarter|99|era=BC}} 2. čtvrtina 99 př. n. l.
3quarter
quarter3
3rdquarter
3rd quarter
{{other date|3quarter|1815-09}}
{{other date|3quarter|1815}}
3. čtvrtina září 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719662

3. čtvrtina 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719662
{{other date|3quarter|99|era=BC}} 3. čtvrtina 99 př. n. l.
4quarter
quarter4
4thquarter
4th quarter
{{other date|4quarter|1815-09}}
{{other date|4quarter|1815}}
4. čtvrtina září 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719674

4. čtvrtina 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719674
{{other date|4quarter|99|era=BC}} 4. čtvrtina 99 př. n. l.
BC
BCE
{{other date|BC|44-03-15}}
{{other date|BCE|44}}
15. března 44 př. n. l.
44 př. n. l.
AD
CE
{{other date|AD|944-03}}
{{other date|CE|944}}
březen 944 n. l.
944 n. l.
? {{other date|?|2015}} neznámé datum
Unknown date
[1]
{{other date|?|2015|era=BC}} neznámé datum
Unknown date
př. n. l.[1]
  1. a b c reported bug

date notations without date

{{{1}}} parameter Example Code Output Example Code with era Output with era
?
unknown
{{other date|?}}
{{other date|unknown}}
neznámé datum
Unknown date

neznámé datum
Unknown date
{{other date|?||era=BC}} neznámé datum
Unknown date
př. n. l.
year unknown {{other date|year unknown}} neznámý rok
Unknown date
{{other date|year unknown|era=BC}} neznámý rok
Unknown date
př. n. l.