مندرجات کا رخ کریں

سانچہ:Start and end dates

آزاد دائرۃ المعارف، ویکیپیڈیا سے

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.

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}} → ستمبر 1, 1939 – ستمبر 2, 1945 (1939-09-01 – 1945-09-02)
  • Day first: {{start and end dates|1939|9|1|1945|9|2|df=yes}} → 1 ستمبر 1939 – 2 ستمبر 1945 (1939-09-01 – 1945-09-02)
  • Same year: {{start and end dates|1939|9|1|1939|10|2}} → ستمبر 1 – اکتوبر 2, 1939 (1939-09-01 – 1939-10-02)
  • Same month and year: {{start and end dates|1939|9|1|1939|9|2}} → ستمبر 1–2, 1939 (1939-09-01 – 1939-09-02)
  • Present range: {{start and end dates|1939|9|1|present}} → ستمبر 1, 1939 – نقص: غلط وقت۔ (1939-09-01 – نقص: غلط وقت۔)

Parameters

[ترمیم]
ذیل میں اس سانچہ کی معلومات سانچہ دستاویز درج ہے جنہیں بصری خانہ ترمیم اور دیگر آلات استعمال کرتے ہیں۔

معلومات سانچہ Start and end dates

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

محددات سانچہ[انتظام TemplateData]

پیرامیٹروضاحتطرزحالت
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

[ترمیم]

سانچہ:UF-date-part