Template:Ml

From Wikipedia, the free encyclopedia

[[{{{1}}}]]http://en.wikipedia.org{{localurl:{{{1}}}}}

Multiple Links

This template produces a link in internal link style and also a "hidden external link", to allow it to be found by Linksearchhttp://en.wikipedia.org../../../../articles/l/i/n/Help%7ELinksearch_6505.html, which, unlike Special:Whatlinksherehttp://en.wikipedia.org../../../../articles/w/h/a/Special%7EWhatlinkshere_6633.html, is specific for the target section. This backlink requires that the extension Special:Linksearchhttp://en.wikipedia.org../../../../articles/l/i/n/Special%7ELinksearch_3efd.html has been installed, which is the case on Wikimedia wikis.

Usage:

  • {{ ml | target_page | optional_anchor | optional_label }}

Do not put "#" at the start of the anchor.

Examples:

Wrong:

  • {{ml|
a}} gives [[
a]]http://en.wikipedia.org../../../../articles/a/_/_/A.html [6]Template:Xpd/

Compare:

Undefined parameter giving odd result:

Compare:

  • {{subst:ml|a:b}} gives A:b
code
<!--
 -->{{#if:{{{2|}}}<!--
 -->|<!--
    " -->{{#if:{{{3|}}}<!--
    " -->|[[{{{1}}}#{{{2}}}|{{{3}}}]]<!--
    " -->|[[{{ucfirst:{{{1}}}#{{{2}}}}}]]}}|<!--
    "    " -->{{#if:{{{3|}}}<!--
    "    " -->|[[{{{1}}}|{{{3}}}]]<!--
    "    " -->|[[{{ucfirst:{{{1}}}}}]]}}<!--
    "    " -->}}<span style="display:none">{{SERVER}}<!--
    " -->{{#if:{{{2|}}}|{{localurl:{{ucfirst:{{{1}}}}}}}#<!--
    "    " -->{{anchorencode:{{{2}}}}}|{{localurl:{{ucfirst:{{{1}}}}}<!--
    " -->}}<!--
 -->}}</span>
Languages