साँचा:Outdated as of/doc

मुक्त ज्ञानकोश विकिपीडिया से
< साँचा:Outdated as of
imported>Kutchkutch द्वारा परिवर्तित ०८:३७, १३ दिसम्बर २०११ का अवतरण (नया पृष्ठ: {{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> After the specified date has passed, this template calls the {{LinkTemplate|Update}} temp...)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} After the specified date has passed, this template calls the [[Template:Update|{{ साँचा:nowrap}}]] template to display a message box indicating that the page contains out of date information.  Use to set a page to display the outdated message only after a known future date has arrived, such as for regularly recurring sporting events like the Olympics, Canada Games, etc.

This template should be transcluded at the top of the page; it is NOT suitable for substitution.

Usage

[[Template:Outdated as of|{{ साँचा:nowrapसाँचा:nowrapसाँचा:nowrapसाँचा:nowrapसाँचा:nowrapसाँचा:nowrap}}]]

where named parameters साँचा:resize

  Year     the four digit year when the page will next need to be updated  (e.g. Year = एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"। )
Month the numeric month when this page will next need to be updated  (e.g. Month = 2 )
Day the day of the month when this page next needs to be updated  (e.g. Day = 12 )
LastUpdated any text to indicate when the information was last updated; typically this is the full date when this page was last brought up to date  (e.g. LastUpdated = नवम्बर २४, २०२४ )
Topic a custom message may be added to clarify which part(s) of the page are/will be out-of-date; this is added to the message stating "Parts of this article (those related to Topic) are outdated."

During multi-day events, set the Day to the next day साँचा:resize and set the LastUpdated parameter each day after the complete day's results have been updated.  This will prevent the outdated message from appearing at the top of the page on the current day once the information is current, but will automatically display the message the following day if results have not been posted.
Due to the nature of WikiMedia, and browser caching, the message might not appear until some time after the midnight changeover; also, midnight is UTC midnight as opposed to local time.  There is currently no support in this template for specifying what time that the message will appear.
Can be used with the [[Template:Update after|{{ साँचा:nowrap}}]] template for similar inline notations.
After the date specified by Year / Month / Day is reached the page is added to the Category:Wikipedia articles in need of updating.

The template automatically detects which namespace it is used in and changes accordingly:
Article एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।
Category एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।
Template एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।

Examples

साँचा:resize

{{Outdated as of | Year = २०२४ | Month = ११ | Day = एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"। }}

yields एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।     Nothing since this date has not yet been reached

{{Outdated as of | Year = २०२४ | Month = ११ | Day = २४ | LastUpdated = नवम्बर २४, २०२४ }}

yields एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।

{{Outdated as of | Topic = Hockey results | LastUpdated = Game 3 | Year = २०२४ | Month = ११ | Day = एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"। }}

yields एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।

{{Outdated as of | Year = एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"। | Month = 2  | Day = 12 | LastUpdated = नवम्बर २४, २०२४ }}

yields एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "२"।     Nothing since this date is far in the future.

See also