Search results
Results from the WOW.Com Content Network
The template {{Visible anchor}} inserts one or more HTML anchors in a page. Those locations can then be linked to using [[#link|...]] syntax. Unlike {{Anchor}}, the first parameter will be visible text on the page. Template parameters [Edit template data] Parameter Description Type Status Anchor name, and text to display 1 This will become an anchor. The characters ", #, | and = must be ...
Anchor names must be unique on a page, and must not duplicate any heading titles. Duplicate anchors will not work as expected since the #location links go to the first anchor with that name. Duplicate anchors result in invalid HTML; you can check for duplicate anchors by running the page through the W3C Markup Validation Service.
The template {} inserts one or more invisible anchor names (HTML fragment identifiers) in a page. The basic format is {{subst:anchor|Anchor name}}. To link to an anchor from within the same page, use [[#Anchor name|display text]]. To link to an anchor from another page, use [[Article name#Anchor name|display text]].
Auto anchor— the anchor is automatically built by concatenating (running together) template fields such as the author last names and the year (e.g. SmithJones1999) Custom anchor— the anchor is created from text defined in a field; Reference- anchor— the anchor consists of Reference- plus the defined text; Anchor types can be combined.
It is bad practice to create links in article text using the format [[Article#Section]]; navigation then becomes difficult if the section is expanded into a new article. Instead, link using a redirect to the main topic; it costs little and makes improvements easier. Thus: In a redirect page named "History of Topic", use #REDIRECT [[Topic#History]].
[[Category:Section and anchor link formatting templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Section and anchor link formatting templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.
Note that if you use it more than once on the same page, you'll need to use the |name= parameter every time after the first, and with a different name for each, so that the generated anchors are unique. A number or lowercase plain alphabet (non-accented) character is recommended - if you use an invalid character, it will be converted e.g. "x y ...
An anchor hyperlink (anchor link) is a link bound to a portion of a document, [3] which is often called a fragment. The fragment is generally a portion of text or a heading, though not necessarily. For instance, it may also be a hot area in an image (image map in HTML), a designated, often irregular part of an image.