Template:Anchor/doc
This is a documentation subpage for Template:Anchor. It contains usage information, categories and other content that is not part of the original Template page. |
Uses Lua: |
This template is used on approximately 5,000 pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
See w:Template:Anchor for documentation.
Usage
editTo insert an anchor without the template, use <span id="anchor name"></span>
.
TemplateData
editThis is the TemplateData documentation for this template used by VisualEditor and other tools.
Anchor
Define link target(s) to a section or element within current page
Parameter | Description | Type | Status | |
---|---|---|---|---|
First anchor | 1 | First anchor ID. | String | required |
Second anchor | 2 | Second anchor ID. | String | optional |
Third anchor | 3 | Third anchor ID. | String | optional |
Fourth anchor | 4 | Fourth anchor ID. | String | optional |
Fifth anchor | 5 | Fifth anchor ID. | String | optional |
Sixth anchor | 6 | Sixth anchor ID. | String | optional |
Seventh anchor | 7 | Seventh anchor ID. | String | optional |
Eighth anchor | 8 | Eighth anchor ID. | String | optional |
Ninenth anchor | 9 | Ninenth anchor ID. | String | optional |
Tenth anchor | 10 | Tenth anchor ID. | String | optional |
Eleventh anchor | 11 | It gives an error when you are trying to add eleventh anchor. | String | optional |