Template:translit module documentation/documentation

This template generates documentation pages for transliteration modules. It has two optional parameters: the language or language family or script code (by default the first valid code from the title), and optional description of the transliteration system to be displayed after "This module will transliterate x language text". Module:documentation automatically transcludes this template on modules ending in, so the documentation page does not need to be created in most cases.

If the second parameter is not provided, the languages that use the module will be listed, if they can be detected. In all cases, a category will be added for every language, and the category will be added, with the canonical name corresponding to the code in the module name as sortkey (for example,   &rarr;  ).

Module:languages/byTranslitModule finds the languages that use the module, and the lua function in Module:documentation lists them, and the lua function in Module:module categorization adds categories for each one. This will only work if the transliteration module is listed in the language's data file.