Template:Anchor/doc

From Thorium Mod Wiki
Jump to navigation Jump to search

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

This template takes one unnamed parameter: an anchor name.

Example:

  • {{anchor|An Anchor Name}}

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

Example:

  • [[Armor#Hardmode]]

Produces: