Template:Circumfix/documentation: Difference between revisions

From The Languages of David J. Peterson
Jump to navigation Jump to search
m (Replaced Wiktionary: links with Project: links)
m (Changed links to point to Wiktionary)
 
Line 35: Line 35:
{{circumfix|ms|per|empu|an}}
{{circumfix|ms|per|empu|an}}


If circumfixes or words are written in non-Latin scripts, [[transliteration]] or [[gloss]] parameters may need to be added.  Some transliterations can be autogenerated.
If circumfixes or words are written in non-Latin scripts, {{wt|transliteration}} or {{wt|gloss}} parameters may need to be added.  Some transliterations can be autogenerated.


{{temp|circumfix|ka|სა|ქართველი|ო|t2 {{=}} Georgian (ethnic group)}}
{{temp|circumfix|ka|სა|ქართველი|ო|t2 {{=}} Georgian (ethnic group)}}

Latest revision as of 02:17, 25 August 2024

Documentation for Template:Circumfix. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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:

ver- +‎ giftig +‎ -en

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:

per- +‎ empu +‎ -an

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

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

TemplateData for Circumfix

In the etymology section, marks a word as formed by circumfix around a root.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
language code1 lang

no description

Example
nl
Stringrequired
prefix2

the prefix of the word

Example
re
Page namerequired
word root3

the root of the word

Example
start
Page namerequired
suffix4

the suffix of the word

Example
start
Page namerequired
script codesc

no description

Stringoptional
prefixal part of speechpos1

no description

Stringoptional
root word part of speechpos2

no description

Stringoptional
suffixal part of speechpos3

no description

Stringoptional
prefix alternate textalt1

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

Stringoptional
root word alternate textalt2

Text to show instead of the root word in the link to its entry

Stringoptional
suffix alternate textalt3

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

Stringoptional
prefix glosst1

brief gloss of the prefix

Stringoptional
root word glosst2

brief gloss of the word base

Stringoptional
suffix glosst3

brief gloss of the suffix

Stringoptional
prefix transliterationtr1

Transliteration of the prefix (for non-Latin scripts)

Stringoptional
root word transliterationtr2

Transliteration of the root word (for non-Latin scripts)

Stringoptional
suffix transliterationtr3

Transliteration of the suffix (for non-Latin scripts)

Stringoptional