Template:IsTranslation/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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.