Difference between revisions of "Template:Update"

From Krafties
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
-->{{#if:{{{reason|}}}|
 
-->{{#if:{{{reason|}}}|
 
*'''Reason:''' {{{reason}}}|}}
 
*'''Reason:''' {{{reason}}}|}}
}}<includeonly>{{#if:{{{{FULLPAGENAME}}/doc}}||[[Category:Pages with outdated content]]}}</includeonly></onlyinclude>
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME: Doc}}|{{PAGENAME}}||[[Category:Pages with outdated content]]}}</includeonly></onlyinclude>
  
 
{{documentation}}
 
{{documentation}}
 +
*{{SUBPAGENAME: Doc}}
 +
*{{SUBPAGENAME}}

Revision as of 04:30, 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

  • 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

{{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>
  • Doc
  • Update