Template:Anchor

From Rosetta Code
Revision as of 17:33, 7 July 2009 by rosettacode>Mwn3d (Created page with '<span id="{{{1}}}">{{{#if: {{{2|}}}|{{{2|}}}|}}}</span><noinclude>Adds a custom HTML anchor anywhere on a page (except probably in a span tag). Example: <nowiki>{{anchor|link|te…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Adds a custom HTML anchor anywhere on a page (except probably in a span tag). Example:

{{anchor|link|text}}

will create an anchor accessible by appending "#link" to the end of the URL with the optional text "text" showing in its place.



This is a template. There are many others. See Category:RCTemplates for a complete list of templates.