From Fedora Project Wiki

m (1 revision(s))
m (Reverted edits by Kausdev (talk) to last revision by Ianweller)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>== Anchors ==
<onlyinclude><span id="{{anchorencode:{{{1|}}}}}"></span></onlyinclude>


Anchors allow a user to create shorter names that can be appended to a URL with a hash mark (#).
{{tempdoc}}
 
[[Category:Content templates]]
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
<nowiki>{{Anchor|</nowiki>'''AnchorName'''<nowiki>}}</nowiki>
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.</noinclude><!--
 
DO NOT EDIT ANYTHING BELOW THIS LINE, OR YOU WILL BREAK SOMETHING REALLY FAST IF YOU DON'T KNOW WHAT YOU'RE DOING.
 
--><span id="{{anchorencode:{{{ 1|}}}}}"></span>

Latest revision as of 03:17, 12 August 2013

Template documentation [edit]

This documentation is transcluded from Template:Anchor/doc. It will not be transcluded on pages that use this template.

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.