टेम्पलेट:Start date: रिवीजन सभ के बीचा में अंतर

विकिपीडिया से
Content deleted Content added
imported>Edene
output timezone in ()
imported>Edene
छो moving (timezone) oops
लाइन 6: लाइन 6:
|{{#if: {{{2|}}}
|{{#if: {{{2|}}}
|{{#if: {{{3|}}}
|{{#if: {{{3|}}}
|{{#ifeq: {{{df|}}}|yes|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]],}}|[[{{MONTHNAME|{{{2}}}}}]]}}}} [[{{{1}}}]]}}<!--
|{{#ifeq: {{{df|}}}|yes|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]],}}|[[{{MONTHNAME|{{{2}}}}}]]}}}} [[{{{1}}}]]}}{{#if: {{{7|}}}
| ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}}) }}<!-- BELOW FOR hCalendar
--><span style="display:none"> (<span class="dtstart updated">{{#if: {{{1|}}}
--><span style="display:none"> (<span class="dtstart updated">{{#if: {{{1|}}}
| {{{1}}}{{#if: {{{2|}}}
| {{{1}}}{{#if: {{{2|}}}
| -{{Pad2digit|{{{2}}}}}{{#if: {{{3|}}}
| -{{Pad2digit|{{{2}}}}}{{#if: {{{3|}}}
| -{{Pad2digit|{{{3}}}}} }} }}{{#if: {{{7|}}}
| -{{Pad2digit|{{{3}}}}} }} }}<!--
| ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}}) }}<!--BELOW FOR hCalendar
-->{{#if: {{{4|}}}
-->{{#if: {{{4|}}}
| T{{Pad2digit|{{{4}}}}}{{#if: {{{5|}}}
| T{{Pad2digit|{{{4}}}}}{{#if: {{{5|}}}

14:13, 13 अगस्त 2007 तक ले भइल बदलाव

()


This purpose of the {{start date}} template is to return the date (or date-time) that an event or entity started or was created. 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 date|year|month|day}}
  • {{start date|year|month|day|HH|MM|SS|TimeZone}} (MM and SS are optional; TimeZone may be a numerical value, or "Z" for UTC; see examples)
Examples

"

"

"

"

"

"

"

"

"

"

An optional parameter, df, can be set to "y" or "yes" (or indeed any value) to display the day before the month. This is primarily used in articles using DMY format for dates.

Examples

"

"

Note: The template will appear broken when the parameters are left blank (as seen hereinbefore). (Hereinbefore? Yup, hereinbefore. Not your average German mistress.)

पैरामीटर

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Start date

Date that an event or entity started or was created

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
YYYY1

start year

Numberoptional
MM2

start month

Numberoptional
DD3

start day of month

Numberoptional
HH4

start hours

Numberoptional
MM5

start minutes

Default
0
Numberoptional
SS6

start seconds

Default
0
Numberoptional
TZ7

time zone offset, “+02:00”, “-06:00” or “Z” for UTC

Lineoptional
day firstdf

boolean parameter to put the date before the month name

Default
false
Lineoptional

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.

Limitation

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.

इहो देखल जाय