Difference between revisions of "Template:Update"
Jump to navigation
Jump to search
MyraMidnight (talk | contribs) m |
MyraMidnight (talk | contribs) m |
||
(21 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|template = This template needs to be '''updated'''. | |template = This template needs to be '''updated'''. | ||
|category = This category needs to be '''updated'''. | |category = This category needs to be '''updated'''. | ||
− | |#default = This | + | |#default = This content needs to be '''updated'''. |
− | }} | + | }}<!--- |
− | ({{{date| | + | -->{{#if:{{{date|}}}|({{{date}}})|}} <!--- |
− | }}</onlyinclude> | + | -->{{#if:{{{updated|}}}| - ''Updated {{{updated}}}}}''<!-- |
+ | -->{{#if:{{{part|}}}| | ||
+ | *'''Part:''' {{{part}}}|}}<!-- | ||
+ | -->{{#if:{{{reason|}}}| | ||
+ | *'''Reason:''' {{{reason}}}|}} | ||
+ | }}<includeonly>{{category handler | ||
+ | | [[Category:Pages with outdated content]] | ||
+ | | nocat = {{{nocat|}}} <!--So "nocat=true/false" works--> | ||
+ | }}<noinclude></includeonly></onlyinclude> | ||
{{documentation}} | {{documentation}} |
Latest revision as of 09:32, 3 May 2017
Template documentation (
)
)
This template is to indicate outdated content
This template will automatically put pages into the Pages with outdated content category.
Usage[edit]
1=
(OPTIONAL) (can be first command unnamed, or speficied as1=
)specify what type (article, category, template)date=
When was this notice applied?reason=
(OPTIONAL) you can state reason for why this section needs to be updatedupdated=
(OPTIONAL) you can insert when this article/section was updatedpart=
(OPTIONAL) specify what part of the content needs updating
Examples[edit]
{{update|date=Jan 2017|updated=20 april 2017}}
{{update|article|date=May 2017|reason=Outdated as of last [[necessity pack]] update}}
{{update|category|date=May 2017}}
{{update|reason=Just because...|part=The information about starter pets}}
- The above documentation is transcluded from Template:Update/doc.
- Editors can experiment in this template's sandbox
- Please add categories to the /doc subpage within
<includeonly>...</includeonly>