Template:Anchor: Difference between revisions
Appearance
en>DCoder m Take 4... |
en>DCoder m Woops, broke other anchors... |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks" id="{{#ifeq:{{{2|anchor}}}|||_}}{{{1}}}">[{{fullurl:{{FULLPAGENAME}}#{{#ifeq:{{{2|anchor}}}|||{{{2}}}_}}{{{1}}}}} {{{3|{{{1}}}}}}]</span></includeonly><noinclude>Usage:<pre>{{Anchor|name|prefix?|title?}}</pre>Creates a link to this page and this text, to easily reference this text. Creates an anchor named "#prefix_name" and titled "title". Prefix defaults to "anchor", title defaults to name.<br>'''Example:'''<pre>{{Anchor|reference1}}</pre>results in {{Anchor|reference1}}<br><br></noinclude> | <includeonly><span class="plainlinks" id="{{#ifeq:{{{2|anchor}}}|||_{{{2|anchor}}}}}{{{1}}}">[{{fullurl:{{FULLPAGENAME}}#{{#ifeq:{{{2|anchor}}}|||{{{2}}}_}}{{{1}}}}} {{{3|{{{1}}}}}}]</span></includeonly><noinclude>Usage:<pre>{{Anchor|name|prefix?|title?}}</pre>Creates a link to this page and this text, to easily reference this text. Creates an anchor named "#prefix_name" and titled "title". Prefix defaults to "anchor", title defaults to name.<br>'''Example:'''<pre>{{Anchor|reference1}}</pre>results in {{Anchor|reference1}}<br><br></noinclude> | ||
Revision as of 07:51, 20 May 2008
Usage:
{{Anchor|name|prefix?|title?}}Creates a link to this page and this text, to easily reference this text. Creates an anchor named "#prefix_name" and titled "title". Prefix defaults to "anchor", title defaults to name.
Example:
{{Anchor|reference1}}results in reference1