Template:ReturnTo View history

No edit summary
No edit summary
Line 1: Line 1:
{{#if:{{{1|}}}|<span style="float:right; color:#93C4D3; background-color: #FFFFFF; border:2px solid #93C4D3;padding-top: 5px; padding-bottom: 6px; padding-left: 10px; padding-right: 10px; border-radius: 10px; white-space: nowrap;{{{style|}}}">[[File:ReturnTo.png|30px|middle|link={{{1}}}|Return to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] [[{{{1}}} | {{#if:{{{notext|}}}||<span style="color:#93C4D3; font-size:80%;"> Return to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>}}]]</span>{{Clear}}|}}<noinclude>{{doc}}</noinclude>
{{#if:{{{1|}}}|<span style="color:#93C4D3; background-color: #FFFFFF; border:2px solid #93C4D3;padding-top: 5px; padding-bottom: 6px; padding-left: 10px; padding-right: 10px; border-radius: 10px; white-space: nowrap;{{{style|float:right;}}}">[[File:ReturnTo.png|30px|middle|link={{{1}}}|Return to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] [[{{{1}}} | {{#if:{{{notext|}}}||<span style="color:#93C4D3; font-size:80%;"> Return to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>}}]]</span>{{Clear}}|}}<noinclude>{{doc}}</noinclude>

Revision as of 14:19, 30 March 2015

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 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


{{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.