Template:El: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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://heroes.thelazy.net/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://heroes.thelazy.net/index.php?title=Special:Random|t=go to a random page}}
[[Category: Help templates|{{PAGENAME}}]]</noinclude>
[[Category: Help templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:36, 21 December 2023

Allows making external links that look like internal links. Less verbose version of Template:ExtLink.

Usage

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

Example

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

go to a random page