Difference between revisions of "Template:Outdated"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][checked revision]
(removed self-referencing to avoid wrong categorization of this page)
 
(33 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<div class="borderc5 backgroundc2" style="padding:0; margin:0 0 0.5em 0; border-style:solid; border-width:medium">
+
{{#switch:
{| width="100%" align="center" style="text-align:left; "
+
| =
|-
+
{{ambox
| style="align:left;" | [[Image:Nuvola apps important.svg|25px|Outdated]]
+
| type = content
| style="padding-left:5px;" | '''IMPORTANT:''' The content of this page is outdated. {{#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 = '''<!--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.
|}</div><includeonly>{{#if: {{{1|}}}|[[Category:Outdated translations]]|[[Category:Outdated pages]]}}</includeonly><noinclude>
+
}}
 
+
| #default=
== Usage ==
+
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Outdated|noshift=1}}
 
+
}}
=== Out-of-date English content ===
+
[[Category:Outdated pages]]<noinclude>
<nowiki>{{Outdated}}</nowiki>
+
{{ {{TNTN|Documentation}} }}
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.
+
</noinclude>
 
 
=== Out-of-date translations ===
 
<nowiki>{{Outdated|Page name}}</nowiki>
 
 
e.g.  <nowiki>{{Outdated|Project:Language policy}}</nowiki>
 
 
 
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:
 
 
 
<div class="borderc5 backgroundc2" style="padding:0; margin:0 0 0.5em 0; border-style:solid; border-width:medium">
 
{| width="100%" align="center" style="text-align:left; "
 
| style="align:left;" | [[Image:Nuvola apps important.svg|25px|Outdated]]
 
| style="padding-left:5px;" | '''IMPORTANT:''' The content of this page is outdated. Please '''[[Project:Language policy|check the English reference]]''' version. If you have checked or updated this page and found the content to be suitable, please remove this notice.
 
|}</div>
 
 
 
{{languages|Template:Outdated}}[[Category:Alert templates|{{PAGENAME}}]]</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}}