Template:Update after: Difference between revisions

From Vigyanwiki
Template>Courcelles
m (Changed protection level of Template:Update after: Batch semi-protection of highly visible templates listed on Wikipedia:Database reports/Unprotected templates with many transclusions/4 Any that were full-protected I will restore. using TW )
m (150 revisions imported from alpha:Template:Update_after)
 
(24 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<noinclude><!--
{{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 reason= is ignored (used as a hidden comment to future editors)
   ##### optional named parameter reason= changes the tooltip text


--></noinclude>{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >=
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >
   {{JULIANDAY| {{#if:{{{1|}}}|{{{1}}}|{{CURRENTYEAR}}}} | {{#if:{{{2|}}}|{{{2}}}|{{CURRENTMONTH}}}} | {{#if:{{{3|}}}|{{{3}}}|{{CURRENTDAY}}}} + {{{delay|0}}} }}  
   {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }}  
|{{fix
|{{update inline span
    |link = {{TALKPAGENAME}}#obsolete
  |date={{#if:{{{1|}}}|{{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|January}} {{{1}}}}}
    |text = dated info
  |text = {{{text|}}}
    |cat = {{#if:{{{1|}}}|{{#if:{{{2|}}}|[[Category:Wikipedia articles in need of updating since {{MONTHNAME|{{{2}}}}} {{{1}}}|{{PAGENAME}}]]|[[Category:Wikipedia articles in need of updating since {{{1}}}|{{PAGENAME}}]]}}|[[Category:Wikipedia articles in need of updating|{{PAGENAME}}]]}}{{#if:{{{4|}}}|[[Category:{{{4}}}]]}}
  |reason={{{reason|The text near this tag is dated.}}}
    |title = The text in the vicinity of this tag is dated}}
}}{{#if:{{{4|}}}|{{main other|[[Category:{{{4}}}]]}}}}|{{{text|}}}{{main other|[[Category:Wikipedia articles scheduled for update tagging]]}}
  }}<noinclude>
  }}}}{{#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}}
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! -->
<!-- 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