Template:Update: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
image can be changed at template level - rather than template:ambox level - use type:s
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{Ambox
Template default appearance:
{{Update}}
</noinclude>
<includeonly>{{Ambox
| name      = Update
| name      = Update
| subst    = {{subst:substcheck}}
| subst    = {{subst:substcheck}}
Line 11: Line 7:
| image = [[File:Ambox_update_red.svg|50px]]
| image = [[File:Ambox_update_red.svg|50px]]
| small    = {{{small|}}}
| small    = {{{small|}}}
| text      = Information on this page 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>}}
| text      = Information <!--
-->{{#switch: {{{section}}}<!-- switch on value of section -->
  |#default  = on this page
  |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>}}
| doc      = no
| doc      = no
}}</includeonly><includeonly>[[Category:Pages for Update]]</includeonly><noinclude>
}}<includeonly>[[Category:Pages for Update]]</includeonly><noinclude>
==Documentation==
To indicate that a page is out of date and need updating, add this template at the top of the page:
To indicate that a page is out of date and need updating, add this template at the top of the page:


Line 22: Line 23:
'''Note:''' the page will be automatically added to the category [[:Category:Pages for Update|pages for update]].
'''Note:''' the page will be automatically added to the category [[:Category:Pages for Update|pages for update]].


== How to provide more detail ==
=== Parameters ===
To give more specific instructions and a date in the update box use this wiki markup:
More specific instructions and a date can be included in the tag box, for example:
<pre>
<pre>
{{Update|reason=a newer version of the software is now used|date=December 2018}}  
{{Update|reason=a newer version of the software is now used|date=December 2018}}  
</pre>
</pre>
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