Help:Backlink template: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(updated text and back link)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''[[Template:Backlink]]'''
== Usage of '''[[Template:Backlink]]''' ==


'''Syntax:'''
'''Syntax:'''
Line 11: Line 11:


:''Example:''<br />
:''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'''.
:''Use <nowiki>[[FAQ User Interface|User interface]]</nowiki> for a link to a page named '''FAQ user Interface''' which should be displayed '''User Interface'''.''


The second parameter '''cannot''' be left out.
The second parameter '''cannot''' be left out. For example:


Code:  
:<nowiki>{{backlink|Help:Templates}}</nowiki>


<nowiki>{{backlink|Template}}</nowiki>
is shown as:
 
{{backlink|Help:Templates}}
is shown as
  {{back|Backlink#}}


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.
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.

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