Template:Anchor/doc

Use this template to create an HTML anchor at a point on a page. Anchors allow linking to a specific line on a page, which the client browser will automatically scroll to.

Usage
Name of the anchor.
 * First unnamed parameter

If this parameter is set, an invisible heading will be added, for linking from the table of contents. The level of the heading can be passed as the parameter's value (1 through 6); it will default to 3 if anything else is passed.
 * toc

Linking to anchors
Once an anchor is created, a link can be directed to it by adding a # symbol to the page name, followed by the anchor name, e.g.

Example:
 * produces: Dyes § Bright Yellow Dye

ru:Шаблон:Якорь