ഘടകം:usex/വിവരണം
ദൃശ്യരൂപം
ഇത് ഘടകം:usex എന്നതിന്റെ വിവരണതാൾ ആണ്
This modules generates usage examples (usexes) and quotations for senses. It is used by {{ux}}
, {{uxi}}
, {{quote}}
and {{quote-meta/quote}}
via Module:usex/templates.
Exported functions
[തിരുത്തുക]format_usex
[തിരുത്തുക]format_usex(data)
where
data = { lang, sc, usex, translation, transliteration, transcription, noenum, inline, ref, quote, lit, substs, qualifier, source, nocat, brackets, footer, sortkey }
quote
- If this is
false
ornil
, a usage example will be returned; iftrue
or truthy, a quotation. If the value is specificallyquote-meta
, a quotation is returned, and the quoted text will be wrapped in both the CSS classese-quotation
andcited-passage
, for use by{{quote-book}}
and related templates; otherwise, only the CSS classe-quotation
will be used. (FIXME, we should consider eliminating this distinction.)