Jump to content

Template:Anchor

From ModEnc²
Revision as of 22:20, 31 March 2025 by MarkJFox (talk | contribs) (15 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Anchor|id|prefix?|hypertext?}}

Creates an anchor to this page specified by id, to easily reference the text specified by hypertext. If not empty, prefix_ will be added before id in the anchor namespace. prefix defaults to anchor if undefined. Hypertext for the anchor will be created if hypertext is not empty. hypertext defaults to id.

Example

{{Anchor|reference1}}

This code results in reference1