සැකිල්ල:confix/documentation
For use in the Etymology sections of words which consist of only a prefix and a suffix, or which were formed by simultaneous application of a prefix and a suffix to another element.
This template essentially combines the functions of {{prefix}}
and {{suffix}}
, using the “con-” prefix to show both characteristics are combined. The first element is treated as a prefix, whereas the last element is treated as a suffix; an entry in which this template is transcluded will be added automatically to those affixes’ derivation categories.
Examples
සංස්කරණයFor example, the derivations of neurogenic and bedewed can be written:
Which generates:
Note this is not the same as
{{confix|en|neuro|gen|ic}}
- Which generates:
- neuro- + gen + -ic since gen does not have a meaning tied to gene but rather links to generation
In contrast, {{compound}}
adds the entry in which it is used to categories of the form "[Language name] compounds". It is intended for true compounds where neither the first nor the second term are affixes.
Optional arguments
සංස්කරණය|t1=
,|t2=
,|t3=
- Glosses (the 't' stands for "translation")
|tr1=
,|tr2=
,|tr3=
- Transliteration of word 1, word 2, word 3 respectively (for non-Latin scripts)
|sc=
- Script code. See Wiktionary:Scripts.
|alt1=
,|alt2=
,|alt3=
- Alternate (display) text.
|nocat=1
- Suppresses categorization
See also
සංස්කරණයTemplate Data
සංස්කරණයTemplateData for confix
For use in the Etymology sections of words which consist of only a prefix and a suffix, or which were formed by simultaneous application of a prefix and a suffix to some other element(s).
Parameter | Description | Type | Status | |
---|---|---|---|---|
language code | 1 lang | the 2- or 3-letter language code for the current section
| String | required |
prefix | 2 | the prefix of the word
| Page name | required |
suffix | 3 | the suffix of the word
| Page name | required |
script code | sc | no description | String | optional |
prefixal part of speech | pos1 | no description | String | optional |
suffixal part of speech | pos2 | no description | String | optional |
prefix alternate text | alt1 | Text to show instead of the prefix for the link to its entry | String | optional |
suffix alternate text | alt2 | Text to show instead of the suffix for the link to its entry | String | optional |
prefix gloss | t1 | brief gloss of the prefix | String | optional |
suffix gloss | t2 | brief gloss of the suffix | String | optional |
prefix transliteration | tr1 | Transliteration of the prefix (for non-Latin scripts) | String | optional |
suffix transliteration | tr2 | Transliteration of the suffix (for non-Latin scripts) | String | optional |