Template:ReturnTop View history

Revision as of 10:20, 30 March 2015 by Deeploz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 top of the page is the position where is displayed the page title. However this template allows to define your own "top of the page" position by adding, as a parameter, an anchor name. Then the icon will scroll the page up to the position of this 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.