ទំព័រគំរូ:Ml

ពីវិគីភីឌា
Jump to navigation Jump to search

[[{{{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 Linksearch, which, unlike Special:Whatlinkshere, is specific for the target section. This backlink requires that the extension Special:Linksearch 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:

Compare:

Undefined parameter giving odd result:

  • {{ml|a:{{{2}}}}} gives [[A:{{{2}}}]]
  • substituted (first part): [[A:{{{2}}}]]

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>