টেমপ্লেট:xlit/নথি
This template is used to automatically generate a transliteration of some text. It should only be used as part of templates, not directly in entries.
This template is somewhat of a stopgap measure, and there are usually other (better?) ways to achieve the same effect. Most of the time, transliterations are accompanied by a link to a term, and in that case {{l}}
will already provide a transliteration, so this template is unnecessary. Similarly, headword templates use {{head}}
, which also makes a transliteration itself.
Parameters
সম্পাদনা1=
- The language code (Wiktionary:Languages) of the language to transliterate for. The language must have a transliteration module (
translit_module
property in the Module:languages data). If the language has no transliteration module, the template gives an empty string. 2=
- The text to transliterate, which should be written in the given language.
sc=
- The script code (Wiktionary:Scripts), which specifies the script to transliterate from. This is specific to the transliteration module; some are able to transliterate more than one script, and need this parameter to tell it which. For most cases, this can be left empty.
module=
- Overrides the module that should be used for transliterations. This is useful for testing purposes, or for demonstrating a transliteration module before it is used. It should not be used in templates intended for real use.
TemplateData
সম্পাদনাAutomatically generate a transliteration of some text.
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
Language | 1 | The language code of the language to transliterate for. | স্ট্রিং | প্রয়োজনীয় |
Text | 2 | The text to transliterate, which should be written in the given language. | লাইন | প্রয়োজনীয় |
Script | sc | The script code, which specifies the script to transliterate from. This is specific to the transliteration module; some are able to transliterate more than one script, and need this parameter to tell it which. For most cases, this can be left empty. | স্ট্রিং | পরামর্শকৃত |