Help:Backlink template: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''[[template:backlink]]'''
== Usage of '''[[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. For example:


where the link is '''FAQ user Interface'''
:<nowiki>{{backlink|Help:Templates}}</nowiki>


while it should only be displayed [[FAQ User interface|User interface]]
is shown as:
{{backlink|Help:Templates}}


Thus I had to define two parameters. But if the second one is missing 
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.


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


<nowiki>{{backlink|Template}}</nowiki>
{{de|Rückverweis}}
 
is shown as
  {{back|Backlink#}}
 
what however it works is not intended.
 
--[[User:Sheepdog|Sheepdog]] 04:56, 29 Sep 2005 (EST)
 
{{backlink|Templates|Templates}}

Latest revision as of 15:56, 23 March 2021

Usage of 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. For example:

{{backlink|Help:Templates}}

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