Template:Outdated

From SatNOGS Wiki
Revision as of 23:22, 31 January 2019 by Cshields (talk | contribs) (initial template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<languages/> {{#switch:<translate></translate> | = Template:Ambox{{#if:

 |{{#if:|[[Category:Outdated translations{{#translation:}}]]|[[Category:Outdated pages{{#translation:}}]]}}

}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Outdated|noshift=1}}

}} {{ Template:TNTN |content=

<translate>

Usage

Out-of-date English content

</translate>

{{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>

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

<translate> Which creates: </translate>

{{#switch:<translate></translate> | = Template:Ambox{{#if:1

 |{{#if:|[[Category:Outdated translations{{#translation:}}]]|[[Category:Outdated pages{{#translation:}}]]}}

}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Outdated|noshift=1}}

}}

<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>

{{Outdated|Page name}}

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

<translate> Creates: </translate>

{{#switch:<translate></translate> | = Template:Ambox{{#if:1

 |{{#if:Project:Language policy|[[Category:Outdated translations{{#translation:}}]]|[[Category:Outdated pages{{#translation:}}]]}}

}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Outdated|noshift=1}}

}}

<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:Alert templates{{#translation:}}|Outdated]] [[Category:Categorizing templates{{#translation:}}|Outdated]]