Template:prefix/documentation

This template is used in the etymology section. Use

where  is the prefix, excluding hyphen, and   is the root of the term. For instance, a simple etymology of undo could be created with:

which evaluates to:

Other arguments

 * sc
 * Script code. See Scripts


 * t1, t2
 * Glosses


 * tr1, tr2
 * Transliteration of word 1 and word 2 respectively (for non-Latin scripts)


 * alt1, alt2
 * Alternate text to display instead of the links.


 * pos1, pos2
 * Part-of-speech information. Additional unquoted explanatory text, coming after the transliteration and gloss.


 * id1, id2
 * Sense ids


 * 1
 * Suppresses categorization

Examples
gives the ouput:

If prefixes or words are written in non-Latin scripts, transliteration parameters may need to be added.

gives the output

Template Data
{	"params": { "1": {			"label": "language code", "type": "string", "required": true, "aliases": [ "lang" ],			"example": "en" },		"2": {			"label": "prefix", "type": "wiki-page-name", "description": "the prefix of the word", "example": "re", "required": true },		"3": {			"label": "word root", "type": "wiki-page-name", "description": "the root of the word", "example": "start", "suggested": true },		"sc": { "label": "script code", "type": "string" },		"pos1": { "label": "prefixal part of speech", "type": "string" },		"pos2": { "label": "root word part of speech", "type": "string" },		"alt1": { "label": "prefix alternate text", "type": "string", "description": "Text to show instead of the prefix for its link" },		"alt2": { "label": "root word alternate text", "type": "string", "description": "Text to show instead of the root word for its link" },		"t1": { "label": "prefix gloss", "type": "string", "description": "brief gloss of the prefix" },		"t2": { "label": "root word gloss", "type": "string", "description": "brief gloss of the word base" },		"tr1": { "label": "prefix transliteration", "type": "string", "description": "Transliteration of the prefix (for non-Latin scripts)" },		"tr2": { "label": "root word transliteration", "type": "string", "description": "Transliteration of the root word (for non-Latin scripts)" }	},	"format": "inline" }