Template:Anchor/Doc

Purpose
This template is designed to insert a manual anchor into a wiki page so that a link may go to a specific point in the page other than a section header. (An "automatic" anchor is proved at every section header, see Help:Link)

An anchor may have anchor text. If it does, the anchor text created by this template is displayed in LightSeaGreen

Parameters

 * id= This must specify the anchor ID. The ID should be unique within a wiki page, and is the string which will be used in the link, like "Linking to anchors" in Help:Link). It must not be empty. If it is, an error message will display and no anchor will be created.


 * The id parameter may be replaced by the first unnamed parameter.


 * txt= The text to display at the anchor. May be empty or omitted for a hidden anchor.


 * If the ID was given with an unnamed parameter, this may be given with a 2nd unnamed parameter.

Visible Anchors
gives

. . ..

gives

. . ..

Hidden Anchors
gives

. . ..

gives

. . . . . . ..

Links to the example anchors

 * 
 * 
 * 
 *