Jump to content

User:Jtmorgan/Navbar/doc

From Meta, a Wikimedia project coordination wiki

This is a template that will cause a "back to top" link to be presented at the bottom right corner of your browser. It will remain in fixed location, despite how your scrollbar scrolls, and will be at the bottom or first line browser-independent. It is useful for jumping back to the first section of a long page where scrolling would be tedious.

Jtmorgan/Navbar This template was inspired by Gnorthup's navbar template.

Since you're at the documentation, you can't see the bar. Go to the template.

Example

[edit]

{{User:Jtmorgan/Navbar |bgcolor=#f0f0f0 |pagepath=Research:Teahouse/Metrics |section=Executive_summary |linktext=back to top}}

bgcolor-Will set the background of the bar to any CSS color but the default is transparent.

pagepath-(default is User:Jtmorgan/Navbar/doc)The path to the current page, including namespace, without proceeding slash (/). Example: Wikipedia:Teahouse/Metrics

section- (default is top) The section of the page you want to jump back to, without the proceeding hash (#). Usually, this will be the first section, Example: Executive summary

linktext- (default is "back to top) The text you want to display.

See also

[edit]