Template: Anchor
(util template) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<span id="{{{1}}}">{{{2|}}}</span><noinclude>This is a copy of [[meta:Template:Section]]</noinclude> | <span id="{{{1}}}">{{{2|}}}</span><noinclude> | ||
Create a URL anchor. For example, to make a neater link to a page section: | |||
<syntaxhighlight lang=text> | |||
== Lorem ipsum {{anchor|lorem}} == | |||
</syntaxhighlight> | |||
This can then be liked via e.g. <code><nowiki>https://example.org/wiki/Example_Page#lorem</nowiki></code> | |||
This is a copy of [[meta:Template:Section]].</noinclude> |
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.