Template:confix/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:confix. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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

[edit]

For example, the derivations of neurogenic and bedewed can be written:

  1. {{confix|en|neuro|genic}}
  2. {{confix|en|be|dew|ed}}

Which generates:

  1. neuro- +‎ -genic
  2. be- +‎ dew +‎ -ed

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

[edit]
|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

[edit]

Template Data

[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

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).

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
language code1 lang

the 2- or 3-letter language code for the current section

Example
en
Stringrequired
prefix2

the prefix of the word

Example
neuro
Page namerequired
suffix3

the suffix of the word

Example
genic
Page namerequired
script codesc

no description

Stringoptional
prefixal part of speechpos1

no description

Stringoptional
suffixal part of speechpos2

no description

Stringoptional
prefix alternate textalt1

Text to show instead of the prefix for the link to its entry

Stringoptional
suffix alternate textalt2

Text to show instead of the suffix for the link to its entry

Stringoptional
prefix glosst1

brief gloss of the prefix

Stringoptional
suffix glosst2

brief gloss of the suffix

Stringoptional
prefix transliterationtr1

Transliteration of the prefix (for non-Latin scripts)

Stringoptional
suffix transliterationtr2

Transliteration of the suffix (for non-Latin scripts)

Stringoptional