Difference between revisions of "Template:Outdated"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(migrate to make translation easier)
(prepare for translation)
Line 3: Line 3:
 
</noinclude>{{ambox
 
</noinclude>{{ambox
 
  | type = content
 
  | type = content
  | text = '''<translate><!--T:1-->
+
  | text = '''<translate><!--T:1--> 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>
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>
 
}}<includeonly>{{#if: {{{1|}}}|[[Category:Outdated translations{{translation}}]]|[[Category:Outdated pages{{translation}}]]}}</includeonly><noinclude>
 
{{ {{TNTN|Documentation}} |content=
 
{{ {{TNTN|Documentation}} |content=
  
 +
<translate>
 
== Usage ==
 
== Usage ==
  
 
=== Out-of-date English content ===
 
=== Out-of-date English content ===
 +
</translate>
 
  <nowiki>{{TNT|Outdated}}</nowiki>
 
  <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:
+
<translate>
 +
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>
 +
The template will be displayed as shown at the top of this page.</translate>
 +
<translate>
 +
You can also specify a reason:
 +
</translate>
 
  <nowiki>{{TNT|Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
 
  <nowiki>{{TNT|Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}</nowiki>
  
 +
<translate>
 
Which creates:
 
Which creates:
 +
</translate>
  
 
{{ {{TNTN|Outdated}} |reason=MediaWiki doesn't run under XYZ Server anymore.}}
 
{{ {{TNTN|Outdated}} |reason=MediaWiki doesn't run under XYZ Server anymore.}}
  
 +
<translate>
 
=== Out-of-date translations ===
 
=== 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:
+
 
 +
For non-English pages that are out-of-date translations, include the name of the English-language page it was translated from.</translate>
 +
<translate>
 +
The resulting banner will include a link to the source text, like this:
 +
</translate>
  
 
  <nowiki>{{TNT|Outdated|Page name}}</nowiki>
 
  <nowiki>{{TNT|Outdated|Page name}}</nowiki>
 
   
 
   
  e.g. <nowiki>{{TNT|Outdated|Project:Language policy}}</nowiki>
+
  <translate>e.g.</translate> <nowiki>{{TNT|Outdated|Project:Language policy}}</nowiki>
  
 +
<translate>
 
Creates:
 
Creates:
 +
</translate>
  
 
{{ {{TNTN|Outdated}} |Project:Language policy}}
 
{{ {{TNTN|Outdated}} |Project:Language policy}}
  
 +
<translate>
 
== See also ==
 
== See also ==
 +
</translate>
 
* {{tl|Historical}}
 
* {{tl|Historical}}
 
* {{tl|Update}}
 
* {{tl|Update}}

Revision as of 05:25, 23 December 2016

<languages/>

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation

<translate>

Usage

Out-of-date English content

</translate>

{{TNT|Outdated}}

<translate> 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> The template will be displayed as shown at the top of this page.</translate> <translate> You can also specify a reason: </translate>

{{TNT|Outdated|reason=MediaWiki doesn't run under XYZ Server anymore.}}

<translate> Which creates: </translate>

<translate>

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.</translate> <translate> The resulting banner will include a link to the source text, like this: </translate>

{{TNT|Outdated|Page name}}

<translate>e.g.</translate> {{TNT|Outdated|Project:Language policy}}

<translate> Creates: </translate>

<translate>

See also

</translate>

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:}}]]