Template:ReturnTop View history

(Created template)
 
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>'''Documentation:''' This template is placed on a page primarily at the end of a section with many sections on the page. This provides a quick link to the top of the page. This template includes a break character before the text to ensure it appears on its own line.
[[Image:ReturnTop.png|40px|right|link=#{{{1|globalWrapper}}}|Return to top of page]]{{Clear}}<noinclude>{{doc}}</noinclude>
 
{{TemplateDisplay}}
 
</noinclude><center><small><br/>[[#|Return to TOC]]</small></center>

Latest revision as of 10:20, 30 March 2015

Return to top of page
Return to top of page
Documentation icon Template documentation[view] [edit] [history] [purge]

This template is placed on a page primarily at the end of a section with many sections on the page. This displays an icon providing a quick link to the top of the page.

By default, if no argument is provided, the position of the page title is the top of the page.

The template enables the "top of the page" position to be altered by adding, as a parameter, an anchor name. Then the selection of this icon will scroll the page up to the position of the named Anchor.

For instance, if you add the following syntax in the middle of the page : {{Anchor|HereIsMyOwnTop}}}}, then using the template {{ReturnTop|HereIsMyOwnTop}} will display an icon to scroll to the middle of the page.

See also Anchor template documentation

The above documentation is transcluded from Template:ReturnTop/doc.
Please add categories to the /doc subpage.
Subpages of this template.