ɽ

เอกสารการใช้งานสำหรับ แม่แบบ:ws [แก้ไข]
หน้านี้มีข้อมูลวิธีการใช้งาน หมวดหมู่ ลิงก์ข้ามวิกิ และเนื้อหาอย่างอื่นที่อธิบายแม่แบบ

This template is for use within Thesaurus 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.

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.

{{ws|langcode|onym|gloss}}

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