Help:Backlink template: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
   {{back|Backlink#}}
   {{back|Backlink#}}


what however it works is not intended.  
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)
--[[User:Sheepdog|Sheepdog]] 04:56, 29 Sep 2005 (EST)


{{backlink|Templates|Templates}}
{{backlink|Templates|Templates}}

Revision as of 19:52, 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 the link be displayed as it is you'll have to type it twice separated with a "|" as shown above.

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


Back to Templates