ထႅမ်းပလဵတ်ႉ:suffixusex
Lua error in package.lua at line 80: module 'Module:affixusex' not found.
- The following documentation is located at ထႅမ်းပလဵတ်ႉ:suffixusex/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions
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
ပႃႇရႃႇမီႇတႃႇ[မႄးထတ်း]
- This template takes almost exactly the same parameters as Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table). and its shortcut Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table).; 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), Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table). 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 Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table)./Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table). in all circumstances; {{prefixusex}} and {{suffixusex}} are maintained largely for compatibility.
တူၺ်းပႃး[မႄးထတ်း]
- Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table)./Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table).: like Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table)./Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table)., but for prefixes
- Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table)./Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table).: general variant for prefixes, suffixes, interfixes, compounds, etc.
- Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table).: to format general usage examples