Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Wikipedia:Tip of the day/August 26

From Wikipedia, the free encyclopedia
How to link to a section of an article

Sometimes it is necessary to refer to a specific section of a page when linking, rather than to the whole page.

You can create a link to any subheading on any page in Wikipedia by including a # character followed by the subheading at the end of a link. For example:

Wikipedia:Community Portal#Collaborations

In all section links, be sure to use a piped link for readability, like this:

[[Wikipedia:Community Portal#Collaboration|Collaborations]]

which looks like this:

Collaborations

If a section title changes, rather than go red/inactive, the link will lead to the top of the linked page.

Note that redirects support sections links.