Template:Linkstart/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
If you were to use:<br> | If you were to use:<br> | ||
<code><nowiki>{{format link|Lion]] [[Tiger}}</nowiki></code><br> | <code><nowiki>{{format link|Lion]] [[Tiger}}</nowiki></code><br> | ||
You would end up breaking the code. | |||
By using this template you can do:<br> | By using this template you can do:<br> | ||
<code><nowiki>{{format link|Lion]] {{linkstart}}Tiger}}</nowiki></code>→{{format link|Lion]] {{linkstart}}Tiger}}<br> | <code><nowiki>{{format link|Lion]] {{linkstart}}Tiger}}</nowiki></code>→{{format link|Lion]] {{linkstart}}Tiger}}<br> | ||
And make both "Lion" and "Tiger" separate links. | And make both "Lion" and "Tiger" separate links. |
Revision as of 05:35, 8 July 2021
Used to separate a single link into two links when a template automatically makes a link, by making it so that [[ is not immediately interpreted as starting a link.
For example:
With Template:Format link you get:
{{format link|Lion}}
→[[Lion]]
→Lion
If you were to use:
{{format link|Lion]] [[Tiger}}
You would end up breaking the code.
By using this template you can do:
{{format link|Lion]] {{linkstart}}Tiger}}
→Lion Tiger
And make both "Lion" and "Tiger" separate links.