Jump to content

User:Jake01756/Template:UserspaceBack/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template provides a nice divider and a back button, making use of the clickable button template, to take the user back to the page they came from. This is mainly intended to be used for subpages as the back link is hardcoded into the template parameters.

Parameters

[edit]

List of all parameters:

{{User:Jake01756/Template:UserspaceBack
| link = the full page title to take the user to. Defaults to the Main Page.
| text = the text to display in the back box. Defaults to "<- Back".
| color = the color for the back box. Defaults to white. Valid colors are: white, blue, and red.
| noLine = if you do not want a dividing line, put any value in this parameter.
}}

Examples

[edit]

{{User:Jake01756/Template:UserspaceBack|link=User:Jake01756}} produces


<- Back

{{User:Jake01756/Template:UserspaceBack|link=WP:Humor|text=Back to fun!|color=blue}} produces


Back to fun!

{{User:Jake01756/Template:UserspaceBack|link=Special:Random|text=Take me somewhere random!|color=red|noLine=yes}} produces
Take me somewhere random!