Help:Backlink template: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
m (Help:Backlink moved to Help:Backlink template: Name not specific enough)
(updated text and back link)
Line 1: Line 1:
'''[[template:backlink]]'''
'''[[Template:Backlink]]'''


'''Syntax:'''
'''Syntax:'''
  <nowiki>{{backlink|link to the upper level| displayed text}}</nowiki>
  <nowiki>{{backlink|link to the upper level|displayed text}}</nowiki>
'''Example:'''
'''Example:'''
  <nowiki>{{backlink|FAQ_General|General}}</nowiki>
<nowiki>{{backlink|FAQ_General|General}}</nowiki>


;use as link to the upper level in the TCWiki
;Use as link to the upper level in the wiki


To use the Backlink template you have to use '''2 parameters'''. ''Why?''
To use the Backlink template you '''must use two parameters'''. Why? In some sections the link name differs from the actual displayed name.


In some sections the link name differs from the actual dispalyed name e.g.:
:''Example:''<br />
:Use <nowiki>[[FAQ User Interface|User interface]]</nowiki> for a link to a page named '''FAQ user Interface''' which should be displayed '''User Interface'''.


<nowiki>[[FAQ User Interface|User interface]]</nowiki>
The second parameter '''cannot''' be left out.
 
where the link is '''FAQ user Interface'''
 
while it should only be displayed [[FAQ User interface|User interface]]
 
Thus I had to define two parameters. But if the second one is missing 


Code:  
Code:  
Line 27: Line 22:
   {{back|Backlink#}}
   {{back|Backlink#}}


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.
Although it works, it works not as intended. So if you want the link be displayed as it is you will have to type it twice separated with a "|" as shown above.
 
--[[User:Sheepdog|Sheepdog]] 04:56, 29 Sep 2005 (EST)


{{backlink|Help:Templates|Templates}}
{{backlink|Help:Templates|Help:Templates}}


{{de|Rückverweis}}
{{de|Rückverweis}}

Revision as of 09:24, 20 May 2008

Template:Backlink

Syntax:

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

Example:

{{backlink|FAQ_General|General}}
Use as link to the upper level in the wiki

To use the Backlink template you must use two parameters. Why? In some sections the link name differs from the actual displayed name.

Example:
Use [[FAQ User Interface|User interface]] for a link to a page named FAQ user Interface which should be displayed User Interface.

The second parameter cannot be left out.

Code:

{{backlink|Template}}

is shown as

 Back to {{{2}}}

Although it works, it works not as intended. So if you want the link be displayed as it is you will have to type it twice separated with a "|" as shown above.


Back to Help:Templates