Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!

Template:Anchor: Difference between revisions

From SotA Wiki
Jump to navigation Jump to search
Created page with "{{{{{|safesubst:}}}#invoke:anchor|main}}<noinclude> {{Documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
 
Fenyx4 (talk | contribs)
No edit summary
Line 1: Line 1:
{{{{{|safesubst:}}}#invoke:anchor|main}}<noinclude>
<span id="{{{1|}}}"></span><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Revision as of 03:46, 10 December 2014

Template documentation (for the above template, sometimes hidden or invisible)

This template manually adds one or more HTML anchors (i.e., link targets) to a page. This allows incoming links to target locations on the page other than section headings.

Usage

{{anchor|<target>}}

This allows links of the form [[#target]] to be used on the same page and links of the form [[Page title#target]] to be used on a different page (assuming "Page title" is the title of the page this template is used on).


Visit Template:Anchor/doc to edit this text! (How does this work?)