Template:Linkstart/doc: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:
<code><nowiki>{{format link|Lion}}</nowiki></code>→<code><nowiki>[[Lion]]</nowiki></code>→[[Lion]]
<code><nowiki>{{format link|Lion}}</nowiki></code>→<code><nowiki>[[Lion]]</nowiki></code>→[[Lion]]


If you were to use:<br>
If, for whatever reason you wanted to make two links with that template, and 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.
You would end up breaking the code.

Revision as of 05:40, 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, for whatever reason you wanted to make two links with that template, and 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.