Preferably, use{{affix}}. | |
|---|---|
Consider using{{affix}} instead of this template.{{affix}} works similarly to this template but is more flexible, and makes the prefix clearer by using a hyphen after the prefix. |
This template is used in the etymology section. Use
{{prefix|language code|prefix|root}}whereprefix is the prefix, excluding hyphen, androot is the root of the term. For instance, a simple etymology ofundo could be created with:
{{prefix|en|un|do}}which evaluates to:
|sc=|t1=,|t2=|tr1=,|tr2=|alt1=,|alt2=|pos1=,|pos2=|id1=,|id2=|nocat=1{{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”)
TemplateData for prefix
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| language code | 1lang | 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 |