Template:MC/Visible anchor/doc
More actions
Template:Documentation header Template:Shortcut This template can be used to allow linking to a section of an article without the creation of headers, while still showing the text.
Usage
If {{vanchor|Example}} is placed on the next line, then Template:Visible anchor#Example will link to that line.
{{vanchor|Example}} anchor sentence.
- Template:Vanchor anchor sentence.
This template supports multiple parameters as well. So {{vanchor|Example|Anchor|Test}} will create anchors "Example", "Anchor", and "Test" at the place of its usage, but only "Example" will appear as text.
Only 13 anchors are supported in one call of the template, if you need any more, you will need to call a second instance of the template.
See also
- {{Anchor}}
- {{Section link}}, which generates a link to a specific section of a page
es:Plantilla:Anclaje visible/doc fr:Modèle:Ancre de texte/doc ja:テンプレート:Visible anchor/doc ko:틀:Text anchor/doc nl:Sjabloon:Tekstanker/doc pt:Predefinição:Texto âncora/doc uk:Шаблон:Видимий якір/док zh:Template:Text anchor/doc