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. Just like the automatically created anchors on section titles.
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>.


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

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
Name 11

First anchor name

Stringrequired
Name 22

Second anchor name

Stringoptional
Name 33

Third anchor name

Stringoptional
Name 44

Fourth anchor name

Stringoptional
Name 55

Fifth anchor name

Stringoptional
Name 66

Sixth anchor name

Stringoptional
Name 77

Seventh anchor name

Stringoptional
Name 88

Eighth anchor name

Stringoptional
Name 99

Ninth anchor name

Stringoptional
Name 1010

Tenth anchor name

Stringoptional