Template:TranslateThis

From Second Life Wiki
Jump to navigation Jump to search

SampleHelp translate this into English!

[Edit] [🔄Purge] Template-info.png Template documentation

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

{
	"description": "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.",
	"format": "inline",
	"params": {
		"1": {
			"label": "English text",
			"description": "The text’s English original, which should be translated.",
			"example": "Sample",
			"type": "content",
			"required": true
		},
		"lang": {
			"aliases": [
				"2"
			],
			"label": "target language",
			"description": "Language code of the language the text should be translated into, by default it uses the current page’s language",
			"example": "de",
			"type": "line"
		},
		"edit": {
			"label": "translation page",
			"description": "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",
			"type": "wiki-page-name",
			"suggested": true
		}
	}
}

See also