No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#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; | {{#if:{{{1|}}}|<div style="margin: auto; text-align: {{{align|right}}};"><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;">[[File:ReturnTo.png|30px|middle|link={{{1}}}|Return to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] {{#if:{{{notext|}}}||[[{{{1}}} | <span style="color:#93C4D3; font-size:80%;"> Return to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]}}</span></div>{{Clear}}|}}<noinclude>{{doc}}</noinclude> |
Revision as of 08:24, 31 March 2015
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
{{ReturnTo | Main | Main Page}}
displays
{{ReturnTo | Main | Main Page | notext=yes}}
displays
{{ReturnTo | Main | Main Page | align=center}}
displays
The above documentation is transcluded from Template:ReturnTo/doc. Please add categories to the /doc subpage. Subpages of this template. |