Difference between revisions of "Template:Outdated"

From Warwick Student Cinema
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  +
{{#switch:
<noinclude>
 
<languages/>
 
</noinclude>{{#switch:
 
 
| =
 
| =
 
{{ambox
 
{{ambox
 
| type = content
 
| type = content
 
| text = '''IMPORTANT:''' The content of this page is outdated. {{#if:{{{reason|}}}|{{{reason}}}|{{#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.
 
| text = '''IMPORTANT:''' The content of this page is outdated. {{#if:{{{reason|}}}|{{{reason}}}|{{#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.
}}{{#if:{{{nocat|}}}
 
|{{#if:{{{1|}}}|[[Category:Outdated translations{{#translation:}}]]|[[Category:Outdated pages{{#translation:}}]]}}
 
 
}}
 
}}
 
| #default=
 
| #default=
Line 65: Line 61:
   
 
}}
 
}}
[[Category:Alert templates{{#translation:}}|{{PAGENAME}}]]
 
[[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 23:20, 1 February 2019

Documentation icon Template documentation

Usage

Out-of-date English content

{{Outdated}}

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

Templatedata

<templatedata> { "description": "", "params": { "1": { "label": "Name of master English version", "description": "Used for translation pages only. Provides a link to the master version in English, from which this page should be updated.", "type": "wiki-page-name" }, "reason": { "label": "Reason", "type": "content", "suggested": true } } } </templatedata>