This is the template sandbox page for Template:Skip to top (diff). |
Template documentation
Trial version to illustrate new functionality for param |arrow=
:
New Usage
{{Skip to top|abs=no|arrow=chevron}}
– use the image used by {{Astro back to top}}{{Skip to top|abs=no|arrow=[[File:Up arrow green.svg|20px|link=#top]]}}
– use whatever value is given
Adds a small floating box in the lower-right corner of the page, with a "To top of page" link.
May be placed on Talk pages (or other non-article pages) when appropriate. This usually means pages in the "Talk:", Wikipedia:" and "Help:" namespaces.
Usage
edit{{Skip to top}}
Box position
The box normally appears bottom right on the page, about even with the list of categories, typically sitting close to the bottom right corner of the category box.
By default, the box appears bottom right, no matter where you place the template in the code, using CSS absolute positioning. This can be overridden; see |abs=no
below.
Parameters
editParameters are optional; in the typical case, none are needed.
|abs=no
– render the box at the point where the template is transcluded (default: place the box at the absolute bottom right of the page, no matter where in the code the template appears)|absolute=
this is an alias of the parameter 'abs'
See also
edit- {{Top of page}}
- {{Skip to bottom}}
- {{Skip to talk}}
- {{Skip to section}}
- {{Back to contents}}
- {{Skip to top and bottom}}