Пређи на садржај

Шаблон:ws/док

Документација за Шаблон:ws. [edit]
Ова страна садржи usage information, categories, interwiki links и други садржај описан шаблон.

This template is for use within Тезаурус entries. It links the synonym, antonym, or other related word to the corresponding Wiktionary entry, and to the Thesaurus entry of the same name if it exists.

The name of the template refers to the thesaurus project's original name, "Wikisaurus", or "WS" for short.

Parameters

[уреди]

This template uses two or three unnamed (positional) parameters and a few named parameters. The first two positional parameters are mandatory; the remainder are optional.

  • |1= Mandatory: Language code of term to link to.
  • |2= Mandatory: Term.
  • |3= Optional hovertext gloss.
  • |link= Page to link to. If omitted, the second parameter will be linked to. If set to empty ({{ws|langcode|onym|link=}}), no link is shown.
  • |nows=1 Suppress the [⇒ thesaurus] link. By default, this link is displayed when a Thesaurus page exists for the provided word.

Format

[уреди]

{{ws|langcode|onym|gloss}}

Preview

[уреди]
{{ws|en|ale|bitter fermented barley drink}}
{{ws|en|beer|bitter fermented barley drink}}
{{ws|en|abundant}}
{{ws|en|draft}}

result in:

[уреди]
  • {{ws beginlist}} - to be put before a list of items formatted using {{ws}}
  • {{ws endlist}} - to be put after a list of items formatted using {{ws}}
  • {{ws ----}} - used to separate groups of items formatted using {{ws}}

See also

[уреди]