Template:Anchor

From Antiaris Mod Wiki
Jump to: navigation, search

Template-info.png Documentation The documentation below is transcluded from Template:Anchor/doc. (edit | history)

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

Usage[edit source]

This template takes one unnamed parameter: an anchor name.

Example:

  • {{anchor|An Anchor Name}}

Linking to anchors[edit source]

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, eg. [[Page Name#Anchor Name]]