Difference between revisions of "Template:Anchor"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>BenB4
(more docs)
m (1 revision imported)
 
(26 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<span id="{{{1|anchor}}}"/><noinclude>
+
{{{{{|safesubst:}}}#invoke:anchor|main}}<noinclude>
This template manually adds an [[HTML element#Links and anchors|HTML anchor]] to a page at the location of its invocation. 
+
{{Documentation}}
 
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
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}}]]
 
 
 
[[de:Vorlage:Anker]]
 
<!--[[en:Template:Anchor]]-->
 
[[fr:Modèle:Ancre]]
 
[[ru:Шаблон:Anchor]]
 
[[sl:Predloga:Sidro]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:57, 8 March 2020

Template documentation[create]