Template:Anchor

From CCMDB Wiki
Revision as of 21:38, 19 May 2025 by Ttenbergen (talk | contribs) (Created page with "<noinclude> Adds a span anchor (i.e. HTML target) to allow linking to a specific place within a page, even if there is no heading. This is useful for jumping directly to relevant in-line content using <code>#anchorname</code> or <code>Page#anchorname</code>. == How to use == Use as: <pre>{{Anchor|anchorname}}</pre> You can then link to it using: * From the same page: <code>#anchorname</code> * From another page: <code>TargetPage#anchorname</code> ----...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Adds a span anchor (i.e. HTML target) to allow linking to a specific place within a page, even if there is no heading. This is useful for jumping directly to relevant in-line content using #anchorname or Page#anchorname.

How to use

Use as:

{{Anchor|anchorname}}

You can then link to it using: