Template:Linkstart/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 17: Line 17:
You could also do:<br>
You could also do:<br>
<code><nowiki>{{format link|Lion]], [[Tiger]], {{linkstart}}Bird}}</nowiki></code>→{{format link|Lion]], [[Tiger]], {{linkstart}}Bird}}<br>
<code><nowiki>{{format link|Lion]], [[Tiger]], {{linkstart}}Bird}}</nowiki></code>→{{format link|Lion]], [[Tiger]], {{linkstart}}Bird}}<br>
And make both "Lion", "Tiger", and "Bird" are separate links.
And make "Lion", "Tiger", and "Bird" all separate links.

Revision as of 05:48, 8 July 2021

Used to separate a single interlink into two or more internal links when a template automatically makes an internal link from an input, by making it so that [[ is not immediately interpreted as starting a new internal link.

To use, insert this instead of [[ before the final item which you wish to turn into a link.

Examples

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.

You could also do:
{{format link|Lion]], [[Tiger]], {{linkstart}}Bird}}Lion, Tiger, Bird
And make "Lion", "Tiger", and "Bird" all separate links.