Template

Anchor link

From Dogcraft Wiki

Revision as of 21:35, 3 December 2023 by Domino (talk | contribs)

For purely functional anchor links without a visible element, see Template:Anchor.

An expanded version of {{anchor}} which includes a visible and clickable '#' in front of the anchored header or paragraph for easier navigation. The '#' is only visible when the header or paragraph is hovered, focused or targeted.

Example

{{anchor link|1}}: This sentence has a visible anchor link in front of it.

Creates visible and clickable link anchor on the page for easier navigation. (Anchors can be jumped to using https://pageurl#anchorname)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

This is the text that may be added to the end of a link after a "#" to jump to the anchor's position (eg.: https://dogcraft.net/wiki/Pagename#anchorname)

Example
History
Stringrequired
This page was last modified on 3 December 2023, at 21:35. (11 months ago)
Background Dragon Slayer - Retriever by Ironboundred