Template:Update after: Difference between revisions

From Vigyanwiki
Template>SMcCandlish
m (using defacto standard reason= instead of weird COMMENT=)
Template>AlanBarrett
(add demo parameter)
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
   ##### 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
   ##### optional named parameter BANNER=Y creates a banner message instead of an inline message (deprecated)
  ##### optional named parameter demo=Y does not place the article in any categories (used in examples)


--></noinclude>{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >=
--></noinclude>{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }}  >=
Line 15: Line 16:
     |link = {{TALKPAGENAME}}#obsolete
     |link = {{TALKPAGENAME}}#obsolete
     |text = dated info
     |text = dated info
     |cat = [[Category:Wikipedia articles in need of updating|{{PAGENAME}}]] {{#if:{{{4|}}}|[[Category:{{{4}}}]]}}
     |cat = {{#switch:{{{demo|n}}}|y|Y=|#default= [[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}}  
   }}{{#if:{{{1|}}}|[[Wikipedia:Updating information/{{{1}}}|<s />]]{{#if:{{{2|}}}|[[Wikipedia:Updating information/{{{1}}}/{{{2}}}|<s />]]{{#if:{{{3|0}}}|[[Wikipedia:Updating information/{{{1}}}/{{{2}}}/{{{3}}}|<s />]]}}}}}}
   }}{{#if:{{{1|}}}|[[Wikipedia:Updating information/{{{1}}}|<s />]]{{#if:{{{2|}}}|[[Wikipedia:Updating information/{{{1}}}/{{{2}}}|<s />]]{{#if:{{{3|0}}}|[[Wikipedia:Updating information/{{{1}}}/{{{2}}}/{{{3}}}|<s />]]}}}}}}

Revision as of 03:21, 7 February 2009

[dated info]

Template documentation