Template:Anchor: Difference between revisions

From Inkipedia, the Splatoon wiki
No edit summary
m (Merged documentation with the template. There was once a performance-related justification for having separate documentation, but at some point things were changed so that the performance difference no longer exists.)
 
Line 1: Line 1:
<includeonly><span id="{{{1}}}">{{{2|}}}</span></includeonly><noinclude>{{Anchor/doc}}</noinclude>
<includeonly><span id="{{{1}}}">{{{2|}}}</span></includeonly><noinclude>
Allows section links like <code><nowiki>[[Page name#1]]</nowiki></code> to link to where this template is used. This is helpful for linking to a row of a table or something similar without making a header.
__NOTOC__
== Usage ==
{{t|Anchor|1|2}}
 
{| class="wikitable"
|-
! Parameter
! Type
! Status
! Description
|-
! 1
| Unnamed
| Required
| The name that will be used in the link.
|-
! 2
| Unnamed
| Optional
| The displayed text.
|}

Latest revision as of 00:51, 21 August 2023

Allows section links like [[Page name#1]] to link to where this template is used. This is helpful for linking to a row of a table or something similar without making a header.

Usage

{{Anchor|<1>|<2>}}

Parameter Type Status Description
1 Unnamed Required The name that will be used in the link.
2 Unnamed Optional The displayed text.