Difference between revisions of "Template:Outdated"
m (1 revision imported) |
|||
Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
<languages/> |
<languages/> |
||
− | </noinclude>{{#switch: |
+ | </noinclude>{{#switch: |
| = |
| = |
||
{{ambox |
{{ambox |
||
| type = content |
| type = content |
||
− | | text = ''' |
+ | | 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 === |
+ | === 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> |
||
− | + | 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/>
IMPORTANT: The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice. |
Contents
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:
IMPORTANT: The content of this page is outdated. MediaWiki doesn't run under XYZ Server anymore. If you have checked or updated this page and found the content to be suitable, please remove this notice. |
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:
IMPORTANT: The content of this page is outdated. Please check the English reference version. If you have checked or updated this page and found the content to be suitable, please remove this notice. |
See also
- {{Historical}}
- {{Update}}
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>
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
[[Category:Alert templates{{#translation:}}|Outdated]] [[Category:Categorizing templates{{#translation:}}|Outdated]]