Jump to content

Template:Anchor: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:
== Arguments ==
== Arguments ==


# (Optional) How to name the anchor.
# (Optional) How to name the anchor. '''Default:''' a URL-sanitized version of the contents.
#* '''Default''': a URL-sanitized version of the contents.
# What to anchor. This is transcluded as-is.
# What to anchor.


== Example ==
== Example ==
Line 14: Line 13:
><includeonly
><includeonly
><span id={{#anchorencode:{{{1}}}}}>{{{2|{{{1}}}}}}</span>&nbsp;<!--
><span id={{#anchorencode:{{{1}}}}}>{{{2|{{{1}}}}}}</span>&nbsp;<!--
-->[[#{{#anchorencode:{{{1}}}}}|#]]</includeonly>
-->[[#{{{#anchorencode:{{{1}}}}}}|#]]</includeonly>