Difference between revisions of "Template:Anchor"

From Team Fortress Wiki
Jump to: navigation, search
m (Unprotected "Template:Anchor")
m (Maybe I was looking at the wrong place)
Line 11: Line 11:
 
-->{{#if: {{{10|}}}|<span id="{{anchorencode:{{{10|}}}}}"></span><!--
 
-->{{#if: {{{10|}}}|<span id="{{anchorencode:{{{10|}}}}}"></span><!--
 
-->{{#if: {{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span><!--
 
-->{{#if: {{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span><!--
-->}} }} }} }} }} }} }} }} }} }} }}<noinclude>
+
-->}}}}}}}}}}}}}}}}}}}}}}<noinclude>
 
Please see [[wikipedia:Template:Anchor/doc|Template:Anchor/doc]] on [[wikipedia:Main Page|Wikipedia]] for full documentation on this template.
 
Please see [[wikipedia:Template:Anchor/doc|Template:Anchor/doc]] on [[wikipedia:Main Page|Wikipedia]] for full documentation on this template.
  

Revision as of 15:46, 31 May 2011

Please see Template:Anchor/doc on Wikipedia for full documentation on this template.

  • {{anchor|foo|bar|baz}} will create HTML page anchors for #foo, #bar, and #baz (supports up to 10 anchors).
  • Use this underneath a section header if you change its name to preserve any redirects that use anchors.