ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Template:Anchor"
From ModEnc
m (more fixing) |
m (and some more... sigh) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[#{{{3|{{{1}}}}}}|{{{3|{{{1}}}}}}]] (<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}#{{{2|anchor}}}_{{{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 - copy the URL of the (#) symbol to link directly to 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>[[{{PAGENAMEE}}#{{{3|{{{1}}}}}}|{{{3|{{{1}}}}}}]] (<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}#{{{2|anchor}}}_{{{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 - copy the URL of the (#) symbol to link directly to 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 09:13, 10 March 2008
Usage:
Example:
{{Anchor|name|prefix?|title?}}Creates a link to this page and this text, to easily reference this text - copy the URL of the (#) symbol to link directly to 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