Difference between revisions of "Template:Outdated/en"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude>{{ambox
+
</noinclude>{{#switch:
 +
| =
 +
{{ambox
 
  | type = content
 
  | type = content
  | text = '''IMPORTANT:''' The content of this page is outdated. {{{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|}}}|{{#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.
}}<includeonly>{{#if: {{{1|}}}|[[Category:Outdated translations{{translation}}]]|[[Category:Outdated pages{{translation}}]]}}</includeonly><noinclude>
+
}}<includeonly>{{#if: {{{1|}}}|[[Category:Outdated translations{{translation}}]]|[[Category:Outdated pages{{translation}}]]}}</includeonly>
 +
| #default=
 +
  {{ {{TNTN|Outdated}}
 +
  |1={{{1|}}}
 +
  |reason={{{reason|}}}
 +
  }}
 +
}}<noinclude>
 
{{ {{TNTN|Documentation}} |content=
 
{{ {{TNTN|Documentation}} |content=
  
Line 10: Line 18:
  
 
=== Out-of-date English content ===
 
=== Out-of-date English content ===
  <nowiki>{{TNT|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).
 
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.
 
The template will be displayed as shown at the top of this page.
 
You can also specify a reason:
 
You can also specify a reason:
  <nowiki>{{TNT|Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
+
  <nowiki>{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
  
 
Which creates:
 
Which creates:
  
{{ {{TNTN|Outdated}} |reason=MediaWiki doesn't run under XYZ Server anymore.}}
+
{{Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}
  
 
=== Out-of-date translations ===
 
=== Out-of-date translations ===
Line 25: Line 33:
 
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:
  
  <nowiki>{{TNT|Outdated|Page name}}</nowiki>
+
  <nowiki>{{Outdated|Page name}}</nowiki>
 
   
 
   
  e.g. <nowiki>{{TNT|Outdated|Project:Language policy}}</nowiki>
+
  e.g. <nowiki>{{Outdated|Project:Language policy}}</nowiki>
  
 
Creates:
 
Creates:
  
{{ {{TNTN|Outdated}} |Project:Language policy}}
+
{{Outdated|Project:Language policy}}
  
 
== See also ==
 
== See also ==

Revision as of 01:24, 15 January 2017

<languages/>

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
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:Template documentation pages{{#translation:}}]]