Template:Anchor: Difference between revisions

Content added Content deleted
m (I think this will work a bit better)
m (Extra characters)
 
Line 1: 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:
<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>
<nowiki>{{anchor|link|text}}</nowiki>