টেমপ্লেট:শুরুর ও শেষের তারিখ

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

Usage[সম্পাদনা]

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

Syntax[সম্পাদনা]

{{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}} → ১ সেপ্টেম্বর ১৯৩৯ – ত্রুটি: অবৈধ সময় (১৯৩৯-০৯-০১ – ত্রুটি: অবৈধ সময়)

Parameters[সম্পাদনা]

নতুন দৃশ্যমান সম্পাদনা দ্বারা ব্যবহৃত টেমপ্লেটের জন্য টেমপ্লেটডাটা নথি।

শুরুর ও শেষের তারিখ শীর্ষ

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
লাইনঐচ্ছিক

Use in microformats[সম্পাদনা]

This template also returns the date, hidden by CSS, in the ISO 8601 format needed by one or more of the following microformats:

usually, but not always, within infobox or similar templates, or tables.

Its use in hCard is for organisations, venues and similar; use {{Birth date}} or {{Birth date and age}} for people.

Similarly, {{End date}} returns the date as hCalendar's (class="dtend").

See the microformats project for further details.

সীমাবদ্ধতা[সম্পাদনা]

This template has no provision to deal with a date in a non-Gregorian calendar. Also, ISO 8601 requires mutual agreement among those exchanging information before using years outside the range 1583–9999 CE. Therefore, use of this template for non-Gregorian dates or dates outside that range constitutes a false claim of conformance to the ISO 8601 standard.

Any editor encountering such usage should change the date to plain text with no template; or if not confident in doing so, raise the matter on this template's talk page.

৭ অক্টোবর ২০০১ (2001-10-07) – ৩০ আগস্ট ২০২১ (2021-08-30)