Difference between revisions of "Template:Anchor"

From Xen
(Removed excess lines)
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<span id="{{{1}}}"></span><noinclude>
 
<span id="{{{1}}}"></span><noinclude>
  +
{{documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:50, 29 November 2011

[edit] [purge] Template documentation

Usage

{{Anchor|<anchor label>}}

For example

{{Anchor|example}}

Which can then be referenced by

[[#example|goto example]]
[[Template:Anchor/doc#example|also goto example]]

Links to various anchors

The above documentation is transcluded from Template:Anchor/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.