Template:Anchor

From MTG Wiki
Jump to navigation Jump to search

Invisibly inserts a named HTML anchor in a page, allowing linking to that location in the page by that name.

Usage

{{anchor|insert}} inserts the anchor labeled "insert" into the page. Recommended to use at the top of a section that has a difficult-to-link name or duplicate name (sections can otherwise be linked by default), at the start of a paragraph, or in a table cell.

Those locations can be linked from within the same page using [[#insert|link text]], or from another page or a redirect with [[articlename#insert|link text]].

e.g. [[List of secondary characters/Zendikar#Hion|Hion]] displays the text "Hion" linked to the part of List of secondary characters/Zendikar article where {{anchor|Hion}} was placed: Hion