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

Template:Skip to bottom/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Skip to bottom
    This is the template sandbox page for Template:Skip to bottom (diff).
    See also the companion subpage for test cases.
    Template documentation[view] [edit] [history] [purge]
    CSSThis template uses TemplateStyles:
    • Template:Skip to bottom/styles.css
    Shortcut
    • {{stbTemplate:Stb}}

    Adds a small floating box in the upper-right corner of the page, with "Skip to TOC" and "Skip to bottom" links. May be placed on Talk pages (or other non-article pages) when appropriate. This usually means pages in the "Talk:", Wikipedia:" and "Help:" namespaces.

    Note: Since the Vector 2022 skin has a sticky table of contents (either in the sidebar, or collapsed into the header), that link is unnecessary and has no effect there. Therefore "Skip to TOC" is hidden when using Vector 2022.

    Usage

    edit
    • {{Skip to bottom}}

    Table of Contents link

    Use {{Skip to bottom|notoc=yes}} to place the "Skip to bottom" link without the "Skip to TOC" link.

    Box position

    The box normally appears top right on the page, about even with the phrase "From Wikipedia, the free encyclopedia", just below the separator line. Parameter |force= is available to adjust this.

    By default, the box appears top 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 top margin

    All parameters are optional; in the typical case, leave them out.

    • |notoc=yes – do not include the Table of Contents link (default: TOC link is included)
    • |force=yes – reduce top margin of the box by 2 em. (default: top margin is 1 em)
    • |abs=no – render the box at the point where the template is transcluded (default: place the box at the absolute top right of the page, no matter where in the code the template appears)
    • |absolute= this is an alias of the parameter 'abs'

    Note about param 'force'

    The box position originally was right at the very top of the article, so the box is on the same line as the title. The problem with this is that, on longer named article titles, the box would end up "parking" over them, which would obscure part of the article's title. If this template is transcluded by an article with a very short title, (less than about 20 characters including any prefixes like template:) and you think it is appropriate to place this box on the title line, then you may use {{skip to bottom|force=yes}} which will force the box on the same position as the article's title. Please do not use |force=yes unless you have checked how the page will look in other skins and devices, including narrow viewers like mobile devices. If in doubt, leave it out.

    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 bottom/doc. (edit | history)
    Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
    Add categories to the /doc subpage. Subpages of this template.
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Skip_to_bottom/sandbox&oldid=1308146154"
    Last edited on 27 August 2025, at 19:24

    Languages

        This page is not available in other languages.

        Wikipedia
        • Wikimedia Foundation
        • Powered by MediaWiki
        • This page was last edited on 27 August 2025, at 19:24 (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