Help:Anchors

From BPSBR_Wiki

Jump to: navigation, search

h:h Help It is possible to link to a specific portion of a page.

[edit] Setting anchors

  • 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>.

[edit] Referencing anchors

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.

Help contents - all pages in the Help namespace: Meta b: c: n: w: q: wikisource wiktionary


Reading: Go | Search | URL | Namespace | Page name | Section | Link | Backlinks | Piped link | Interwiki link | Redirect | Variable | Category | Special page
Tracking changes: Recent | (enhanced) | Related | Watching pages | Page history | Diff | User contributions | Edit summary | Minor edit | Patrolled edit
Logging in and preferences: Logging in | Preferences | User style
Editing: Overview | New page | List | Images/files | Image page | Special characters | Formula | Table | EasyTimeline | Template | (p. 2) | Renaming (moving) a page | Editing shortcuts | Talk page | Testing | Export/import | rlc |
Projects: Meta (master page) | Wikibooks | Wikicommons | Wikinews | Wikipedia | Wikiquote | Wikisource | Wiktionary - Template:Ed

Languages: Template:H-langs:Anchors

Personal tools