Template:Update after: Difference between revisions

From Vigyanwiki
Template>Smjg
(you broke the case where no date is specified)
m (150 revisions imported from alpha:Template:Update_after)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!--
{{SAFESUBST:<noinclude />#invoke:Unsubst||$B=<!--


   ##### param 1 is the year
   ##### param 1 is the year
Line 9: Line 9:
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >
   {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }}  
   {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }}  
|{{Fix-span
|{{update inline span
    |link = Wikipedia:Manual of Style/Dates and numbers#Precise language
  |date={{#if:{{{1|}}}|{{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|January}} {{{1}}}}}
    |text = dated info
  |text = {{{text|}}}
    |cat = {{#if:{{{1|}}}|{{#if:{{{2|}}}|{{DMCA|Wikipedia articles in need of updating|from|{{MONTHNAME|{{{2}}}}} {{{1}}}}}|{{DMCA|Wikipedia articles in need of updating|from|January {{{1}}}}}}}|{{DMCA|||Wikipedia articles in need of updating}}}}{{#if:{{{4|}}}|[[Category:{{{4}}}]]}}
  |reason={{{reason|The text near this tag is dated.}}}
    |title = {{{reason|The text near this tag is dated.}}}
}}{{#if:{{{4|}}}|{{main other|[[Category:{{{4}}}]]}}}}|{{{text|}}}{{main other|[[Category:Wikipedia articles scheduled for update tagging]]}}
    |content = {{{text|}}}
  }}}}{{#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>
}}|{{{text|}}}
  }}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! -->
<!-- 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