Difference between revisions of "Template:Anchor"
From Xen
Lars.kurth (talk | contribs) (Simplify to include one argument) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <span id="{{{1}}}"></span> |
+ | <span id="{{{1}}}"></span><noinclude> |
+ | {{documentation}} |
||
− | |||
− | <noinclude> |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 19:50, 29 November 2011
[edit] [ ] 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. |