From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
Anchors allow a user to create shorter names that can be appended to a URL with a hash mark (#).
<onlyinclude>Anchors allow a user to create shorter names that can be appended to a URL with a hash mark (#).


For example, if you had a page that you wanted a user to quickly be able to jump to a certain section, you can type
For example, if you had a page that you wanted a user to quickly be able to jump to a certain section, you can type
Line 5: Line 5:
just before a header or paragraph. The user would then be able to go to the wiki page URL, followed by a hash mark (#), then the anchor name (in this case, AnchorName).
just before a header or paragraph. The user would then be able to go to the wiki page URL, followed by a hash mark (#), then the anchor name (in this case, AnchorName).


To have more than one anchor, it is required to use separate anchor tags.
To have more than one anchor, it is required to use separate anchor tags.</onlyinclude>


[[Category:Template documentation]]
[[Category:Template documentation]]

Revision as of 01:58, 26 September 2008

Anchors allow a user to create shorter names that can be appended to a URL with a hash mark (#).

For example, if you had a page that you wanted a user to quickly be able to jump to a certain section, you can type

{{Anchor|AnchorName}}

just before a header or paragraph. The user would then be able to go to the wiki page URL, followed by a hash mark (#), then the anchor name (in this case, AnchorName).

To have more than one anchor, it is required to use separate anchor tags.