Template:Anchor: Difference between revisions

From Vigyanwiki
Template>BenB4
(more docs)
m (44 revisions imported from alpha:Template:Anchor)
 
(30 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<span id="{{{1|anchor}}}"/><noinclude>
{{<includeonly>safesubst:</includeonly>#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 09:27, 13 December 2022

Template documentation