Template:Backlink: Difference between revisions
Jump to navigation
Jump to search
(Added the documentation of template) |
|||
Line 2: | Line 2: | ||
Back to [[{{{1}}}|{{{2}}}]] | Back to [[{{{1}}}|{{{2}}}]] | ||
<noinclude> | |||
== Template documentation == | |||
<div style="text-align: center;">''For discussion about usage of this template, see [[Template talk:Backlink]]''</div> | |||
This template adds a thematic break (line) which on next line is followed by a text "Back to Page name", where "Page name" is a link to an article with this name. | |||
{{:Help:Backlink template}} | |||
== See also == | |||
[[:Template:translated]] | |||
</noinclude> |
Revision as of 15:56, 23 March 2021
Back to [[{{{1}}}|{{{2}}}]]
Template documentation
For discussion about usage of this template, see Template talk:Backlink
This template adds a thematic break (line) which on next line is followed by a text "Back to Page name", where "Page name" is a link to an article with this name.
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