Difference between revisions of "Template:Outdated"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][checked revision]
m (more Category:Categorizing templates, so add that)
 
(27 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{mbox
+
{{#switch:
  | type = warning
+
| =
  | text = '''IMPORTANT:''' The content of this page is outdated. {{#if: {{{1|}}}|Please '''[[{{{1}}}|check the English reference]]''' version.}} If you have checked or updated this page and found the content to be suitable, please remove this notice.
+
{{ambox
}}<includeonly>{{#if: {{{1|}}}|[[Category:Outdated translations]]|[[Category:Outdated pages]]}}</includeonly><noinclude>
+
  | type = content
{{Documentation}}
+
  | text = '''<!--T:1--> IMPORTANT:''' <!--T:2--> The content of this page is outdated. {{#if:{{{reason|}}}|{{{reason}}}|{{#if: {{{1|}}}|<!--T:3--> Please '''[[{{{1}}}|check the English reference]]''' version.}} }} <!--T:4--> If you have checked or updated this page and found the content to be suitable, please remove this notice.
{{languages|Template:Outdated}}[[Category:Alert templates|{{PAGENAME}}]] [[Category:Categorizing templates|{{PAGENAME}}]]</noinclude>
+
}}
 +
| #default=
 +
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Outdated|noshift=1}}
 +
}}
 +
[[Category:Outdated pages]]<noinclude>
 +
{{ {{TNTN|Documentation}} }}
 +
</noinclude>

Latest revision as of 12:30, 27 May 2018

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[view] [edit] [history] [purge]
Description

This is the {{Outdated}} or Out-of-date content meta-template.

Usage

For out-of-date English content, writing {{Outdated}} creates...

For English pages that contain out-of-date information, simply add the template to the top of the page (or section if it only applies to part of the page). The template will be displayed as shown at the top of this page. You can also specify a reason:

{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}

Which creates:

Out-of-date translations

For non-English pages that are out-of-date translations, include the name of the English-language page it was translated from. The resulting banner will include a link to the source text, like this:

{{Outdated|Page name}}
e.g. {{Outdated|Project:Language policy}}

Creates:

See also

{{Update}}