Difference between revisions of "Template:Anchor"
Jump to navigation
Jump to search
(replace default as per talk in case anything depends on it) |
imported>BenB4 (more docs) |
||
Line 1: | Line 1: | ||
<span id="{{{1|anchor}}}"/><noinclude> | <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. | + | This template manually adds an [[HTML element#Links and anchors|HTML anchor]] to a page at the location of its invocation. |
Usage: | Usage: | ||
<pre>{{anchor|foo}}</pre> | <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}}]] | [[Category:Function templates|{{PAGENAME}}]] |
Revision as of 21:44, 12 September 2007
This template manually adds an HTML anchor to a page at the location of its invocation.
Usage:
{{anchor|foo}}
With this you can link to [[Page#foo]] to have people following the link arrive at the anchor location.
de:Vorlage:Anker fr:Modèle:Ancre ru:Шаблон:Anchor sl:Predloga:Sidro