Templat:awalan
- Pendokumenan berikut terletak di Templat:awalan/documentation. [edit]
- Pautan berguna: senarai sublaman • pautan • lencongan • transklusi
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:
Other arguments[sunting]
|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[sunting]
{{prefix|la|in|fīnītus}}
gives the ouput:
Ralat Lua pada baris 80 di package.lua: module 'Module:affix/lang-data/la' not found.
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
с- (s-, “(along) with”) + путник (putnik, “traveller”)
See also[sunting]
{{suffix}}
{{compound}}
{{confix}}
{{affix}}
Template Data[sunting]
Tiada keterangan.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
language code | 1 lang | tiada keterangan
| Rentetan | diperlukan |
prefix | 2 | the prefix of the word
| Nama laman | diperlukan |
word root | 3 | the root of the word
| Nama laman | disarankan |
script code | sc | tiada keterangan | Rentetan | pilihan |
prefixal part of speech | pos1 | tiada keterangan | Rentetan | pilihan |
root word part of speech | pos2 | tiada keterangan | Rentetan | pilihan |
prefix alternate text | alt1 | Text to show instead of the prefix for its link | Rentetan | pilihan |
root word alternate text | alt2 | Text to show instead of the root word for its link | Rentetan | pilihan |
prefix gloss | t1 | brief gloss of the prefix | Rentetan | pilihan |
root word gloss | t2 | brief gloss of the word base | Rentetan | pilihan |
prefix transliteration | tr1 | Transliteration of the prefix (for non-Latin scripts) | Rentetan | pilihan |
root word transliteration | tr2 | Transliteration of the root word (for non-Latin scripts) | Rentetan | pilihan |