Template: Anchor

No edit summary
No edit summary
 
Line 2: Line 2:
Create a URL anchor. For example, to make a neater link to a page section:
Create a URL anchor. For example, to make a neater link to a page section:


<syntaxhighlight>
<syntaxhighlight lang=text>
== Lorem ipsum {{anchor|lorem}} ==
== Lorem ipsum {{anchor|lorem}} ==
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 08:29, 18 April 2024

Create a URL anchor. For example, to make a neater link to a page section:

== Lorem ipsum {{anchor|lorem}} ==

This can then be liked via e.g. https://example.org/wiki/Example_Page#lorem

This is a copy of meta:Template:Section.

Discuss this page