Module:qay-translit: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 2: | Line 2: | ||
function export.tr(text, lang, sc) | function export.tr(text, lang, sc) | ||
return | return mw.title.getCurrentTitle().text | ||
end | end | ||
return export | return export | ||
Revision as of 13:19, 31 January 2025
- The following documentation is generated by Module:documentation/functions/translit. [edit]
- Useful links: subpage list • links • transclusions • testcases • sandbox
This module will transliterate Ayeri language text.
The module should preferably not be called directly from templates or other modules.
To use it from a template, use {{xlit}}.
Within a module, use Module:languages#Language:transliterate.
For testcases, see Module:qay-translit/testcases.
Functions
tr(text, lang, sc)- Transliterates a given piece of
textwritten in the script specified by the codesc, and language specified by the codelang. - When the transliteration fails, returns
nil.