Jump to content

Topic on Template talk:Anchor

Summary by Wladek92

done. Thanks Danny.

Wladek92 (talkcontribs)

Hi all, document w:Template:Anchor shows use of only one parameter. Describing 11 parameters here supposes users can call the same anchor via 2nd, 3rd ... or nth symbol. Is that true, or what is the use of these additional cases ?

Christian Wia (talk) 06:58, 20 August 2019 (UTC)

DannyS712 (talkcontribs)

If you look at w:Template:Anchor#TemplateData, you'll see that the 2nd, 3rd, 4th, etc. parameters can be used to add a second, third, etc anchor at the same place. For example, {{anchor|foo|bar}} is the same as {{anchor|foo}}{{anchor|bar}} - does this make sense?

Wladek92 (talkcontribs)

that means each one is referencing the same place ?

DannyS712 (talkcontribs)

yes, the anchors point to whereever the template is placed