Template:Update after: Difference between revisions

From Vigyanwiki
Template>Scott McNay
(Centralized documentation in Wikipedia:Updating information)
Template>Rick Block
(add text moved from Wikipedia:Updating information)
Line 12: Line 12:
         -->[[Category:Update in {{{1}}}/{{#if:{{{2|}}}|{{{2}}}|1}}|{{PAGENAME}}]]|}}<!--
         -->[[Category:Update in {{{1}}}/{{#if:{{{2|}}}|{{{2}}}|1}}|{{PAGENAME}}]]|}}<!--
--></sup></includeonly><noinclude>
--></sup></includeonly><noinclude>
----
<sup>[''[[Wikipedia:Updating information|update needed]]'']</sup>
Please read [[Wikipedia:Updating information]] before attempting to use this template.  Otherwise, you may find yourself the recipient of a "Please go read [[Wikipedia:Updating information#Usage]]" message.
 
== Usage ==
This template shows the ''update needed'' note shown above, but the note becomes visible only on a particular (future) date.  The date is specified as a year, optionally followed by a month (1-12), optionally followed by a day, for example <nowiki>{{update after|2008|11|4}}</nowiki> for [[November 4]], [[2008]].  If the day is not specified, the <sup>[''update needed'']</sup> indicator appears on the first day of the specified month.  Similarly if neither month or day are specified, the indicator appears on the first day of the specified year.
 
Please read [[Wikipedia:Avoid statements that will date quickly]]; DO NOT use [[template:update after|update after]] in cases where it can be avoided.  DO NOT use [[template:update after|update after]] on pages which simply need to be reviewed later to see if they might need updating. It should only be used when there is a 100% probability an update is needed.  Do not use this template on [[Help:talk page|talk page]]sIt is probably not necessary to use this template on frequently edited articles.
NEVER add this template referring to the current day or any date in the past.
 
== History ==
This template replaces the prior '''<nowiki>[[As of nnnn]]</nowiki>''' convention.  These pages had multiple problems, such as being in the encyclopedic namespace, not being used correctly or consistently, and resulting in editors often unnecessarily mangling the prose in order to use it.  This template resolves these problems, since the update warning only appears after an indicated future date, does not appear when a page is printed, and does not require artifically linking any text in the article.<!-- This paragraph can be removed after all [[As of]] pages are gone -->
 
== Discussion ==
Developmental discussion is at [[Wikipedia talk:As of#Template:Update after]]
 
<!--
=== Maintenance ===
Month pages can be created by simply putting <nowiki>{{Update after2|YYYY}}</nowiki> or <nowiki>{{subst:Update after2|YYYY}}</nowiki> on a page.  Do not delete months until all requested updates on Day pages have been taken care of.
 
Day pages can be created by simply putting <nowiki>{{Update after3|YYYY|MM}}</nowiki> or <nowiki>{{subst:Update after3|YYYY|MM}}</nowiki> on a page.  Do not delete days until all requested updates have been taken care of.
 
Don't create month pages more than a year ahead or day pages more than a month ahead; it's not necessary.
-->
== Notes for future reference ==
* The "update needed" message ''and category'' currently appear on the first day of the year or month, but do not need to; as a cosmetic issue with regards to non-editors, the template can be modified to show this at a later time than the date on which the article is scheduled to be updated.  Specifically, when a day is given, it may be desirable to have the message not appear until the next day, a week later when only a year and month are given, and a month or quarter later when only a year is given.
* If it is desired that the category message appear at a different time than the "update needed" message, an extra line can be added to the template to support this.
* Having the page be added to a category may turn out to be either unnecessary or annoying.  In this case, ask [[User:Rick Block]] or another admin to remove the category from the template.
</noinclude>
</noinclude>

Revision as of 09:23, 7 August 2006

[update needed]

Usage

This template shows the update needed note shown above, but the note becomes visible only on a particular (future) date. The date is specified as a year, optionally followed by a month (1-12), optionally followed by a day, for example {{update after|2008|11|4}} for November 4, 2008. If the day is not specified, the [update needed] indicator appears on the first day of the specified month. Similarly if neither month or day are specified, the indicator appears on the first day of the specified year.

Please read Wikipedia:Avoid statements that will date quickly; DO NOT use update after in cases where it can be avoided. DO NOT use update after on pages which simply need to be reviewed later to see if they might need updating. It should only be used when there is a 100% probability an update is needed. Do not use this template on talk pages. It is probably not necessary to use this template on frequently edited articles. NEVER add this template referring to the current day or any date in the past.

History

This template replaces the prior [[As of nnnn]] convention. These pages had multiple problems, such as being in the encyclopedic namespace, not being used correctly or consistently, and resulting in editors often unnecessarily mangling the prose in order to use it. This template resolves these problems, since the update warning only appears after an indicated future date, does not appear when a page is printed, and does not require artifically linking any text in the article.

Discussion

Developmental discussion is at Wikipedia talk:As of#Template:Update after.

Notes for future reference

  • The "update needed" message and category currently appear on the first day of the year or month, but do not need to; as a cosmetic issue with regards to non-editors, the template can be modified to show this at a later time than the date on which the article is scheduled to be updated. Specifically, when a day is given, it may be desirable to have the message not appear until the next day, a week later when only a year and month are given, and a month or quarter later when only a year is given.
  • If it is desired that the category message appear at a different time than the "update needed" message, an extra line can be added to the template to support this.
  • Having the page be added to a category may turn out to be either unnecessary or annoying. In this case, ask User:Rick Block or another admin to remove the category from the template.