Template:Anchor: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
><includeonly | ><includeonly | ||
><span id={{#anchorencode:{{{1}}}}}>{{{2|{{{1}}}}}}</span> | ><span id={{#anchorencode:{{{1}}}}}>{{{2|{{{1}}}}}}</span> [#{{#anchorencode:{{{1}}}}} #]</includeonly> |
Revision as of 19:44, 2 September 2024
Creates a “fancy” anchor (HTML attribute that lets you link to a specific element on a page) together with a clickable link
Arguments
- (Optional) How to name the anchor.
- Default: a URL-sanitized version of the contents.
- What to anchor.
Example
example [#{{#anchorencode:example}} #]