Template:Other date/doc
More actions
(a dokumentáció alábbi része csak néhány nyelven érhető el)
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).
Ez a sablon automatikusan hozzáadja az alábbi kategóriákat:
- 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
Használat
{{Other date |1= |2= }}
Sablonparaméterek
| Paraméter | Leírás | Alapértelmezett | Állapot | |
|---|---|---|---|---|
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 | kötelező |
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 | kötelező |
3 | date 2 | Depends on type. If used than it is a date in ISO 8601 format. See Parameter #2 for details. | empty | nem kötelező |
era | era |
| empty | nem kötelező |
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 | nem kötelező |
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) | nem kötelező |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
A TemplateData egy olyan módszer a sablonparaméterek (és a sablon saját) leírásának tárolására, amit gépek és emberek is értelmezni tudnak. A VisualEditor és esetleg más eszközök is használják, mint a Feltöltésvarázsló. Létező sablondokumentáció Újonnan készített vagy importált sablonok Another option, especially for imported templates, or for users with JSON experience, is placing raw Wikipedia's help about TemplateData • Commons-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).
| |||||||||||||||||||||||||||||||||||
További információk
Ez a sablon az alábbi névterekhez készült: összes névtér
Ez a sablon az alábbi szerkesztői csoportok tagjainak készült: minden szerkesztő
Erre támaszkodik:
Lásd még
(a dokumentáció alábbi része csak néhány nyelven érhető el)
== Fordítás ==
(a dokumentáció alábbi része csak néhány nyelven érhető el)
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}} |
1999 – 2000 |
?
|
{{other date|?|1800|1825}} |
Ismeretlen dátum[1] |
between
|
{{other date|between|1999|2000}} {{other date|between|1999-02|2000-03}} {{other date|between|1999-02-01|2000-03-01}} |
1999 és 2000 között |
~
|
{{other date|~|1999|2000}} {{other date|ca|1999-05|2000-06}} {{other date|circa|1999-05-01|2000-06-1}} |
1999 és 2000 között |
or
|
{{other date|or|1999|2000}} {{other date|or|1999-06|2000-07}} {{other date|or|1999-06-01|2000-07-1}} |
1999 vagy 2000 |
and
|
{{other date|&|1999|2000}} {{other date|and|1999-06|2000-07}} {{other date|and|1999-06-01|2000-07-01}} |
1999 és 2000 |
Julian
|
{{other date|Julian|1865-01-19|1865-01-07}} |
1865. január 19. (1865. január 7. a Julián naptárban) |
Islamic
|
{{other date|islamic|1486|892}} {{other date|islamic|1486}} |
i. sz. 1486 (892 AH) i. sz. 1486 (891 AH) |
era parameter
|
{{other date|or|985|986|era=BC}} |
i. e. 985 vagy 986 |
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}} |
2000 előtt 2000. március előtt 2000. március 1. előtt |
{{other date|<|99|era=BC}} | i. e. 99 előtt |
>
|
{{other date|>|1999}} {{other date|a|1999-04}} {{other date|after|1999-04-01}} |
1999 után 1999. április után 1999. április 1. után |
{{other date|>|99|era=BC}} | i. e. 99 után |
by
|
{{other date|by|1999}} {{other date|by|1999-04}} {{other date|by|1999-04-01}} |
by 1999 by 1999. április by 1999. április 1. |
{{other date|by|99|era=BC}} | i. e. by 99 |
from
|
{{other date|from|1999}} {{other date|from|1999-04}} {{other date|from|1999-04-01}} |
from 1999 from 1999. április from 1999. április 1. |
{{other date|from|99|era=BC}} | i. e. from 99 |
until
|
{{other date|until|1999}} {{other date|until|1999-04}} {{other date|until|1999-04-01}} |
until 1999 until 1999. április until 1999. április 1. |
{{other date|until|99|era=BC}} | i. e. until 99 |
~
|
{{other date|~|1999}} {{other date|ca|1999-05}} {{other date|circa|1999-05-01}} |
1999 körül 1999. május körül 1999. május 1. körül |
{{other date|~|99|era=BC}} | i. e. 99 körül |
s
|
{{other date|s|1960}} {{other date|decade|1800}} |
1960-as évek 1800-as évek |
{{other date|s|960|era=BCE}} | i. e. 960-as évek |
century
|
{{other date|century|1}} {{other date|century|20}} |
1. évszázad 20. évszázad |
{{other date|century|1|era=BC}} | i. e. 1. évszázad |
millennium
|
{{other date|millennium|1}} | 1 millennium | {{other date|millennium|2|era=BC}} | i. e. 2 millennium |
turn of the decade
|
{{other date|turn of the decade|1920}} {{other date|turn of the decade|1800}} |
1910 végén és 1920 elején 1790 végén és 1800 elején |
{{other date|turn of the decade|920|era=BC}} | i. e. i. e. 920 végén és 910 elején |
turn of the century
|
{{other date|turn of the century|2}} {{other date|turn of the century|20}} |
1 végén és 2 elején 19 végén és 20 elején |
{{other date|turn of the century|2|era=BC}} | i. e. i. e. 2 végén és 1 elején |
turn of the year
|
{{other date|turn of the year|1992}} | 1991 végén és 1992 elején | {{other date|turn of the year|922|era=BC}} | i. e. i. e. 922 végén és 921 elején |
spring
|
{{other date|spring|1999}} | 1999 tavasza | {{other date|spring|99|era=AD}} | i. sz. 99 tavasza |
summer
|
{{other date|summer|1999}} | 1999 nyara | {{other date|summer|99|era=BC}} | i. e. 99 nyara |
fall
|
{{other date|fall|1999}} {{other date|autumn|1999}} |
1999 ősze 1999 ősze |
{{other date|fall|99|era=AD}} | i. sz. 99 ősze |
winter
|
{{other date|winter|1999}} | 1999 tele | {{other date|winter|99|era=BC}} | i. e. 99 tele |
beginning
|
{{other date|early|1999-08}} {{other date|beginning|1999}} |
1999. augusztus elején 1999 elején |
{{other date|early|99|era=BC}} | i. e. 99 elején |
mid
|
{{other date|mid|1999-10}} {{other date|middle|1999}} |
1999. október közepén 1999 közepén |
{{other date|mid|99|era=BC}} | i. e. 99 közepén |
end
|
{{other date|end|1999-11}} {{other date|late|1999}} |
1999. november végén 1999 végén |
{{other date|end|99|era=BCE}} | i. e. 99 végén |
firsthalf
|
{{other date|firsthalf|1999-11}} {{other date|1half|1999}} |
1999. november első felében 1999 első felében |
{{other date|firsthalf|99|era=BC}} | i. e. 99 első felében |
secondhalf
|
{{other date|secondhalf|1999-11}} {{other date|2half|1999}} |
1999. november második felében 1999 második felében |
{{other date|secondhalf|99|era=BCE}} | i. e. 99 második felében |
1quarter
|
{{other date|1quarter|1815-09}} {{other date|1quarter|1815}} |
first quarter of 1815. szeptember first quarter of 1815 |
{{other date|1quarter|99|era=BC}} | i. e. first quarter of 99 |
2quarter
|
{{other date|2quarter|1815-09}} {{other date|2quarter|1815}} |
second quarter of 1815. szeptember second quarter of 1815 |
{{other date|2quarter|99|era=BC}} | i. e. second quarter of 99 |
3quarter
|
{{other date|3quarter|1815-09}} {{other date|3quarter|1815}} |
third quarter of 1815. szeptember third quarter of 1815 |
{{other date|3quarter|99|era=BC}} | i. e. third quarter of 99 |
4quarter
|
{{other date|4quarter|1815-09}} {{other date|4quarter|1815}} |
forth quarter of 1815. szeptember forth quarter of 1815 |
{{other date|4quarter|99|era=BC}} | i. e. forth quarter of 99 |
BC
|
{{other date|BC|44-03-15}} {{other date|BCE|44}} |
i. e. 44. március 15. i. e. 44 |
||
AD
|
{{other date|AD|944-03}} {{other date|CE|944}} |
i. sz. 944. március i. sz. 944 |
||
?
|
{{other date|?|2015}} | Ismeretlen dátum[1] | {{other date|?|2015|era=BC}} | i. e. Ismeretlen dátum[1] |
date notations without date
| {{{1}}} parameter | Example Code | Output | Example Code with era | Output with era |
|---|---|---|---|---|
?
|
{{other date|?}} {{other date|unknown}} |
Ismeretlen dátum Ismeretlen dátum |
{{other date|?||era=BC}} | i. e. Ismeretlen dátum |
year unknown
|
{{other date|year unknown}} | year unknown | {{other date|year unknown|era=BC}} | i. e. year unknown |
compound constructions
| Example Code | Output | Example Code with era | Output with era |
|---|---|---|---|
| {{Other date|2half|{{Other date|century|15}}}} | 15. évszázad második felében | {{Other date|2half|{{Other date|century|15}}|era=BC}} | i. e. 15. évszázad második felében |
| {{otherdate|mid|{{otherdate|decade|1980}}}} | 1980-as évek közepén | {{otherdate|mid|{{otherdate|decade|1980}}|era=BC}} | i. e. 1980-as évek közepén |