Template:Update after: Difference between revisions

From Vigyanwiki
Template>Svick
(added tracking category for banner parameter)
Template>Svick
(rm deprecated unused banner parameter)
Line 6: Line 6:
   ##### 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= is ignored (used as a hidden comment to future editors)
  ##### optional named parameter BANNER=Y creates a banner message instead of an inline message (deprecated)


--></noinclude>{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >=
--></noinclude>{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >=
   {{JULIANDAY| {{#if:{{{1|}}}|{{{1}}}|{{CURRENTYEAR}}}} | {{#if:{{{2|}}}|{{{2}}}|{{CURRENTMONTH}}}} | {{#if:{{{3|}}}|{{{3}}}|{{CURRENTDAY}}}} + {{{delay|0}}} }}  
   {{JULIANDAY| {{#if:{{{1|}}}|{{{1}}}|{{CURRENTYEAR}}}} | {{#if:{{{2|}}}|{{{2}}}|{{CURRENTMONTH}}}} | {{#if:{{{3|}}}|{{{3}}}|{{CURRENTDAY}}}} + {{{delay|0}}} }}  
|{{#ifeq: {{uc:{{{BANNER| {{{banner| {{{Banner|N}}} }}} }}} }}| Y
|{{fix
  |{{update|category=}}[[Category:Pages using Update after with deprecated parameters]]
  |{{fix
     |link = {{TALKPAGENAME}}#obsolete
     |link = {{TALKPAGENAME}}#obsolete
     |text = dated info
     |text = dated info
     |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}}}]]}}
     |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}}}]]}}
     |title = The text in the vicinity of this tag is dated}}
     |title = The text in the vicinity of this tag is dated}}
   }}
   }}<noinclude>
}}<noinclude>


{{template doc}}
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 05:49, 2 November 2009

[dated info]

Template documentation