Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:BackToTop/doc"
(Created page with "This template creates a "Back to the top" button on the bottom right side of the screen. The button takes the user back to the top of the page when clicked. The button appears...") |
m |
||
Line 1: | Line 1: | ||
This template creates a "Back to the top" button on the bottom right side of the screen. The button takes the user back to the top of the page when clicked. The button appears after the user has scrolled down far enough, so it should only be used on long pages. | This template creates a "Back to the top" button on the bottom right side of the screen. The button takes the user back to the top of the page when clicked. The button appears after the user has scrolled down far enough, so it should only be used on long pages. | ||
− | To change the color of a button, you have to add the color parameter followed by the color name, like this: <code><nowiki>{{BackToTop|color=blue}}</nowiki></code>. | + | The default color of the button is lavender. To change the color of a button, you have to add the color parameter followed by the color name, like this: <code><nowiki>{{BackToTop|color=blue}}</nowiki></code>. |
*See [[Template:Clickable button]] for examples of the color schemes. | *See [[Template:Clickable button]] for examples of the color schemes. | ||
<noinclude> | <noinclude> | ||
[[Category:Navigational Templates Documentation]] | [[Category:Navigational Templates Documentation]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:26, 3 February 2016
This template creates a "Back to the top" button on the bottom right side of the screen. The button takes the user back to the top of the page when clicked. The button appears after the user has scrolled down far enough, so it should only be used on long pages.
The default color of the button is lavender. To change the color of a button, you have to add the color parameter followed by the color name, like this: {{BackToTop|color=blue}}
.
- See Template:Clickable button for examples of the color schemes.