Content deleted Content added
TRANSWIKI: Copied from Meta:Help:Editing FAQ. |
TRANSWIKI: Copied from Meta:Help:Editing FAQ. |
||
Line 8:
A: Yes, you can. Each section header, regardless of size or depth, has a number corresponding to how many times that header's name has already appeared on the page. The number is "1" for the very first instance, "2" for the next, "3" for the next, and so on. You can link to each header just like a normal header, but using that number after the header's name (i.e. if there are three headers named "Foo," then the first can be linked to like so: <nowiki>[[#Foo 1]], the second. [[#Foo 2]], and the third, [[#Foo 3]]</nowiki>). Using the number "1" for the first header is generally superfluous, as the software will automatically link to the first header without using the number (i.e. <nowiki>[[Foo]]</nowiki>). If you don't want the number to show, then you have to use a piped link (e.g. <nowiki>[[Foo 2|Foo]]</nowiki>).
If you don't know how many times a given header has already appeared on a page (and thus the number to use), there are two ways to find out.
#Use the table of contents.
#:If a table of contents appears on the page, click on the header whom you wish to link to. The page will jump to that header. Now, look at the [[en:Uniform Resource Locator|URL]]. At the end, it will show the ID of the header in question. An example of a URL who has just been linked to a header, whose name has already appeared twice (and so is the third instance), and whose name is "Foo:"
|