සැකිල්ල:suffixusex/documentation
Appearance
Uses Lua: |
This template creates usage examples for suffix entries in the format word + -suffix → suffixed word. More complex entries are also possible, e.g.:
- word1 + word2 + -suffix → suffixed word
- word1 + -suffix1 → suffixed word 1 + -suffix2 → suffixed word 2
- word1 (qualifier) + word2 → combined word
Parameters
[සංස්කරණය]- This template takes almost exactly the same parameters as
{{affixusex}}
and its shortcut{{afex}}
; see the documentation of that template for more information. There are only slight differences between the two:
- When
{{suffixusex}}
/{{sufex}}
is used, the parameter|altaff=
can also be named|altsuf=
, for compatibility purposes. - When interpolating a suffix before the last component (taken from the
|altaff=
parameter or the page name),{{affixusex}}
checks that the suffix being inserted actually looks like a suffix (i.e. it begins with a hyphen and doesn't end with a hyphen) before being interpolated.{{suffixusex}}
does not make this extra check. This may matter in languages where suffixes are not normally preceded by a hyphen (e.g. East Asian languages), or are preceded by a different character (e.g. Hebrew and Arabic). For Latin-script languages, it usually doesn't matter.
In practice, these are very minor differences, and it is recommended to use {{affixusex}}
/{{afex}}
in all circumstances; {{prefixusex}}
and {{suffixusex}}
are maintained largely for compatibility.
See also
[සංස්කරණය]{{prefixusex}}
/{{prefex}}
: like{{suffixusex}}
/{{sufex}}
, but for prefixes{{affixusex}}
/{{afex}}
: general variant for prefixes, suffixes, interfixes, compounds, etc.{{ux}}
: to format general usage examples