Template:Anchor: Difference between revisions

more docs
(replace default as per talk in case anything depends on it)
(more docs)
Line 1:
<span id="{{{1|anchor}}}"/><noinclude>
This template manually adds an [[HTML element#Links and anchors|HTML anchor]] to a page at the location of its invocation.
 
Usage:
<pre>{{anchor|foo}}</pre>
 
With this you can link to <nowiki>[[Page#foo]]</nowiki> to have people following the link arrive at the anchor location.
 
[[Category:Function templates|{{PAGENAME}}]]
Anonymous user