Help:Backlink template: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:


is shown as
is shown as
   {{back|template:backlink}}
   {{back|Backlink#}}


what however it works is not intended. So if you want to be displayed the actual name of the link you should use it like this:
what however it works is not intended. So if you want to be displayed the actual name of the link you should use it like this:

Revision as of 19:48, 11 October 2005

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 TCWiki

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

In some sections the link name differs from the actual dispalyed 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:

{{backlink|Template}}

is shown as

 Back to {{{2}}}

what however it works is not intended. So if you want to be displayed the actual name of the link you should use it like this:


--Sheepdog 04:56, 29 Sep 2005 (EST)


Back to Templates