Template:Update: Difference between revisions
Jump to navigation
Jump to search
show template - separate documentation |
add section parameter |
||
Line 7: | 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|}}}|#{{{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|}}}|#{{{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 19: | 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]]. | ||
== | === Parameters === | ||
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. | |||
[[Category:Page Action Templates]] | [[Category:Page Action Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 09:35, 13 January 2019
Information on this page is out of date. (Consider using more specific update instructions.) Please help update the page if you can. The talk page may contain suggestions. |
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.