Template:Anchor: Difference between revisions
Undid revision 8598015 by Tgr (WMF) (talk): That module is not directly used by Module:Loops; it was added as a dependency to Module:TableTools by @Hamish in revision 8588558, breaking every module depending on it |
m 1 revision imported: Initial Setup |
(No difference)
| |
Latest revision as of 16:43, 15 October 2026
| 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 |
| Ninth anchor | 9 | Ninth 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 |