Template>Scott McNay |
|
(128 intermediate revisions by 39 users not shown) |
Line 1: |
Line 1: |
| <includeonly><!-- | | {{SAFESUBST:<noinclude />#invoke:Unsubst||$B=<!-- |
|
| |
|
| param 1 is the year
| | ##### param 1 is the year |
| optional param 2 is the month number
| | ##### param 2 is the month number |
| optional param 3 is the day
| | ##### param 3 is the day of the month |
| | ##### optional param 4 is the category |
| | ##### optional named parameter reason= changes the tooltip text |
|
| |
|
| --><sup title="The text in the vicinity of this tag needs to be updated {{#if: {{{3|}}} | on | in}} <!-- | | -->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }} > |
| -->[[{{{1}}}((#if: {{{2|}}} |-{{{2}}}{{#if:{{{3|}}}|-{{{3}}}}}}}]]." class="noprint">{{
| | {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }} |
| #ifexpr: {{datecnum| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }} >=
| | |{{update inline span |
| {{datecnum| {{{1}}} | {{{2|}}} | {{{3|}}} }} <!--
| | |date={{#if:{{{1|}}}|{{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|January}} {{{1}}}}} |
| -->|[[[Wikipedia:Updating information/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}{{#if:{{{3|}}}|/{{{3}}}}}}}|''update needed'']]]<!--
| | |text = {{{text|}}} |
| -->[[Category:Update in {{{1}}}/{{#if:{{{2|}}}|{{{2}}}|1}}|{{PAGENAME}}]]<!--
| | |reason={{{reason|The text near this tag is dated.}}} |
| -->|[[Wikipedia:Updating information/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}{{#if:{{{3|}}}|/{{{3}}}}}}}|<sup></sup>]]}} </sup></includeonly><noinclude> | | }}{{#if:{{{4|}}}|{{main other|[[Category:{{{4}}}]]}}}}|{{{text|}}}{{main other|[[Category:Wikipedia articles scheduled for update tagging]]}} |
| ----
| | }}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using update after template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Update after]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | delay | reason | text }}<noinclude> |
| | | {{Documentation}} |
| (THIS TEMPLATE IS UNDER DEVELOPMENT)
| | <!-- Add categories and inter-wikis to the /doc subpage, please, not here! --> |
| | |
| This template is used for marking places in Wikipedia entries which need to be updated later. For a list of all articles using this template, see [[http://en.wikipedia.org/wiki/Special:Whatlinkshere/{{FULLPAGENAMEE}} What links here]]. Lists by year, month, and day can be found by checking [[Wikipedia:Updating information]]. Articles in need of updating are added to categories the next time they're edited when the update is indicated to be needed.
| |
| | |
| Use of this template should not be an excuse for your laziness! Please read [[Wikipedia:Avoid statements that will date quickly]], and use this template only when there is no reasonable way around it.
| |
| | |
| To use, simply put <nowiki>{{Update after|year|month|day}}</nowiki> after the item which should be updated, much as you would a footnote. The template should follow any footnote marks or similar stuff and should be adjacent to white space. Year should be replaced by the 4-digit year in which the item should be updated and must be included. A month number (1-12) and day number are optional parameters, so the date can be just a year, or a year and a month, or a specific day.
| |
| | |
| This template is intended as a replacement for the [[As of]] technique, which violates Wikipedia convention by linking text to administrative material, amd has other problems.
| |
| | |
| Discussion is at [[Wikipedia talk:As of#Template:Update after]]
| |
| </noinclude> | | </noinclude> |