From SPCodex, The Smashing Pumpkins wiki
Template documentation[view] [edit] [history] [purge]

The template {{anchor}} inserts one or more invisible HTML fragment identifiers (anchor names) in a page. Those locations can then be linked to.


  • {{anchor|Foo}} can be linked to with [[#Foo|link text]] within the same article (let's call this article "Qux"). You could also link to it from other pages as with [[Qux#Foo|link text]]
  • {{anchor|Foo|Bar|Baz}} – adds anchors for #Foo, #Bar, and #Baz. You can add any number of anchors.