Template:Anchor

Revision as of 10:35, 24 April 2020 by Helpful Herbert (talk | contribs) (Added includeonly-tags. Minor rewriting, fixing typo.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

About

Creates an invisible anchor which can be referenced in links. For example, linking to Engineering_items#Firesuit (Assuming you already have the anchor on the engineering items page to direct the link) will load the page focused on the firesuit. This is useful when you don't have a ===header=== for the item in the page.

Beware: If the page already has a header with the same name as an anchor, a link to anchored item will go to whichever is first. So if the anchor is higher than the header, it will go to the anchor and vice versa. Alternatively, you can just make the anchor have a slightly different name to fix this.

Parameter-Usage

Parameter Description
1 Anchortext. If missing nothing will be added.

Examples

{{anchor|Test}}
Click to jump: [[#Test]]

Click to jump: #Test