Template:Anchor: Difference between revisions
From VRChat Wiki
Add TemplateData |
m Add note about section headings already being an anchor |
||
| Line 2: | Line 2: | ||
<code><nowiki>{{anchor|name1|name2|name3| ... |name10}}</nowiki></code> | <code><nowiki>{{anchor|name1|name2|name3| ... |name10}}</nowiki></code> | ||
== About == | == About == | ||
Allows to create one or more (up to 10) anchors to a specific part of a page. | Allows to create one or more (up to 10) manual anchors to a specific part of a page. | ||
These can later be linked with regular <code><nowiki>[[page_name#anchor_name]]</nowiki></code>. | |||
(All headings are automatically an anchor and don't require one.) | |||
== Example usage == | == Example usage == | ||
{{anchor|some name}} | {{anchor|some name}} | ||
Latest revision as of 22:05, 2 December 2024
{{anchor|name1|name2|name3| ... |name10}}
About
Allows to create one or more (up to 10) manual anchors to a specific part of a page.
These can later be linked with regular [[page_name#anchor_name]].
(All headings are automatically an anchor and don't require one.)
Example usage
{{anchor|some name}}
An anchor has been inserted above, you can then link it like this.
{{anchor|name1|name2|name3| ... |name10}}
Or you can insert more names in case of e.g. aliases or renaming.
Sources
- About manual anchors - https://www.mediawiki.org/wiki/Help:Links#A_manual_anchor.
TemplateData
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name 1 | 1 | First anchor name | String | required |
| Name 2 | 2 | Second anchor name | String | optional |
| Name 3 | 3 | Third anchor name | String | optional |
| Name 4 | 4 | Fourth anchor name | String | optional |
| Name 5 | 5 | Fifth anchor name | String | optional |
| Name 6 | 6 | Sixth anchor name | String | optional |
| Name 7 | 7 | Seventh anchor name | String | optional |
| Name 8 | 8 | Eighth anchor name | String | optional |
| Name 9 | 9 | Ninth anchor name | String | optional |
| Name 10 | 10 | Tenth anchor name | String | optional |