Template:Update after: Difference between revisions

From Vigyanwiki
Template>Scott McNay
No edit summary
m (150 revisions imported from alpha:Template:Update_after)
 
(145 intermediate revisions by 39 users not shown)
Line 1: Line 1:
<sup>[[Template:As of 2007|*]]</sup><noinclude>
{{SAFESUBST:<noinclude />#invoke:Unsubst||$B=<!--
----
This template is used for marking places in Wikipedia entries which need to be reviewed later.  For a list of all entries which need review, see [[{{SERVER}}{{SCRIPTPATH}}/index.php?title=Special:Whatlinkshere&target={{FULLPAGENAMEE}} What links here]].


To use, simply put <nowiki>{{As of nnnn}}</nowiki> after the item which should be reviewed, much as you would a footnote.  The template should follow any footnote marks or similar stuff.  ''Nnnn'' should be replaced by the year in which the item should be reviewed.
  ##### param 1 is the year
  ##### param 2 is the month number
  ##### param 3 is the day of the month
  ##### optional param 4 is the category
  ##### optional named parameter reason= changes the tooltip text


To create a template for another year, simply copy this template as-is.
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >
 
  {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }}
This template is intended as a replacement for the [[As of]] technique, which violates Wikipedia convention by linking text to administrative material.
|{{update inline span
 
  |date={{#if:{{{1|}}}|{{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|January}} {{{1}}}}}
For discussion:
  |text = {{{text|}}}
# This template probably needs to be renamed to "Review in" or something similar which sounds more natural.
  |reason={{{reason|The text near this tag is dated.}}}
# Might be a good idea to have the template insert a marker in the text, so that editors will know that it's already marked, and will know where to look to find the are which needs review.  Might want to make marker visible only to editors (people signed in), if possible.
}}{{#if:{{{4|}}}|{{main other|[[Category:{{{4}}}]]}}}}|{{{text|}}}{{main other|[[Category:Wikipedia articles scheduled for update tagging]]}}
# Once tested and seems to do what is intended, need to see about updating the ''As of'' pages to announce this, and deprecate the use of ''As of''.
  }}}}{{#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}}
Discussion is at [[Wikipedia talk:As of#Demo template created]]
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! -->
</noinclude>
</noinclude>

Latest revision as of 13:35, 2 February 2023

[needs update]

Template documentation