Template:Anchor

From Combine OverWiki, the original Half-Life wiki and Portal wiki
Jump to: navigation, search

A template to insert HTML fragment identifiers in a page.

Usage[edit]

{{Anchor|Location}} inserts an invisible anchor, which can then be linked to as [[Page name#Location]] without the need of a dedicated section. Up to 10 anchors with different names can be created with a single template:

{{Anchor|Name1|Name2|Name3|...|Name10}}

Anchors may also be added to renamed sections to avoid breaking links to the old section name:

=={{Anchor|Old section name}}New section name==