Difference between revisions of "Template:Anchor"

From Wiki - Scioly.org
Jump to navigation Jump to search
m ((+) Documentation)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<span id="{{{1|anchor}}}"></span>
+
<span id="{{{1|anchor}}}"></span><noinclude>
 +
{{Documentation}}
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 15:57, 16 December 2020

Template documentation[view] [edit] [history] [purge]

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!