Template:Anchor: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
test
 
Flozi (talk | contribs)
m clarify usage
Line 6: Line 6:


<pre>{{anchor|foo}}</pre>
<pre>{{anchor|foo}}</pre>
{{anchor|bar}}
 
Creates an invisible anchor which you can link to within the page as <pre>[[#foo]]</pre> or externally by <pre>[[page_name#foo]]</pre>

Revision as of 12:33, 13 October 2012

A small template to manually create an anchor link, see http://meta.wikimedia.org/wiki/Template:Anchor

Usage:

{{anchor|foo}}

Creates an invisible anchor which you can link to within the page as

[[#foo]]

or externally by

[[page_name#foo]]