Template:ws header/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:ws header. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template generates a header for thesaurus pages.

Usage[edit]

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

Parameters[edit]

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[edit]

Features[edit]

  • 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[edit]