Help:Backlink template: Difference between revisions
Jump to navigation
Jump to search
(updated text and back link) |
(fixed example) |
||
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: | ||
:<nowiki>{{backlink|Help:Templates}}</nowiki> | |||
is shown as: | |||
{{backlink|Help:Templates}} | |||
is shown as | |||
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. |
Revision as of 09:40, 20 May 2008
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