Difference between revisions of "Template:Anchor"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 16: Line 16:
 
* <code><nowiki>{{anchor|foo|bar|baz}}</nowiki></code> will create HTML page anchors for [[#foo]], [[#bar]], and [[#baz]] (supports up to 10 anchors).
 
* <code><nowiki>{{anchor|foo|bar|baz}}</nowiki></code> 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.
 
* Use this underneath a section header if you change its name to preserve any redirects that use anchors.
[[Category:Formatting templates]]
+
[[Category:Formatting templates|Anchor]]
 
</noinclude>
 
</noinclude>

Revision as of 20:51, 1 September 2010

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.