แม่แบบ:ws header

จาก วิกิพจนานุกรม พจนานุกรมเสรี

This template generates a header for thesaurus pages.

Usage[แก้ไข]

Use this template to add a header to a thesaurus entry. This template should be placed at the very beginning of the page.

Parameters[แก้ไข]

This template uses one unnamed (positional) parameter and few named parameters. All of them are optional.

  • |1= The entry to appear in the header.
  • |link= If omitted, the page name will be the entry to be linked; if set, no entry will be linked.

Examples[แก้ไข]

Features[แก้ไข]

  • The text "Thesaurus", linking to Wiktionary:Thesaurus, which serves as main policy and as instruction manual.
  • The name of the page, that may or not be linked to an entry of Wiktionary.
  • A search box to search only thesaurus pages.
  • The table of contents is by default always floating to the right in Thesaurus pages.
  • The CSS style #wikisaurus-toc formats the Wikisaurus TOC. It's invisible by default. To make the Thesaurus TOC visible, use #wikisaurus-toc { display: block; }.

Implementation[แก้ไข]