Template:ExtLink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span class=plainlinks>[{{{link}}} {{{title}}}]</span></includeonly><noinclude>Allows making external links that look like internal links. | <includeonly><span class=plainlinks>[{{{link}}} {{{title|{{{link}}}}}}]</span></includeonly><noinclude>Allows making external links that look like internal links. | ||
How to use:<br> | How to use:<br> | ||
<nowiki>{{extLink|link=URL|title=Title of external link}}</nowiki> | <nowiki>{{extLink|link=URL|title=Title of external link}}</nowiki> | ||
==Example== | |||
<pre>{{extLink|link=https://{{SERVERNAME}}/index.php?title=Special:Random|title=go to a random page}}</pre> | |||
{{extLink|link=https://{{SERVERNAME}}/index.php?title=Special:Random|title=go to a random page}} | |||
[[Category: Help templates|{{PAGENAME}}]]</noinclude> | [[Category: Help templates|{{PAGENAME}}]]</noinclude> |