Help:How to Make Links and New Pages
To start with, let's make a link.
Here is a simple link to a page on this wiki: P2P
When you type it into a page you type it like this: [[P2P]]
You'll immediately notice the double brackets. These are "mediawiki markup". This double bracket link is used for an internal link; it points to a page on the wiki called "P2P".
There are two types of links in a wiki, internal and external.
Internal links use double brackets to surround a page name [[Page Name]]
External links use single brackets to surround a page name [http://PageName.com]
You can also write an external link without any brackets as http://pagename.com
You might want to write an external link with brackets, though, because then you can make them say something like Google instead of simple the url as http://google.com.
When you want to write a link that uses different text you will also need to use some special markup.
Internal links with different text are written like this with double brackets and a 'bar' to separate the name. In each instance where you want to use special text you will enclose your link with the link text inside the brackets. When you create an internal link you will use the Page Name including the spaces. In this example we will use the text "link to page name". Notice also that there is a space on either side of the bar, the | character.
Internal Link using double brackets and a | to use alternate text [[Page Name | link to page name]]
This markup creates: link to page name
When you want to use alternate text for an external link you can leave out the bar | and simply leave a space between the link and the alternate text.
External links with single brackets and no bar, only a space for alternate text [http://p2pfoundation.net P2P Foundation]
This markup creates: P2P Foundation