Jump to content

Template:prefix

From Wiktionary, the free dictionary
(Redirected from Template:pre)

prefix- +‎ base


Preferably, use {{affix}}.
Consider using {{affix}} instead of this template. {{affix}} works similarly to this template but is more flexible, and makes the prefix clearer by using a hyphen after the prefix.

This template is used in the etymology section. Use

{{prefix|language code|prefix|root}}

where prefix is the prefix, excluding hyphen, and root is the root of the term. For instance, a simple etymology of undo could be created with:

{{prefix|en|un|do}}

which evaluates to:

un- +‎ do

Other arguments

|sc=
Script code. See Wiktionary: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.
|id1=, |id2=
Sense ids
|nocat=1
Suppresses categorization

Examples

{{prefix|la|in|fīnītus}}

gives the ouput:

in- +‎ fīnītus

If prefixes or words are written in non-Latin scripts, transliteration parameters may need to be added.

{{prefix|ru|с|tr1=s|t1=(along) with|путник|tr2=putnik|t2=traveller}}

gives the output

с- (s-, (along) with) +‎ путник (putnik, traveller)

See also


Template Data

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

TemplateData for prefix

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
language code1 lang

no description

Example
en
Stringrequired
prefix2

the prefix of the word

Example
re
Page namerequired
word root3

the root of the word

Example
start
Page namesuggested
script codesc

no description

Stringoptional
prefixal part of speechpos1

no description

Stringoptional
root word part of speechpos2

no description

Stringoptional
prefix alternate textalt1

Text to show instead of the prefix for its link

Stringoptional
root word alternate textalt2

Text to show instead of the root word for its link

Stringoptional
prefix glosst1

brief gloss of the prefix

Stringoptional
root word glosst2

brief gloss of the word base

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