Template:suffix
Appearance
- The following documentation is located at Template:suffix/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template is used in the etymology section. Use
{{suffix|language code|root|suffix}}
where root is the root of the term and suffix is the suffix. For instance, a simple etymology of doing could be created with:
{{suffix|en|do|ing}}
which evaluates to:
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
|lang1=,|lang2=- To use another language
|nocat=1- Suppresses categorization
See also
Template Data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for suffix
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| language code | 1 lang | no description | String | required |
| word root | 2 | the root of the suffixed word
| Page name | suggested |
| suffix | 3 | the suffix added to the word
| Page name | required |
| script code | sc | no description | String | optional |
| base part of speech | pos1 | no description | String | optional |
| suffixal part of speech | pos2 | no description | String | optional |
| base word alternate text | alt1 | Text to show instead of the link for the word base | String | optional |
| suffixal alternate text | alt2 | Transliteration of the word base (for non-Latin scripts) | String | optional |
| base gloss | t1 | brief gloss of the word base | String | optional |
| suffix gloss | t2 | brief gloss of the suffix | String | optional |
| root word transliteration | tr1 | Transliteration of the root word (for non-Latin scripts) | String | optional |
| suffixal transliteration | tr2 | Transliteration of the suffix (for non-Latin scripts) | String | optional |