Template:Circumfix
- The following documentation is located at Template:Circumfix/documentation. [edit]
- Useful links: subpage list • transclusions • redirects • sandbox
This template is used in the etymology section. Use
{{circumfix|language code|prefix|root|suffix}}
where prefix
is the prefix, excluding hyphen, root
is the root, and suffix
is the suffix of the term. For instance, a simple etymology of the Dutch word vergiftigen could be created with:
{{circumfix|nl|ver|giftig|en}}
which evaluates to:
Other arguments
|sc=
- Script code. See Project: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.
|nocat=1
- Suppresses categorization
Examples
{{circumfix|ms|per|empu|an}}
gives the ouput:
If circumfixes or words are written in non-Latin scripts, transliteration or gloss parameters may need to be added. Some transliterations can be autogenerated.
{{circumfix|ka|სა|ქართველი|ო|t2 = Georgian (ethnic group)}}
gives the output
Lua error in Module:Languages/doSubstitutions at line 75: Substitution data 'Geor-translit' does not match an existing module..
See also
Template Data
TemplateData for Circumfix
In the etymology section, marks a word as formed by circumfix around a root.
Parameter | Description | Type | 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 | required |
suffix | 4 | the suffix of the word
| Page name | required |
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 |
suffixal part of speech | pos3 | no description | String | optional |
prefix alternate text | alt1 | Text to show instead of the prefix in the link to its entry | String | optional |
root word alternate text | alt2 | Text to show instead of the root word in the link to its entry | String | optional |
suffix alternate text | alt3 | Text to show instead of the prefix in the link to its entry | String | optional |
prefix gloss | t1 | brief gloss of the prefix | String | optional |
root word gloss | t2 | brief gloss of the word base | String | optional |
suffix gloss | t3 | brief gloss of the suffix | 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 |
suffix transliteration | tr3 | Transliteration of the suffix (for non-Latin scripts) | String | optional |