Template:Anchor: Difference between revisions
→TemplateData: Use {{#invoke:Loops|forNumArgs}} |
m 1 revision imported: Initial setup |
(No difference)
|
Latest revision as of 13:25, 22 December 2024
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
To insert an anchor without the template, use <span id="anchor name"></span>
.
TemplateData
This 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 |