Template:Anchor/doc

This template inserts one or more (up to 10) HTML anchors into a page at the specified location. This location can then be linked to using the syntax:
 * (if linking from elsewhere on the same page), or
 * (if linking from a different page).

Parameters
There can be up to 10 anchor names in a single call of this template. Specifying more than 10 anchors will result in an error message. If more anchors are desired, multiple template calls can be used. (But why would this ever be necessary??)

Since the anchor names will be used as "id" attributes in the rendered HTML, they should all be unique and should not conflict with any existing section headings, nor with the special reserved anchor name "". Note that anchor links are case sensitive in most but not all browsers. (Because duplicate anchor names result in invalid HTML, they can be detected by running the page through the [//validator.w3.org/ W3C Markup Validation Service].)

Anchor names that contain any character shown in the table on the right will not work as expected. However, any of these characters can be replaced with the corresponding "&amp;#" codes shown. The pipe symbol and equals sign can also be replaced by and, respectively. Most other characters, including whitespace and punctuation, are not a problem.

Usage
Replace with one or more anchor names separated by vertical bars: |.

Since this template doesn't result in any visible output, no test cases are provided. However, some examples are shown below.


 * 1) * could be linked to with from within the same article;
 * 2) * could be linked to with from other articles or from redirects.
 * 3) * could be used if something other than the current section heading is desired for incoming links of the form ;
 * 4) * however, it is preferable in such cases to use the following:
 * 5) * Do not do the following, as it will not work as expected:
 * 6) * will create three anchors that can then be linked to with, and , respectively.
 * 7) * does not work as expected: unlike most templates, this one doesn't work when its parameters are split into separate lines.
 * 1) * Do not do the following, as it will not work as expected:
 * 2) * will create three anchors that can then be linked to with, and , respectively.
 * 3) * does not work as expected: unlike most templates, this one doesn't work when its parameters are split into separate lines.
 * 1) * will create three anchors that can then be linked to with, and , respectively.
 * 2) * does not work as expected: unlike most templates, this one doesn't work when its parameters are split into separate lines.
 * 1) * does not work as expected: unlike most templates, this one doesn't work when its parameters are split into separate lines.