Template:uxa/documentation

This is used to show usage examples (not quotations or collocations) following a definition line, where the format of the usage example (inline or multiline) is automatically determined by the size of the generated text. For collocations, use coa. See WT:USEX for some general guidelines regarding usage examples.

The template call ... works identically to ..... See ux and uxi for parameters and examples.

TemplateData
{	"params": { "1": {			"label": "language code", "description": "The language code of the example to be shown", "example": "en", "type": "string", "required": true, "suggested": true },		"2": {			"label": "example", "description": "The example to be shown. Use bold to highlight the current term.", "example": "The quick brown fox jumps over the lazy dog.", "type": "string", "required": true, "suggested": true },		"3": {			"aliases": [ "t", "translation" ],			"label": "translation", "description": "The English translation for examples on foreign entries. Use bold to highlight the current term's translation.", "example": "Le rapide renard brun saute par dessus le chien paresseux.", "type": "string" },		"tr": { "label": "transliteration", "type": "string", "description": "The Latin transliteration for examples in non-Latin script." },		"sc": { "label": "script code", "type": "string", "description": "The script code, required for certain languages with multiple possible scripts.", "example": "Latn" },		"q": { "label": "qualifier", "type": "string", "description": "To qualify an example with a region or register, or a type of usage.", "example": "informal" },		"ref": { "label": "reference", "description": "To include a reference or link to an originating external site.", "type": "url" },		"lit": { "label": "literal translation", "type": "string", "description": "A literal translation of an idiomatic expression in a foreign language.", "example": "to fly like plywood over Paris" },		"subst": { "label": "substitution", "type": "string", "description": "Substitutions to be applied to handle irregular transliterations in certain languages (e.g. Russian and Yiddish; see example above). If specified, should be one or more substitution expressions, where each substitution expression is of the form FROM//TO (FROM/TO is also accepted), where FROM is a Lua pattern and TO is the corresponding replacement expression. The substitutions are applied in order and before transliteration; hence both FROM and TO should be in the source script (e.g. Cyrillic or Hebrew).", "example": "шоссе́//шоссэ́" },		"noenum": { "label": "noenum", "description": "To use in unnumbered sections (not following a definition). It may start the line following the definition or may be prefixed by \" \" for visual aesthetics.", "type": "boolean", "example": "true" }	},	"description": "This is used to show inline usage examples (not quotations) following a definition line. ", "format": "block" }