Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WiktionaryThe Free Dictionary
Search

Template:ws

From Wiktionary, the free dictionary

The followingdocumentation is located atTemplate:ws/documentation.[edit]
Useful links:subpage listlinksredirectstransclusionserrors (parser/module) •sandbox (diff)

About

This template is for use withinThesaurus 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.
  • |id= Sense ID.
  • |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:

Related templates

  • {{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

Retrieved from "https://en.wiktionary.org/w/index.php?title=Template:ws&oldid=84286910"
Category:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp