Template:Outdated: Difference between revisions

From PZwiki
(update)
Line 6: Line 6:


==Usage==
==Usage==
*{{tll|Outdated}}
{{Outdated|hidecat=true}}
===Parameters===
===Parameters===
;<code>section</code>
;<code>section</code>
:If set to <code>true</code>, will display "section" instead of "article" in the title.
:If set to <code>true</code>, will display "section" instead of "article" in the title.
;<code>hidecat</code>
;<code>hidecat</code>
:If not empty, the template will not add the page to the "{{ll|:Category:Outdated articles|Outdated articles}}" category.
:If set to <code>true</code>, this will not add the page to the "{{ll|:Category:Outdated articles|Outdated articles}}" category.
 
==Examples==
*{{tll|Outdated}}
{{Outdated|hidecat=true}}


{{Translation guide|<syntaxhighlight lang="html">
{{Translation guide|<syntaxhighlight lang="html">

Revision as of 17:39, 13 January 2024

Notebook.pngTemplate Documentation

Added to articles that are significantly outdated, mentioning features that no longer function in the same way.

Adds articles to the "Outdated articles" category.

Usage

Parameters

section
If set to true, will display "section" instead of "article" in the title.
hidecat
If set to true, this will not add the page to the "Outdated articles" category.

Examples

AppleRotten.png
This template may be outdated.
Editors are encouraged to update this template with new information.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| title = This {{{2}}} may be outdated.
| content = Editors are encouraged to update this {{{2}}} with new information.
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.