Template:Update: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
update template
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Ambox
{{Ambox
| name      = Update
| name      = Update
| subst    = {{subst:substcheck}}
| subst    = {{subst:substcheck}}
| demospace = {{{demospace|}}}
| demospace = {{{demospace|}}}
| type      = style
| type      = content
| class    = ambox-Update
| class    = ambox-Style
| image = [[File:Ambox_update_red.svg|50px]]
| small    = {{{small|}}}
| small    = {{{small|}}}
| text      = 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 provide updated information 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 to clean up]]</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 15: Line 21:
</pre>
</pre>


'''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