This purpose of the {{start and end dates}} template is to return the date range during which an event transpired or an entity existed. It also includes duplicate, machine-readable date (or date-time) in the ISO date format (which is hidden by CSS), for use inside other templates (or table rows) which emit microformats. It should be used only once in each such template and never used outside such templates. The hidden date degrades gracefully when CSS is not available.

When not to use this template

सम्पादन करी

Do not use this template for:

  • dates that are uncertain e.g., "before 4 April 1933"; "around 18 November 1939".
  • dates outside the range given under "Limitation", below.
  • other, secondary dates
  • outside microformat-emitting templates - if in doubt, see the parent template's documentation
  • more than one date in any parent template

{{start and end dates|year|month|day|year|month|day}}

Examples
  • Standard: {{start and end dates|1939|9|1|1945|9|2}} → सितम्बर १, १९३९ – सितम्बर २, १९४५ (१९३९-०९-०१ – १९४५-०९-०२)
  • Day first: {{start and end dates|1939|9|1|1945|9|2|df=yes}} → १ सितम्बर १९३९ – २ सितम्बर १९४५ (१९३९-०९-०१ – १९४५-०९-०२)
  • Same year: {{start and end dates|1939|9|1|1939|10|2}} → सितम्बर १ – अक्टुबर २, १९३९ (१९३९-०९-०१ – १९३९-१०-०२)
  • Same month and year: {{start and end dates|1939|9|1|1939|9|2}} → सितम्बर १–२, १९३९ (१९३९-०९-०१ – १९३९-०९-०२)
  • Present range: {{start and end dates|1939|9|1|present}} → सितम्बर १, १९३९ – त्रुटी: अमान्य समय। (१९३९-०९-०१ – त्रुटी: अमान्य समय।)
This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Start and end dates

Date that an event or entity started or was created and when it ended or was destroyed

साँचे के पैरामीटर्स

पैरामीटरविवरणप्रकारस्थिति
YYYY1

start year

उदाहरण
1939
संख्यावैकल्पिक
MM2

start month

उदाहरण
9
संख्यावैकल्पिक
DD3

start day of month

उदाहरण
1
संख्यावैकल्पिक
YYYY4

end year

उदाहरण
1945
संख्यावैकल्पिक
MM5

end month

उदाहरण
9
संख्यावैकल्पिक
DD6

end day of month

उदाहरण
2
संख्यावैकल्पिक
day firstdf

boolean parameter to put the date before the month name

डिफ़ॉल्ट
false
उदाहरण
yes
पंक्तिवैकल्पिक

आकृति:UF-date-part