Original: To link to a section in the same page you can use: displayed text, and to link to a section in another page: displayed text.
Simplified: When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red.