Difference between revisions of "Template:Anchor"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[#{{{1|top}}}|{{{2|Link}}}]]&nbsp;[[File:AnchorIcon.svg|13x13px|baseline|link=#{{{1|top}}}]]<noinclude>
+
[[#{{{1|top}}}|{{{2|{{{1|Link}}}}}}]]&#8239;[[File:AnchorIcon.svg|13x13px|baseline|link=#{{{1|top}}}]]<noinclude>
  
 
== Usage ==
 
== Usage ==
Line 6: Line 6:
  
 
<code><nowiki>{{anchor|section title|link text}}</nowiki></code>
 
<code><nowiki>{{anchor|section title|link text}}</nowiki></code>
 +
 +
The <code>link text</code> variable is optional and will default to <code>section title</code> if not provided.
  
 
== Example ==
 
== Example ==

Latest revision as of 03:50, 30 June 2018

LinkAnchorIcon.svg

Usage[edit]

For intra-page links.

{{anchor|section title|link text}}

The link text variable is optional and will default to section title if not provided.

Example[edit]

Clicking this linkAnchorIcon.svg jumps to the "Usage" section of this page.