Help:Links
From UgandaWiki: The Uganda Online Encyclopedia
You will often want to make clickable links to other pages. You make links to other pages using square brackets. The following examples show how to make links.
| What it looks like | What you type |
|---|---|
|
Here's a link to a page named Detoother. You can even say Detoothers and the link will show up correctly. | Here's a link to a page named [[Detoother]]. You can even say [[Detoother]]s and the link will show up correctly. |
|
You can put formatting around a link. Example: Uganda. | You can put formatting around a link. Example: ''[[Uganda]]''. |
|
The first letter of articles is automatically capitalized, so uganda goes to the same place as Uganda. Capitalization matters after the first letter. | The ''first letter'' of articles is automatically capitalized, so [[uganda]] goes to the same place as [[Uganda]]. Capitalization matters after the first letter. |
|
The weather in Kamonkole is a page that doesn't exist yet. You could create it by clicking on the link. | [[The weather in Kamonkole]] is a page that doesn't exist yet. You could create it by clicking on the link. |
|
You can link to a page section by its title: If multiple sections have the same title, add a number. #Example section 3 goes to the third section named "Example section". | You can link to a page section by its title: *[[Uganda#Politics]]. If multiple sections have the same title, add a number. [[#Example section 3]] goes to the third section named "Example section". |
|
You can make a link point to a different place with a "piped link." Put the link target first, then the pipe character "|", then the link text. Or you can use the "pipe trick" so that text in parentheses or text after a comma does not appear. | *[[Help:Editing|How to edit]] *[[Uganda#Politics| The Politics of Uganda]] *[[Half London(Kampala)|]] *[[Half London, Kampala|]] |
|
You can make an external link just by typing a URL: http://www.kampalaonline.com You can give it a title: Kampala Online Or leave the title blank: [1] |
You can make an external link just by typing a URL: http://www.kampalaonline.com You can give it a title: [http://www.kampalaonline.com Kampala Online] Or leave the title blank: [http://www.kampalaonline.com] |
|
Linking to an e-mail address works the same way: mailto:someone@domain.com or Someone |
Linking to an e-mail address works the same way: mailto:someone@domain.com or [mailto:someone@domain.com Someone] |
|
You can redirect the user to another page. | #REDIRECT [[Constitution of Uganda]] |
|
Category links do not show up in line but instead at page bottom and cause the page to be listed in the category. Add an extra colon to link to a category in line without causing the page to be listed in the category: Category:Help | Category links do not show up in line but instead at page bottom ''and cause the page to be listed in the category.'' [[Category:Help]] Add an extra colon to ''link'' to a category in line without causing the page to be listed in the category: [[:Category:Help]] |
|
The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your Preferences: | The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your [[Special:Preferences|]]: * [[July 20]], [[1969]] * [[20 July]] [[1969]] * [[1969]]-[[07-20]] |
