Help:Back template: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(fixed grammer and back link)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''[[template:back]]'''
'''[[Template:Back]]'''


'''Syntax:'''
'''Syntax:'''
Line 6: Line 6:
   <nowiki>{{back|FAQ_General|General}}</nowiki>
   <nowiki>{{back|FAQ_General|General}}</nowiki>


;if more than one page links to the page you may use this template to add additional backlinks
;If more than one page links to the page you may use this template to add additional backlinks


It's the same as [[template:backlink]] except it does not add a horizontal line above the link.
It's the same as [[Template:Backlink]] except it does not add a horizontal line above the link.


To use the Back template you have to use '''2 parameters'''. ''Why?''
To use the Back template you have to use '''2 parameters'''. ''Why?''


In some sections the link name differs from the actual dispalyed name e.g.:
In some sections the link name differs from the actual displayed name e.g.:


<nowiki>[[FAQ User Interface|User interface]]</nowiki>
<nowiki>[[FAQ User Interface|User interface]]</nowiki>
Line 24: Line 24:
Code:  
Code:  


  <nowiki>{{back|Template}}</nowiki>
  <nowiki>{{back|Help:Templates}}</nowiki>


is shown as
is shown as
   {{back|Back#}}
   {{back|Help:Templates}}


what however it works is not intended. So if you want the link be displayed as it is you'll have to type it twice separated with a "|" as shown above.
what however it works is not intended. So if you want the link be displayed as it is you'll have to type it twice separated with a "|" as shown above.


--[[User:Sheepdog|Sheepdog]] 04:56, 29 Sep 2005 (EST)
{{backlink|Help:Templates|Help:Templates}}


{{backlink|Templates|Templates}}
{{de|Zurück}}

Latest revision as of 10:50, 20 May 2008

Template:Back

Syntax:

{{back|link to the upper level| displayed text}}

Example:

 {{back|FAQ_General|General}}
If more than one page links to the page you may use this template to add additional backlinks

It's the same as Template:Backlink except it does not add a horizontal line above the link.

To use the Back template you have to use 2 parameters. Why?

In some sections the link name differs from the actual displayed name e.g.:

[[FAQ User Interface|User interface]]

where the link is FAQ user Interface

while it should only be displayed User interface

Thus I had to define two parameters. But if the second one is missing

Code:

{{back|Help:Templates}}

is shown as

 Back to {{{2}}}

what however it works is not intended. So if you want the link be displayed as it is you'll have to type it twice separated with a "|" as shown above.


Back to Help:Templates