Formatting
From HFA-PEDIA
The next step is to format your text.
How do I make a link?
There are four sorts of links:
- internal links to other pages in the HFA-Pedia
- external links to websites
- Inter-wiki links (links to other wikis)
- inter-language links to other language versions of the same wiki
To add an internal link, enclose the name of the page you want to link to in double square brackets, you can use also the edit toolbar. 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. Selflinks to the current page are not transformed in URLs but displayed in bold.
The first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text).
How to link
| Description | You type | You get |
| Internal link | [[Main Page]] | Main Page |
| Category link | [[:Category:America]] | Category:America |
| Piped link | [[Main Page|Different Name]] | Different Name |
| External link | http://www.eird.org | http://www.eird.org |
| Internal link to image file | [[media:Ca-flag.png]] | media:Ca-flag.png |
| External link, different title | [http://www.eird.org EIRD] | EIRD |
| External link, unnamed | [http://www.eird.org] | [1] |
| External link, same host unnamed | [http://{{SERVERNAME}}/hfa.html] | [2] |
| Interwiki link | [[Wikipedia:MediaWiki]] | Wikipedia:MediaWiki |
| mailto | mailto:info@example.org | mailto:info@example.org |
| mailto unnamed | [mailto:info@example.org] | [3] |
| mailto named | [mailto:info@example.org info] | info |
| redirect | #REDIRECT [[Main Page]] | → Main Page |
