Difference between revisions of "Template:Outdated"

From Warwick Student Cinema
Jump to: navigation, search
m (1 revision imported)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude>{{#switch:<translate></translate>
+
</noinclude>{{#switch:
 
| =
 
| =
 
{{ambox
 
{{ambox
 
| type = content
 
| type = content
| text = '''<translate><!--T:1--> IMPORTANT:</translate>''' <translate><!--T:2--> The content of this page is outdated.</translate> {{#if:{{{reason|}}}|{{{reason}}}|{{#if: {{{1|}}}|<translate><!--T:3--> Please '''[[<tvar|1>{{{1}}}</>|check the English reference]]''' version.</translate>}} }} <translate><!--T:4--> If you have checked or updated this page and found the content to be suitable, please remove this notice.</translate>
+
| 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:{{{nocat|}}}
 
|{{#if:{{{1|}}}|[[Category:Outdated translations{{#translation:}}]]|[[Category:Outdated pages{{#translation:}}]]}}
 
|{{#if:{{{1|}}}|[[Category:Outdated translations{{#translation:}}]]|[[Category:Outdated pages{{#translation:}}]]}}
Line 14: Line 14:
 
{{ {{TNTN|Documentation}} |content=
 
{{ {{TNTN|Documentation}} |content=
   
  +
== Usage ==
<translate>
 
== Usage == <!--T:5-->
 
   
=== Out-of-date English content === <!--T:6-->
+
=== Out-of-date English content ===
</translate>
 
 
<nowiki>{{Outdated}}</nowiki>
 
<nowiki>{{Outdated}}</nowiki>
  +
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).
<translate>
 
  +
The template will be displayed as shown at the top of this page.
<!--T:7-->
 
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).</translate>
 
<translate>
 
<!--T:8-->
 
The template will be displayed as shown at the top of this page.</translate>
 
<translate>
 
<!--T:9-->
 
 
You can also specify a reason:
 
You can also specify a reason:
</translate>
 
 
<nowiki>{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
 
<nowiki>{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
   
<translate>
 
<!--T:10-->
 
 
Which creates:
 
Which creates:
</translate>
 
   
 
{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.|nocat=1}}
 
{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.|nocat=1}}
   
  +
=== Out-of-date translations ===
<translate>
 
=== Out-of-date translations === <!--T:11-->
 
   
  +
For non-English pages that are out-of-date translations, include the name of the English-language page it was translated from.
<!--T:12-->
 
For non-English pages that are out-of-date translations, include the name of the English-language page it was translated from.</translate>
 
<translate>
 
<!--T:13-->
 
 
The resulting banner will include a link to the source text, like this:
 
The resulting banner will include a link to the source text, like this:
</translate>
 
   
 
<nowiki>{{Outdated|Page name}}</nowiki>
 
<nowiki>{{Outdated|Page name}}</nowiki>
 
 
<translate><!--T:14--> e.g.</translate> <nowiki>{{Outdated|Project:Language policy}}</nowiki>
+
e.g. <nowiki>{{Outdated|Project:Language policy}}</nowiki>
   
<translate>
 
<!--T:15-->
 
 
Creates:
 
Creates:
</translate>
 
   
 
{{Outdated|Project:Language policy|nocat=1}}
 
{{Outdated|Project:Language policy|nocat=1}}
   
  +
== See also ==
<translate>
 
== See also == <!--T:16-->
 
</translate>
 
 
* {{tl|Historical}}
 
* {{tl|Historical}}
 
* {{tl|Update}}
 
* {{tl|Update}}

Revision as of 23:16, 1 February 2019

<languages/>

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>

[[Category:Alert templates{{#translation:}}|Outdated]] [[Category:Categorizing templates{{#translation:}}|Outdated]]