ഇത് ഘടകം:usex/templates എന്നതിന്റെ വിവരണതാൾ ആണ്
This module is used by {{ux}}
to format the usage example for a definition line, by
{{quote}}
to format quotations, and by {{quote-meta/quote}}
to format quotations invoked through templates like {{quote-book}}
, {{quote-journal}}
, etc.
It delegates the actual work to Module:usex.
Exported functions
തിരുത്തുകusex_t
തിരുത്തുക{{#invoke:usex/templates|usex_t}}
Format an usage example or a quotation. See {{ux}}
and {{quote}}
for more.
format_langs
തിരുത്തുക{{#invoke:usex/templates|format_langs|LANG,LANG,...}}
Format a list of language codes into the English equivalents. Depending on the number of languages specified, the output is in one of the following formats:
- English
- English and French
- English, French and German
- English, French, German and Latin
- (etc.)
If there are three or more languages, an optional serial comma is inserted before the final "and" just as with {{,}}
, allowing the user to control whether the comma appears.
first_lang
തിരുത്തുക{{#invoke:usex/templates|first_lang|LANG,LANG,...}}
Return the first language code in a list of one or more language codes.
See also
തിരുത്തുക