Jump to content

සැකිල්ල:syn-saurus/documentation

Wiktionary වෙතින්
Documentation for සැකිල්ල:syn-saurus. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template looks up synonyms on a thesaurus page and displays them.

|1= (required)
Language code of synonyms to fetch.
|2=
Thesaurus page to fetch synonyms of, minus the Thesaurus: prefix. Defaults to the current page name.
|header=
Header to look for synonyms under. Defaults to Synonyms.
|templates=
Comma-separated list of Lua patterns matching template names to look for, which contain the synonyms. Default is col[0-9]*, i.e. {{col}} and any numbered variants such as {{col3}}. The first parameter of the template must match the language code in |1=. Note that, since these are Lua patterns, hyphens in template names must be escaped using %-.
|nolang_templates=
Comma-separated list of Lua patterns matching template names to look for, which contain the synonyms. Unlike the templates listed in |templates=, these templates do not need to match the language code; they are assumed to be language-specific.

To look up the synonyms of චීන 車輛车辆 (vehicle, car), use:

{{syn-saurus|zh|車輛}}

which displays

"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:syn-saurus/documentation&oldid=38354" වෙතින් සම්ප්‍රවේශනය කෙරිණි