Шаблон:prefix/documentation
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:
Lua грешка in Модул:compound at line 262: attempt to call field 'getNonEtymological' (a nil value).
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.
|nocat=1
- Suppresses categorization
Examples[уреди]
{{prefix|la|in|fīnītus}}
gives the ouput:
Lua грешка in Модул:compound at line 262: attempt to call field 'getNonEtymological' (a nil value).
If prefixes or words are written in non-Latin scripts, transliteration parameters may need to be added.
{{prefix|ru|с|tr1=s|gloss1=(along) with|путник|tr2=putnik|gloss2=traveller}}
gives the output
Lua грешка in Модул:compound at line 262: attempt to call field 'getNonEtymological' (a nil value).
See also[уреди]
Template Data[уреди]
TemplateData for prefix
Нема описа.
Параметар | Опис | Врста | Статус | |
---|---|---|---|---|
language code | 1 lang | нема описа | текст | обавезно |
prefix | 2 | нема описа | Назив странице | необавезно |
base | 3 | нема описа | Назив странице | обавезно |
script code | sc | нема описа | текст | необавезно |
prefixal part of speech | pos1 | нема описа | текст | необавезно |
base part of speech | pos2 | нема описа | текст | необавезно |
prefix alternate text | alt1 | Text to show instead of the link for the prefix | текст | необавезно |
suffixal alternate text | alt2 | Transliteration of the word base (for non-Latin scripts) | текст | необавезно |
prefix gloss | t1 | brief gloss of the prefix | текст | необавезно |
base gloss | t2 | brief gloss of the word base | текст | необавезно |
prefix transliteration | tr1 | Transliteration of the prefix (for non-Latin scripts) | текст | необавезно |