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/doc: Difference between revisions

From SotA Wiki
Jump to navigation Jump to search
Fenyx4 (talk | contribs)
Created page with "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. =..."
 
Fenyx4 (talk | contribs)
No edit summary
 
Line 6: Line 6:
This allows links of the form <code><nowiki>[[#target]]</nowiki></code> to be used on the same page and links of the form <code><nowiki>[[Page title#target]]</nowiki></code> to be used on a different page (assuming "Page title" is the title of the page this template is used on).
This allows links of the form <code><nowiki>[[#target]]</nowiki></code> to be used on the same page and links of the form <code><nowiki>[[Page title#target]]</nowiki></code> to be used on a different page (assuming "Page title" is the title of the page this template is used on).


<includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
[[Category:Template documentation]]
</includeonly>

Latest revision as of 04:05, 10 December 2014

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[edit]

{{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).