Template:El: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{extLink|link={{{1}}}|title={{{2|{{{1}}}}}}}}</includeonly><noinclude>
<includeonly><span class=plainlinks>[{{{l}}} {{{t|{{{l}}}}}}]</span></includeonly><noinclude>
Allows making external links that look like internal links. Less verbose version of [[Template:ExtLink]].
Allows making external links that look like internal links. Less verbose version of [[Template:ExtLink]].
==Usage==
==Usage==
<nowiki>{{el|URL|text to display}}</nowiki>
<nowiki>{{el|l=URL|t=text to display}}</nowiki>
==Example==
==Example==
<pre>{{el|https://heroes.thelazy.net/index.php?title=Special:Random|go to a random page}}</pre>
<pre>{{el|l=https://{{SERVERNAME}}/index.php?title=Special:Random|t=go to a random page}}</pre>
{{el|https://heroes.thelazy.net/index.php?title=Special:Random|go to a random page}}
{{el|l=https://{{SERVERNAME}}/index.php?title=Special:Random|t=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. Less verbose version of Template:ExtLink.

Usage[edit | hide | hide all]

{{el|l=URL|t=text to display}}

Example[edit | hide]

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

go to a random page