Template:ReturnTo/doc View history

No edit summary
No edit summary
Line 3: Line 3:


==Syntax==
==Syntax==
<code><nowiki>{{ReturnTo</nowiki> | ''link'' | ''(text)'' | '''option'''}}</code>
<code><nowiki>{{ReturnTo</nowiki> | ''link'' }}</code><br />
or<br />
<code><nowiki>{{ReturnTo</nowiki> | ''link'' | ''text'' }}</code><br />
or<br />
<code><nowiki>{{ReturnTo</nowiki> | ''link'' | ''text'' | '''option'''}}</code><br />
 


==Details==
==Details==

Revision as of 07:33, 31 March 2015

This is a documentation subpage for Template:ReturnTo.
It contains usage information, categories and other content that is not part of the original template page.

Syntax

{{ReturnTo | link }}
or
{{ReturnTo | link | text }}
or
{{ReturnTo | link | text | option}}


Details

This template display a return icon () followed by 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 the text "Return to ..." beside the icon.

If no parameter specified, nothing is displayed.

Options

Options are necessarily specified from 3rd and beyond parameter.

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


Example

{{ReturnTo | Main}} displays


{{ReturnTo | Main | Main Page}} displays


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

Return to Main Page