Template:IsTranslation

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:IsTranslation/doc.
Category:Main message boxesCategory:Lua-based templates

Determines whether the page, the template is used on is a translation. This is achieved by using the last part of the title (e.g. /de or Not a langcode) and looking whether it is a language code or not.

Usage


{{IsTranslation |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1Text to be displayed if it is a translation of a source page.emptyoptional
2Text to be displayed if it is not a translation.emptyoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Localization

This template is not intended to be localized.

Category:Templates not requiring internationalization Category:Navigational templates for the translate extension
Category:Lua-based templates Category:Main message boxes Category:Navigational templates for the translate extension Category:Templates not requiring internationalization