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. |
![]() | This template is used on approximately 92,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Use
[edit]Used to create an anchor point in text that allows for wikilinks.
{{anchor|point}} creates the anchor named point. This can then be linked to from the same or another page using a link like this: [[Page#point]]. This template does not create visible text: the anchor will be invisible to the reader. For visible text, use {{Anchor+}}.
Multiple anchors
[edit]Anchor can carry 20 variables
{{anchor|point1|point2|point3|...|point20}}
Thus this anchor is reachable by any of the links [[Page#point1]], [[Page#point2]], etc.
See also
[edit]- {{anchor+}}: for adding anchor to visible text
- {{anchor link}}: dynamic link to an anchor
No description.
Parameter | Description | Typ | Status | |
---|---|---|---|---|
1 | 1 | Anchor text. | String | required |
2 | 2 | no description | String | suggested |
3 | 3 | no description | String | suggested |
4 | 4 | no description | String | suggested |
5 | 5 | no description | Unknown | optional |
6 | 6 | no description | Unknown | optional |
7 | 7 | no description | Unknown | optional |
8 | 8 | no description | Unknown | optional |
9 | 9 | no description | Unknown | optional |
10 | 10 | no description | Unknown | optional |
11 | 11 | no description | Unknown | optional |
12 | 12 | no description | Unknown | optional |
13 | 13 | no description | Unknown | optional |
14 | 14 | no description | Unknown | optional |
15 | 15 | no description | Unknown | optional |
16 | 16 | no description | Unknown | optional |
17 | 17 | no description | Unknown | optional |
18 | 18 | no description | Unknown | optional |
19 | 19 | no description | Unknown | optional |
20 | 20 | no description | Unknown | optional |
21 | 21 | no description | Unknown | optional |