Template:Anchor: Difference between revisions
thanks to User:Nclm for the idea! |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[#{{{1|top}}}|{{{2|Link}}}]] [[File:AnchorIcon.svg| | [[#{{{1|top}}}|{{{2|{{{1|Link}}}}}}]] [[File:AnchorIcon.svg|13x13px|baseline|link=#{{{1|top}}}]]<noinclude> | ||
== Usage == | |||
For intra-page links. | For intra-page links. | ||
<code><nowiki>{{anchor|section title|link text}}</nowiki></code> | |||
<code> | The <code>link text</code> variable is optional and will default to <code>section title</code> if not provided. | ||
== Example == | == Example == | ||