Template:Anchor/doc: Difference between revisions

From SNESdev Wiki
Jump to navigationJump to search
m (formatting)
m (explain doc location for easier editing)
 
Line 1: Line 1:
{| class="wikitable"
| This documentation is at: [[Template:Anchor/doc]]
|}
This template manually adds one or more HTML anchors, allowing links to locations other than section headings.
This template manually adds one or more HTML anchors, allowing links to locations other than section headings.



Latest revision as of 00:39, 16 May 2022

This documentation is at: Template:Anchor/doc

This template manually adds one or more HTML anchors, allowing links to locations other than section headings.

Usage can create a single named anchor, or many at the same location:

{{Anchor|name1}}

{{Anchor|name1|name2|name3...}}

Linking can be used within the same page, or in cross-page links:

[[#name1|name1]]

[[Pagename#name1|name1]]