Template:confix/documentation: difference between revisions
S.babylonica (talk | contribs) +ja |
Clarifying {{confix}}’s functions. |
||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
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). |
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). |
||
This template essentially combines the functions of {{temp|prefix}} and {{temp|suffix}}. 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== |
==Examples== |
Revision as of 20:53, 28 April 2015
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).
This template essentially combines the functions of {{prefix}}
and {{suffix}}
. 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 derivation of (deprecated template usage) neurogenic can be written:
- {{confix|neuro|genic|lang=en}}
Which generates:
- Lua error in Module:affix/templates at line 130: The |lang= parameter is not used by this template. Place the language code in parameter 1 instead.
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.
- {{confix|be|tegel|en|lang=nl}}
generates
- Lua error in Module:affix/templates at line 130: The |lang= parameter is not used by this template. Place the language code in parameter 1 instead.
Optional arguments
- lang
- Language (code)
- gloss1, gloss2, gloss3
- Glosses
- t1, t2, t3
- Glosses (alternative; 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