Jump to content

From Noumenapedia
Revision as of 13:16, 30 January 2026 by wikipedia>MSG17
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Translation/doc

__EXPECTED_UNCONNECTED_PAGE__

Indicate that a given span of text is a translation of the preceding text.

Usage

Spacing demonstration

[clarification needed]

  • a{{translation}}bcd → atransl.bcd
  • a{{translation|i=yes}}bcd → atransl.bcd
  • a{{translation|b}}cd → atransl. bcd
  • a{{translation|b|i=yes}}cd → atransl. bcd
  • a{{translation|b|c}}d → atransl. b – transl. cd
  • a{{translation|b|c|i=yes}}d → atransl. b – transl. cd

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Translation in articles based on its TemplateData.

TemplateData for Translation

<templatedata> { "params": { "1": { "label": "meaning", "example": "'not is'", "type": "string", "required": true }, "2": { "label": "second meaning", "type": "string" }, "sortable": { "type": "string" }, "i": { "label": "italic", "type": "string" }, "literal": { "label": "literal", "type": "string" } }, "description": "Indicate that a given span of text is a translation of the preceding text. " } </templatedata>

See also