Template:Complex date
Uses Lua: |
(प्रलेख का यह हिस्सा सिर्फ कुछ ही भाषाओं में उपलब्ध है।)
This template allows translation (localization) of many non-trivial phrases related to date description. This template is capable of creating much more complicated phrases than {{Other date}} template removing the need for nested {{Other date}} templates.
यह साँचा अपने आप निम्न श्रेणियाँ सेट करता है: Category:Pages using Complex date template with incorrect parameter (when errors are detected)
प्रयोग
{{Complex date |conj= |date1= |adj1= |precision1= |era1= |date2= |adj2= |precision2= |era2= }}
साँचे के पैरामीटर्स
पैरामीटर | विवरण | डिफ़ॉल्ट | स्थिति | |
---|---|---|---|---|
conj 1 | conjunction | Conjunction or the link between the two dates. In general complex dates are created from two phrases describing date #1 and date #2 combined by a conjunction. Possible values:
| empty | वैकल्पिक |
date1 2 date | date #1 | First date in ISO 8601 format or as a number. Format depends on precision:
| empty | वैकल्पिक |
adj1 adj | adjective #1 | Adjectives and prepositions used to describe first date. Possible values:
| empty | वैकल्पिक |
precision1 units1 | precision #1 | Precision of the date #1. Can be provided as:
| empty | वैकल्पिक |
era1 | era #1 | Era of date #1
| empty | वैकल्पिक |
date2 3 | date #2 | Second date in the same format as date #1. | empty | वैकल्पिक |
adj2 | adjective #2 | Adjectives and prepositions used to describe second date. See description of adj1 for details. | empty | वैकल्पिक |
precision2 units2 | precision #2 | Precision of the date #2. See description of precision1 for details. | empty | वैकल्पिक |
era2 | era #2 | Era of date #2. See description of era1 for details. | empty | वैकल्पिक |
precision units | precision | Precision of the date #1 and #2. See description of precision1 for details. | empty | वैकल्पिक |
era | era | Era of date #1 and #2. See description of era1 for details. | empty | वैकल्पिक |
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 (P1480) qualifier when used to describe a date. | empty | वैकल्पिक |
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 | वैकल्पिक |
अतिरिक्त जानकारी
इस साँचे का इस्तेमाल इन नामस्थानों में किया जा सकता है: सभी नामस्थान
इस साँचे का इस्तेमाल ये सदस्य समूह कर सकते हैं: सभी सदस्य
निर्भरताएँ:
module:Complex date
See also
(प्रलेख का यह हिस्सा सिर्फ कुछ ही भाषाओं में उपलब्ध है।)
(प्रलेख का यह हिस्सा सिर्फ कुछ ही भाषाओं में उपलब्ध है।)
Translations at module:i18n/complex date
Examples
date notations with two dates
{{{1}}} parameter | Example Code | Output |
---|---|---|
- from-until |
{{complex date|-|1999|2000}} {{complex date|-|1999-01|2000-02}} {{complex date|-|1999-01-01|2000-02-01}} |
१९९९ - २००० |
between | {{complex date|between|1999|2000}} {{complex date|between|1999-02|2000-03}} {{complex date|between|1999-02-01|2000-03-01}} |
१९९९ और २००० के बीच |
~ ca circa |
{{complex date|~|1999|2000}} {{complex date|ca|1999-05|2000-06}} {{complex date|circa|1999-05-01|2000-06-1}} |
circa १९९९ और circa २००० के बीच |
or | {{complex date|or|1999|2000}} {{complex date|or|1999-06|2000-07}} {{complex date|or|1999-06-01|2000-07-1}} |
१९९९ or २००० |
and & |
{{complex date|&|1999|2000}} {{complex date|and|1999-06|2000-07}} {{complex date|and|1999-06-01|2000-07-01}} |
१९९९ और २००० |
Julian | {{complex date|Julian|1865-01-19|1865-01-07}} |
१९ जनवरी १८६५ (७ जनवरी १८६५ in Julian calendar) |
Islamic | {{complex date|islamic|1486|892}} {{complex date|islamic|1486}} |
१४८६ AD (८९२ AH) १४८६ AD (८९१ AH) |
era parameter | {{complex date|or|985|986|era=BC}} |
९८५ or ९८६ BC |
certainty parameter | {{complex date|between|1907|adj2=early|1908|certainty=circa}} |
circa १९०७ और early १९०८ के बीच |
two adjectives | {{complex date|-|adj1=mid|1907|adj2=early|1908}} {{complex date|between|adj1=circa|date1=1907|adj2=early|date2=1908}} |
mid १९०७ - early १९०८ circa १९०७ और circa १९०८ के बीच |
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 |
{{complex date|<|2000}} {{complex date|b|2000-03}} {{complex date|before|2000-03-01}} |
before २००० before मार्च २००० before १ मार्च २००० |
{{complex date|<|99|era=BC}} | before ९९ BC |
> a after |
{{complex date|>|1999}} {{complex date|a|1999-04}} {{complex date|after|1999-04-01}} |
after १९९९ after अप्रैल १९९९ after १ अप्रैल १९९९ |
{{complex date|>|99|era=BC}} | after ९९ BC |
by | {{complex date|by|1999}} {{complex date|by|1999-04}} {{complex date|by|1999-04-01}} |
by १९९९ by अप्रैल १९९९ by १ अप्रैल १९९९ |
{{complex date|by|99|era=BC}} | by ९९ BC |
from | {{complex date|from|1999}} {{complex date|from|1999-04}} {{complex date|from|1999-04-01}} |
from १९९९ from अप्रैल १९९९ from १ अप्रैल १९९९ |
{{complex date|from|99|era=BC}} | from ९९ BC |
until | {{complex date|until|1999}} {{complex date|until|1999-04}} {{complex date|until|1999-04-01}} |
until १९९९ until अप्रैल १९९९ until १ अप्रैल १९९९ |
{{complex date|until|99|era=BC}} | until ९९ BC |
~ ca circa |
{{complex date|~|1999}} {{complex date|ca|1999-05}} {{complex date|circa|1999-05-01}} |
circa १९९९ circa मई १९९९ circa १ मई १९९९ |
{{complex date|~|99|era=BC}} | circa ९९ BC |
after, before, until and ~/ca/circa | {{complex date|after|1819|adj1=ca}} {{complex date|before|1819|adj1=ca}} {{complex date|until|1819|adj1=~}} |
after circa १८१९ before circa १८१९ until circa १८१९ |
{{complex date|after|109|adj1=ca|era=BC}} {{complex date|before|109|adj1=ca|era=BC}} {{complex date|until|109|adj1=ca|era=BC}} |
after circa १०९ BC before circa १०९ BC until circa १०९ BC |
s decade |
{{complex date|s|1960}} {{complex date|decade|1800}} |
1960s 1800s |
{{complex date|s|960|era=BCE}} | 960s BC |
century | {{complex date|century|1}} {{complex date|century|20}} |
1 century 20 century |
{{complex date|century|1|era=BC}} | 1 century BC |
millennium | {{complex date|millennium|1}} | 1 millennium | {{complex date|millennium|2|era=BC}} | 2 millennium BC |
turn of the decade | {{complex date|turn of the decade|1920}} {{complex date|turn of the decade|1800}} |
late १,९१०.० और early १,९२०.० late १,७९०.० और early १,८००.० |
{{complex date|turn of the decade|920|era=BC}} | late ९२०.० और early ९१०.० BC BC |
turn of the century | {{complex date|turn of the century|2}} {{complex date|turn of the century|20}} |
late १.० और early २.० late १९.० और early २०.० |
{{complex date|turn of the century|2|era=BC}} | late २.० और early १.० BC BC |
turn of the year | {{complex date|turn of the year|1992}} | late १९९१ और early १९९२ | {{complex date|turn of the year|922|era=BC}} | late ९२२ और early ९२१ BC BC |
spring | {{complex date|spring|1999}} | Spring १९९९ | {{complex date|spring|99|era=AD}} | Spring ९९ AD |
summer | {{complex date|summer|1999}} | Summer १९९९ | {{complex date|summer|99|era=BC}} | Summer ९९ BC |
fall autumn |
{{complex date|fall|1999}} {{complex date|autumn|1999}} |
Autumn १९९९ Autumn १९९९ |
{{complex date|fall|99|era=AD}} | Autumn ९९ AD |
winter | {{complex date|winter|1999}} | Winter १९९९ | {{complex date|winter|99|era=BC}} | Winter ९९ BC |
beginning early |
{{complex date|early|1999-08}} {{complex date|beginning|1999}} |
early अगस्त १९९९ early १९९९ |
{{complex date|early|99|era=BC}} | early ९९ BC |
mid middle |
{{complex date|mid|1999-10}} {{complex date|middle|1999}} |
mid अक्टूबर १९९९ mid १९९९ |
{{complex date|mid|99|era=BC}} | mid ९९ BC |
end late |
{{complex date|end|1999-11}} {{complex date|late|1999}} |
late नवम्बर १९९९ late १९९९ |
{{complex date|end|99|era=BCE}} | late ९९ BC |
firsthalf 1half 1sthalf first half 1st half |
{{complex date|firsthalf|1999-11}} {{complex date|1half|1999}} |
first half of नवम्बर १९९९ first half of १९९९ |
{{complex date|firsthalf|99|era=BC}} | first half of ९९ BC |
secondhalf 2half 2ndhalf second half 2nd half |
{{complex date|secondhalf|1999-11}} {{complex date|2half|1999}} |
second half of नवम्बर १९९९ second half of १९९९ |
{{complex date|secondhalf|99|era=BCE}} | second half of ९९ BC |
1quarter quarter1 1stquarter 1st quarter |
{{complex date|1quarter|1815-09}} {{complex date|1quarter|1815}} {{complex date|1quarter|18|units=century}} {{complex date|1quarter|18|units=millennium}} |
first quarter of सितम्बर १८१५ first quarter of १८१५ first quarter of 18 century first quarter of 18 millennium |
{{complex date|1quarter|99|era=BC}} | first quarter of ९९ BC |
2quarter quarter2 2ndquarter 2nd quarter |
{{complex date|2quarter|1815-09}} {{complex date|2quarter|1815}} {{complex date|2quarter|18|units=century}} {{complex date|2quarter|18|units=millennium}} |
second quarter of सितम्बर १८१५ second quarter of १८१५ second quarter of 18 century second quarter of 18 millennium |
{{complex date|2quarter|99|era=BC}} | second quarter of ९९ BC |
3quarter quarter3 3rdquarter 3rd quarter |
{{complex date|3quarter|1815-09}} {{complex date|3quarter|1815}} {{complex date|3quarter|18|units=century}} {{complex date|3quarter|18|units=millennium}} |
third quarter of सितम्बर १८१५ third quarter of १८१५ third quarter of 18 century third quarter of 18 millennium |
{{complex date|3quarter|99|era=BC}} | third quarter of ९९ BC |
4quarter quarter4 4thquarter 4th quarter |
{{complex date|4quarter|1815-09}} {{complex date|4quarter|1815}} {{complex date|4quarter|18|units=century}} {{complex date|4quarter|18|units=millennium}} |
forth quarter of सितम्बर १८१५ forth quarter of १८१५ forth quarter of 18 century forth quarter of 18 millennium |
{{complex date|4quarter|99|era=BC}} | forth quarter of ९९ BC |
possibly | {{complex date|possibly|1815-09}} {{complex date|possibly|1815}} |
possibly सितम्बर १८१५ possibly १८१५ |
{{complex date|possibly|99|era=BC}} | possibly ९९ BC |
probably | {{complex date|probably|1815-09}} {{complex date|probably|1815}} |
probably सितम्बर १८१५ probably १८१५ |
{{complex date|probably|99|era=BC}} | probably ९९ BC |
presumably | {{complex date|presumably|1815-09}} {{complex date|presumably|1815}} |
presumably सितम्बर १८१५ presumably १८१५ |
{{complex date|presumably|99|era=BC}} | presumably ९९ BC |
BC BCE |
{{complex date|BC|44-03-15}} {{complex date|BCE|44}} |
१५ मार्च ४४ BC ४४ BC |
||
AD CE |
{{complex date|AD|944-03}} {{complex date|CE|944}} |
मार्च ९४४ AD ९४४ AD |
||
? unknown |
{{complex date|?}} {{complex date|unknown}} |
अज्ञात तारीख अज्ञात तारीख |
{{complex date|?||era=BC}} | अज्ञात तारीख BC |
year unknown | {{complex date|year unknown}} | year unknown | {{complex date|year unknown|era=BC}} | year unknown BC |