Template talk:H:ml
From Wikipedia, the free encyclopedia
Multiple Links
Template:ml (talk, backlinks, edit) redirects to Template:h:ml (talk, backlinks, edit). For the prefix "H:", see m:Help:MediaWiki help policy#Templates ; it is used on help pages for compatibilty across sites without name conflicts; on other pages it is not needed.
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. Therefore it is especially useful for linking to a section or other anchor.
Usage:
- {{ ml | target_page | anchor_name | optional_label }}
In most cases the anchor used is the automatically created one at the top of a section, with a name equal to that of the section. Do not put "#" at the start of the anchor name.
Examples of links to a section (the main application of this template):
- {{
ml|Help:Link|Section linking (anchors)
}} gives Help:Link#Section linking (anchors) - {{
ml|Help:Link|Section linking (anchors)|section link
}} gives section link
Examples of links simply to the top of the page:
- Linksearch with target page Help:Link - gives pairs of source page and full target
- Linksearch with as target the sections of Help:Link starting with "S" - ditto
Compare:
- Special:Whatlinkshere/Help:Link - no indication of, or selection by, target section
[edit] See also
- m:Template:h:ml (talk, backlinks, edit)
- m:Template:h:mlm (talk, backlinks, edit)
- m:Template:h:mlw (talk, backlinks, edit)
- m:Template:h:mlmw (talk, backlinks, edit)
- m:Template:h:ml templates (talk, backlinks, edit)
- Template:h:ml (talk, backlinks, edit)
- Template:h:mlm (talk, backlinks, edit)
- Template:h:mlw (talk, backlinks, edit)
- Template:h:mlmw (talk, backlinks, edit)
- Template:h:ml templates (talk, backlinks, edit)