Template:Anchor

From CATUG wiki
Revision as of 22:03, 19 October 2011 by N Reid (Talk | contribs) (clarify)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation

This template creates an anchor. It is useful for maintaining a link to a section where the section title has changed or may be changed in future.

The fixed way to link to a section is by including # between the page name and the section name, so this section right here is:

Template:Anchor#Documentation

If you want this link to work even after someone might change the heading to something else, insert an anchor like this: {{anchor|Documentation}}

Then another page linking to #Documentation on this page will still go to that anchor on the page, even if the section name changes.