Help:Anchors
This is a copy of the master help page at m:Help:Anchors. Do not edit this page. Edits will be lost in the next update from the master page. Either edit the master help page for all projects at Meta, or edit the project-specific text at Template:Ph:Anchors. You are welcome to copy the exact wikitext from the master page at Meta and paste it into this page at any time.
It is possible to link to a specific portion of a page.
Setting anchors
[edit]- headers automatically become html anchors, which can be linked to.
- The <a> tag is not allowed in MediaWiki, so we can't do the <a name="link here">, but we can do the "id" html attribute to almost any existing tag. For example, <div id="what_to_link_to">text</div>.
Referencing anchors
[edit]inside a regular wiki link [[page#anchor_name|shown_up_as]], include the hash sign (#) and the header name or the id tag name as you have written it.
Wikiquote-specific content
[edit]Links to other help pages
[edit]Help contents - all pages in the Help namespace: Meta b: c: n: w: q: wikisource wiktionary
|
External Links
[edit]- Special page on the Wikipedia