Usage edit

This template provides an anchor on the page, along with visible text, which will be highlighted when a link to the anchor is followed. The visible text is not necessarily the same as the anchor name.

Examples edit

Anchor with name and text identical edit

{{anchor+|Anchor}}

Anchor

Creates the anchor named "Anchor", with the visible text "Anchor". The anchor is reachable by the link Template:Anchor+/doc#Anchor.

Anchor with name and text different edit

{{anchor+|Anchor1|Visible anchor text}}

Visible anchor text

Creates the anchor named "Anchor1", with the visible text "Visible anchor text". The anchor is reachable by the link Template:Anchor+/doc#Anchor1.

See also edit

  • {{anchor}} - can carry multiple variables, though no visible text