Template:Anchor/doc

From Sword of Moonlight Wiki
Revision as of 20:59, 19 April 2024 by dlw>Karmaworks (Created page with "== Summary == This template can be used to insert an invisible anchor (reference points) into a page that can later be used by internal wiki links. == Usage == To create a custom anchor, use <code><nowiki>{{Anchor|Anchor Name}}</nowiki></code> anywhere in the page. For example, if you create the anchor <code><nowiki>{{Anchor|Example Anchor}}</nowiki></code> in the page <code><nowiki>Example</nowiki></code>, you can access it through the internal link <code><nowiki>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This template can be used to insert an invisible anchor (reference points) into a page that can later be used by internal wiki links.

Usage

To create a custom anchor, use {{Anchor|Anchor Name}} anywhere in the page.

For example, if you create the anchor {{Anchor|Example Anchor}} in the page [[Example]], you can access it through the internal link [[Example#Example Anchor]].

Remember that you can create a redirect to this template so that you can call it more easily, such as with {{a|Anchor Name}}.