Template:Update after: Difference between revisions

From Vigyanwiki
Template>Zzuuzz
m (Reverted edits by JAnDbot (talk) to last version by Lambiam)
m (150 revisions imported from alpha:Template:Update_after)
 
(45 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<includeonly><!--
{{SAFESUBST:<noinclude />#invoke:Unsubst||$B=<!--


   ##### param 1 is the year
   ##### param 1 is the year
Line 5: Line 5:
   ##### param 3 is the day of the month
   ##### param 3 is the day of the month
   ##### optional param 4 is the category
   ##### optional param 4 is the category
   ##### optional named parameter COMMENT= is ignored
   ##### optional named parameter reason= changes the tooltip text
  ##### optional named parameter BANNER=Y creates a banner message instead of an inline message


--><!--
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >
  ##### The next line is the tooltip #####
   {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }}  
--><sup title="The text in the vicinity of this tag needs to be updated on [[{{{1}}}-{{{2}}}-{{{3}}}]]." <!--
|{{update inline span
  ##### The next line causes the message to not appear when printed #####
  |date={{#if:{{{1|}}}|{{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|January}} {{{1}}}}}
-->class="noprint"><!--
  |text = {{{text|}}}
  ##### Next line shows up on day pages  #####
   |reason={{{reason|The text near this tag is dated.}}}
-->[[Wikipedia:Updating information/{{{1}}}/{{{2}}}/{{{3}}}|<s />]]<!--
}}{{#if:{{{4|}}}|{{main other|[[Category:{{{4}}}]]}}}}|{{{text|}}}{{main other|[[Category:Wikipedia articles scheduled for update tagging]]}}
  ##### Next line shows up on month pages #####
  }}}}{{#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>
-->[[Wikipedia:Updating information/{{{1}}}/{{{2}}}|<s />]]<!--
{{Documentation}}
  ##### Next line shows up on year pages  #####
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! -->
-->[[Wikipedia:Updating information/{{{1}}}|<s />]]<!--
  ##### This section causes the message or banner to appear in the text, with specified date offset. #####
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >=
   {{JULIANDAY| {{{1}}} | {{{2}}} | {{{3}}} }} + 0  <!--
  ##### (Change 0 above to 1, 7, or 31 to cause the message or banner to appear a day, week, or month late) #####
-->|{{#ifeq: {{uc:{{{BANNER| {{{banner| {{{Banner|N}}} }}} }}} }}| Y |<!--
  ##### Following is the banner; note that pipe characters are "escaped" as {{!}}. #####
-->{{{!}} class="messagebox current" style="width: auto;"
{{!}}-
{{!}} [[Image:Current event marker.svg|50px| ]]
{{!}} '''This article or section needs to be updated.''' <br> Parts of this article or section have been identified as no longer being up to date.
 
Please update the article to reflect recent events, and remove this template when finished.
{{!}} [[Image:Nuvola apps important.svg|50px| ]]
{{!}}}<!--
  ##### End of banner #####
-->|&#91;[[:Category:Wikipedia articles in need of updating|''update needed'']]&#93;}} }}<!--
  ##### This section causes the category to appear at the specfied time, if someone edits (or maybe views) the page. #####
-->{{#if:{{{4|}}}|{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }} >=
  {{JULIANDAY| {{{1}}} | {{{2}}} | {{{3}}} }} + 0   <!--
  ##### (Change 0 above to 1, 7, or 31 to cause the category to appear a day, week, or month late) #####
-->|[[Category:{{{4}}}|{{PAGENAME}}]]}}}}<!--
  ##### This section connects to [[:Category:Wikipedia articles in need of updating]] at the specfied time. #####
-->{{#if:{{{4|}}}|{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }} >=
  {{JULIANDAY| {{{1}}} | {{{2}}} | {{{3}}} }} + 0  <!--
  ##### (Change 0 above to 1, 7, or 31 to cause the category to appear a day, week, or month late) #####
-->|[[Category:Wikipedia articles in need of updating|{{PAGENAME}}]]}}}}<!--
  ##### This section connects to the appropriate [[As of nnnn]] page.
-->[[As of {{{1}}}|<s />]]</sup></includeonly><noinclude>
 
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 13:35, 2 February 2023

[needs update]

Template documentation