Difference between revisions of "Template:Update"

From Krafties
Jump to navigation Jump to search
m
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 page needs to be '''updated'''.
+
|#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

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>