Template:ExtLink: Difference between revisions

From Heroes 3 wiki
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>

Latest revision as of 09:02, 4 September 2024

Allows making external links that look like internal links.

How to use:
{{extLink|link=URL|title=Title of external link}}

Example[edit | hide | hide all]

{{extLink|link=https://{{SERVERNAME}}/index.php?title=Special:Random|title=go to a random page}}

go to a random page