Template:prefix
- The following documentation is located at Template:prefix/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template is used in the etymology section. Use
{{prefix|language code|prefix|root}}
where prefix
is the prefix, excluding hyphen, and root
is the root of the term. For instance, a simple etymology of undo could be created with:
{{prefix|en|un|do}}
which evaluates to:
Other arguments
|sc=
- Script code. See Wiktionary: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
|nocat=1
- Suppresses categorization
Examples
{{prefix|la|in|fīnītus}}
gives the ouput:
If prefixes or words are written in non-Latin scripts, transliteration parameters may need to be added.
{{prefix|ru|с|tr1=s|t1=(along) with|путник|tr2=putnik|t2=traveller}}
gives the output
с- (s-, “(along) with”) + путник (putnik, “traveller”)
See also
Template Data
TemplateData for prefix
No description.
Parameter | Description | Typ | Status | |
---|---|---|---|---|
language code | 1 lang | no description
| String | required |
prefix | 2 | the prefix of the word
| Page name | required |
word root | 3 | the root of the word
| Page name | suggested |
script code | sc | no description | String | optional |
prefixal part of speech | pos1 | no description | String | optional |
root word part of speech | pos2 | no description | String | optional |
prefix alternate text | alt1 | Text to show instead of the prefix for its link | String | optional |
root word alternate text | alt2 | Text to show instead of the root word for its link | String | optional |
prefix gloss | t1 | brief gloss of the prefix | String | optional |
root word gloss | t2 | brief gloss of the word base | String | optional |
prefix transliteration | tr1 | Transliteration of the prefix (for non-Latin scripts) | String | optional |
root word transliteration | tr2 | Transliteration of the root word (for non-Latin scripts) | String | optional |