সমললৈ যাওক

সাঁচ:Show by date

অসমীয়া ৱিকিপিডিয়াৰ পৰা

এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"

This template will automatically display one of two statements based on whether a particular date has been reached.

{{show by date|year|month|day|text before|text after}}

  • Parameters 1, 2, and 3 are the Year, Month, and Day that the template should show the text after. Until that date, the text before is shown. If the day is omitted, the template will activate on the first day of the specified month. If the month is also omitted, the template will activate on 1 January of the specified year. If the year is also omitted, the template will activate immediately.
  • Parameter 4 (text before) is the text to be shown if the current date is before the date specified in the previous parameters; it may be left empty if only the text after needs to be displayed at the specified date
  • Parameter 5 (text after) is the text to be shown if the current date is on or after the date specified in the previous parameters; it may be left empty if only the text before needs to be displayed until the specified date

The template is particularly useful on low-activity articles where dated statements may not receive prompt attention. As the template's usage grows, a WP:BOT could be employed to substitute the template with just the text after as the given dates elapse and the particular uses of the template have served their purpose in each case.

In the current version of the template, statements will be switched on the date according to Wikipedia time (00:00 UTC). If the actual event point is a few hours before or after this, it probably makes little difference in the grander scheme of time. However, it will make a significant difference if the actual event is more than 12 hours before or after this. For example, an event that takes place on December 3 at 8:00 pm Pacific Standard Time (UTC−08:00) corresponds to 04:00, December 4 (UTC).

Tackling the complexities of a time-sensitive version of this template would be a good future research and development project, though.

Code Result
{{show by date|2011|01|01|Show this before 2011|Show this after 2011}} has started এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২" has started
{{show by date|2012|01|01|Show this before 2012|Show this after 2012}} has started এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২" has started
{{show by date|2010|09|01|Show this before September 2010|Show this as of September 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|09|06|Show this before 06 Sep 2010|Show this as of 06 Sep 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|09|06|Show this before 06 Sep 2010|}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|09|06||Show this as of 06 Sep 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|01|23|Show this before 23 Jan 2010|Show this as of 23 Jan 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|01|24|Show this before 24 Jan 2010|Show this as of 24 Jan 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|01|31|Show this before 31 Jan 2010|Show this as of 31 Jan 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"
{{show by date|2010|02|28|Show this before 28 Feb 2010|Show this as of 28 Feb 2010}} এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "২"