Template:transclude/documentation

This template is used to provide richer definitions for non-English terms based on existing English definitions. A link to the corresponding English sense is generated, accompanied by the labels and categories used within the English entry along with the full English definition, presented in the form of a gloss. If the English definition is corrected or expanded, the change automatically propagates to all transcluding entries. If the full English definition is too verbose, it can be suppressed using 1 which still has the benefit of labels and categories propagating. Scientific categories are often refined once there are enough entries to justify a new subcategory; this refinement would also propagate to all transcluding entries.

If a sense currently lacks senseid and you want to add it, please first check if https://www.wikidata.org/ has an entry for that sense and if so, please use Wikidata's Q code as the sense ID. If an entry already contains senseid, you can use transclude without specifying id, preview the page and the preview error message will suggest sense ID codes from that entry to you for convenience.

For categories to propagate correctly, they have to appear on the definition line, too. They are best placed after senseid but before lb.

Beyond plain-text definitions, the following definition templates are also handled correctly:
 * place
 * abbreviation of
 * acronym of
 * contraction of
 * initialism of

Only use transclude if the English and non-English senses are perfect translations of one another. Perfect translations usually come in the form of proper nouns (mostly toponyms) or scientific vocabulary. If you have to think about whether something is a perfect translation, it probably isn't and you should always err on the side of not using this template.

Example
(In Belgia) gives

TemplateData
{	"params": { "1": {				"label": "Language code", "description": "The code of the language for which a definition is to be provided.", "example": "ro", "type": "string", "required": true },		"2": {				"label": "English entry", "description": "The word to link to.", "example": "Belgium", "type": "string", "required": true },		"id": { "label": "English entry sense ID", "description": "The sense ID of the English sense to link to.", "example": "Q31", "type": "string", "required": true },		"sort": { "label": "Sort key", "description": "The sort key to provide to the invoked templates.", "type": "string", "required": false },		"nogloss": { "label": "Suppressing gloss", "description": "Whether to suppress the gloss (the definition copied over from the English entry).", "type": "boolean", "required": false },		"lb": { "label": "Additional labels", "description": "A semicolon-separated list of additional labels to be prepended to the transcluded labels.", "type": "string", "required": false }	},	"description": "Creates a rich definition based on an existing English definition." }