Šablon: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 greška in Modul:compound at line 262: attempt to call field 'getNonEtymological' (a nil value).
Other arguments[uredi]
|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[uredi]
{{prefix|la|in|fīnītus}}
gives the ouput:
Lua greška in Modul: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 greška in Modul:compound at line 262: attempt to call field 'getNonEtymological' (a nil value).
See also[uredi]
Template Data[uredi]
TemplateData for prefix
Nema opisa.
Parametar | Opis | Vrsta | Status | |
---|---|---|---|---|
language code | 1 lang | nema opisa | tekst | obavezno |
prefix | 2 | nema opisa | Naziv stranice | neobavezno |
base | 3 | nema opisa | Naziv stranice | obavezno |
script code | sc | nema opisa | tekst | neobavezno |
prefixal part of speech | pos1 | nema opisa | tekst | neobavezno |
base part of speech | pos2 | nema opisa | tekst | neobavezno |
prefix alternate text | alt1 | Text to show instead of the link for the prefix | tekst | neobavezno |
suffixal alternate text | alt2 | Transliteration of the word base (for non-Latin scripts) | tekst | neobavezno |
prefix gloss | t1 | brief gloss of the prefix | tekst | neobavezno |
base gloss | t2 | brief gloss of the word base | tekst | neobavezno |
prefix transliteration | tr1 | Transliteration of the prefix (for non-Latin scripts) | tekst | neobavezno |