Difference between revisions of "Template:Update"

From Nottinghack Wiki
Jump to navigation Jump to search
(add section parameter)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
   |#default  = on this page
 
   |#default  = on this page
 
   |yes = in this section}}<!--
 
   |yes = in this section}}<!--
--> is out of date. {{#if:{{{2|{{{reason|}}}}}}|The specific problem is: '''{{{2|{{{reason|}}}|Please add a "reason" parameter to this template}}}'''.|(Consider using [[Template:Update|more specific update instructions]].)}} Please help update the page if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
+
--> is out of date. {{#if:{{{2|{{{reason|}}}}}}|The specific problem is: '''{{{2|{{{reason|}}}|Please add a "reason" parameter to this template}}}'''|(Consider using [[Template:Update|more specific update instructions]].)}} Please help update the page if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
| doc      = no
 
| doc      = no
 
}}<includeonly>[[Category:Pages for Update]]</includeonly><noinclude>
 
}}<includeonly>[[Category:Pages for Update]]</includeonly><noinclude>
Line 30: Line 30:
  
 
If tag is used for a section of a page use <code>section=yes</code> to reflect section in text.
 
If tag is used for a section of a page use <code>section=yes</code> to reflect section in text.
 +
 +
==See also==
 +
* [[Template:Cleanup]]
  
 
[[Category:Page Action Templates]]
 
[[Category:Page Action Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:41, 28 January 2022

Documentation

To indicate that a page is out of date and need updating, add this template at the top of the page:

{{Update}}

Note: the page will be automatically added to the category pages for update.

Parameters

More specific instructions and a date can be included in the tag box, for example:

{{Update|reason=a newer version of the software is now used|date=December 2018}} 

If tag is used for a section of a page use section=yes to reflect section in text.

See also