Difference between revisions of "Template:Update"

From Krafties
Jump to navigation Jump to search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
-->{{#if:{{{reason|}}}|
 
-->{{#if:{{{reason|}}}|
 
*'''Reason:''' {{{reason}}}|}}
 
*'''Reason:''' {{{reason}}}|}}
}}<includeonly>[[Category:Pages with outdated content]]</includeonly></onlyinclude>
+
}}<includeonly>{{category handler
 +
| [[Category:Pages with outdated content]]
 +
| nocat = {{{nocat|}}}  <!--So "nocat=true/false" works-->
 +
}}<noinclude></includeonly></onlyinclude>
  
 
{{documentation}}
 
{{documentation}}

Latest revision as of 08:32, 3 May 2017

Ambox current red.png This content needs to be updated.
Documentation icon Template documentation ( view · talk · edit)

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 as 1=)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 updated
  • updated= (OPTIONAL) you can insert when this article/section was updated
  • part= (OPTIONAL) specify what part of the content needs updating

Examples[edit]

{{update|date=Jan 2017|updated=20 april 2017}}

Ambox current red.png This content needs to be updated.(Jan 2017) - Updated 20 april 2017

{{update|article|date=May 2017|reason=Outdated as of last [[necessity pack]] update}}

Ambox current red.png This article needs to be updated.(May 2017)

{{update|category|date=May 2017}}

Ambox current red.png This category needs to be updated.(May 2017)

{{update|reason=Just because...|part=The information about starter pets}}

Ambox current red.png This content needs to be updated.
  • Part: The information about starter pets
  • Reason: Just because...
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>