Template:Anchor: Difference between revisions

m
I think this will work a bit better
(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…')
 
m (I think this will work a bit better)
Line 1:
<span id="{{anchorencode:{{{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|text}}</nowiki>
Anonymous user