Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Anchor/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
m Recategorized
m Clarify limitations.
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{main|Template:Anchor}}</noinclude>
; Description
This template creates an invisible "anchor" tag that can be targeted by links in the same manner as headers.
: This template creates an invisible "anchor" tag that can be targeted by links in the same manner as headers.
 
; Syntax
: {{T|Anchor|id}}
:; Parameters
::; id : Identification of the anchor. Anchor names must be unique on a page, and must not duplicate any heading titles or CSS ids. Duplicate ids will not work as expected since the '''id''' links go to the first anchor with that name. This limitation includes the {{Tl|Anchor}} template, headers, and html/CSS ids.
 
<includeonly>[[Category:Link templates]]</includeonly>
<includeonly>[[Category:Link templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>