Open main menu

UESPWiki β

Template:Anchor

Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary

This template allows links to anywhere on a page instead of only to section headers.

Parameters

Anchor
Parameter Scope Description
1 optional The text to display, as well as the name of the anchor to be able to link to. To use a different anchor name and text name, put the text on the page as normal, then include this template but leave the first parameter blank or use the second parameter by number.
2–4 optional Additional anchors to create with no text.

Examples

{{Anchor|Link Example}}

Link Example: This creates a "Link Example" anchor on this page, which you can link to with Template:Anchor#Link Example.

{{Anchor|Ancestor Ghost|Summon Ancestor Ghost|Ghost}}

Ancestor Ghost: This is an example that creates several anchors for the same spot, which can be linked to with any of Template:Anchor#Ancestor Ghost, Template:Anchor#Summon Ancestor Ghost, or Template:Anchor#Ghost.

{{Anchor||Link Only}} or
{{Anchor|2=Link Only}}

In this case, only an anchor is created with no text displayed. It can be linked to with Template:Anchor#Link Only.