Template:Anchor/doc: Difference between revisions
[[mw:]]>Clump m (Reverted edits by 174.250.210.108 (talk) to last version by Clump) |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:05, 12 November 2022
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. |
This template should use 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
This version of the anchor template cannot be substituted. 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 |