Template:Update after: Difference between revisions

From Vigyanwiki
Template>Scott McNay
(Centralized documentation in Wikipedia:Updating information)
m (150 revisions imported from alpha:Template:Update_after)
 
(122 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}}}}}
  -->|&#91;[[Wikipedia:Updating information/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}{{#if:{{{3|}}}|/{{{3}}}}}}}|''update needed'']]&#93;<!--
  |text = {{{text|}}}
        -->[[Category:Update in {{{1}}}/{{#if:{{{2|}}}|{{{2}}}|1}}|{{PAGENAME}}]]|}}<!--
  |reason={{{reason|The text near this tag is dated.}}}
--></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>
Please read [[Wikipedia:Updating information]] before attempting to use this template.  Otherwise, you may find yourself the recipient of a "Please go read [[Wikipedia:Updating information#Usage]]" message.
{{Documentation}}
<!-- 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