Difference between revisions of "Template:Outdated"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][checked revision]
(migrate to make translation easier)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
+
{{#switch:
<languages/>
+
| =
</noinclude>{{ambox
+
{{ambox
 
  | type = content
 
  | type = content
  | text = '''<translate><!--T:1-->
+
  | 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.
IMPORTANT</translate>:''' <translate><!--T:2-->
 
The content of this page is outdated.</translate> {{{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>
 
}}<includeonly>{{#if: {{{1|}}}|[[Category:Outdated translations{{translation}}]]|[[Category:Outdated pages{{translation}}]]}}</includeonly><noinclude>
 
{{ {{TNTN|Documentation}} |content=
 
 
 
== Usage ==
 
 
 
=== Out-of-date English content ===
 
<nowiki>{{TNT|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).  The template will be displayed as shown at the top of this page. You can also specify a reason:
 
<nowiki>{{TNT|Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
 
 
 
Which creates:
 
 
 
{{ {{TNTN|Outdated}} |reason=MediaWiki doesn't run under XYZ Server anymore.}}
 
 
 
=== 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:
 
 
 
<nowiki>{{TNT|Outdated|Page name}}</nowiki>
 
 
e.g.  <nowiki>{{TNT|Outdated|Project:Language policy}}</nowiki>
 
 
 
Creates:
 
 
 
{{ {{TNTN|Outdated}} |Project:Language policy}}
 
 
 
== See also ==
 
* {{tl|Historical}}
 
* {{tl|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>
 
 
 
 
}}
 
}}
[[Category:Alert templates{{translation}}|{{PAGENAME}}]]
+
| #default=
[[Category:Categorizing templates{{translation}}|{{PAGENAME}}]]
+
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Outdated|noshift=1}}
 +
}}
 +
[[Category:Outdated pages]]<noinclude>
 +
{{ {{TNTN|Documentation}} }}
 
</noinclude>
 
</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}}