• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Skip to top/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Skip to top
↑ To top of page
This is the template sandbox page for Template:Skip to top (diff).
Template documentation

Trial version to illustrate new functionality for param |arrow=:

Contents

  • 1 New Usage
  • 2 Usage
  • 3 Parameters
  • 4 See also

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

edit
CSS box model showing bottom margin

Parameters 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}}
The above documentation is transcluded from Template:Skip to top/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Skip_to_top/sandbox&oldid=1188215717"
Last edited on 4 December 2023, at 00:45

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 4 December 2023, at 00:45 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop