Template:Linkstart/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
you would end up breaking the code.
you would end up breaking the code.


By using this template you can do this:
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>
Where both "Lion" and "Tiger" are separate links.
Where both "Lion" and "Tiger" are separate links.

Revision as of 05:34, 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
Where both "Lion" and "Tiger" are separate links.