Template:Anchor/doc
![]() | Parts of this documentation were copied from the English Wikipedia article on this module. Note that the documentation could have been edited since copying. |
This template inserts one or more invisible HTML fragment identifiers (anchor names) in a page. Those locations can then be linked to using [[#Location|...]]
syntax (note that #Location
here is not a browser instruction like #redirect
—the word "Location" can be any word you wish to associate with any part of an article in which you decide to place the {{anchor}} template, and can be entirely arbitrary; also, the first letter of the location is usually capitalised to reflect the common capitalisation used in section headers.
Parameters
1
- name of your anchor
Examples
Code | Result |
---|---|
{{anchor|You're awesome!}} |
Try: #You're awesome! |