Template:ReturnTo View history

Revision as of 12:26, 30 March 2015 by Deeploz (talk | contribs)
Documentation icon Template documentation[view] [edit] [history] [purge]

Syntax

{{ReturnTo | link | (text) | (option)}}


Details

This template display a return icon () with a text which links to any page mentioned in parameter 1. Optionally, a second parameter can be used to provide an alternate name for the return page that will be displayed in the text "Return to ..." beside the icon.

If no parameter specified, nothing is displayed.

Options

notext = yes remove the text link and leave just the icon.

align = left/center/right allow to align the template on the left/center or right of the page. Default behavior is alignment to the right.

Example

{{ReturnTo | Main}} displays Return to Main


{{ReturnTo | Main | Main Page}} displays Return to Main Page Return to Main Page


{{ReturnTo | Main | Main Page | notext=yes}} displays Return to Main Page Return to Main Page


{{ReturnTo | Main | Main Page | align=center}} displays Return to Main Page Return to Main Page

The above documentation is transcluded from Template:ReturnTo/doc.
Please add categories to the /doc subpage.
Subpages of this template.