Template:TranslateThis/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

exclamation mark

Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum.
Please discuss proposed changes on the talk page first.
Editing a template causes all pages that use the template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue. [statistics]

Usage

This template marks texts that are not yet available in the desired language. It shows the text in English and adds a translate icon, which links to the template (in edit mode) where the translation can be added.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
English text1

The text’s English original, which should be translated.

Example
Sample
Contentrequired
target languagelang 2

Language code of the language the text should be translated into, by default it uses the current page’s language

Example
de
Lineoptional
translation pageedit

Title of the template (including namespace) where the text can be translated. If not given, the translation icon links to the “Translation” article or one of its translated versions (in read mode, of course)

Example
Template:TranslateThis
Page namesuggested

See also