Wikipǣdia:Tutorial (External links)
Frontpage, 1: Editing, 2: Formatting, 3: Wikipedia links, 4: Related site links, 5: External links, 6: Talk pages, 7: Keep in mind, 8: Registration, 9: Namespaces, 10: Wrap-up
External links
adihtIf you want to link to a site outside of Wikipedia, it should almost always go under the "External links" heading at the end of an article.
The easiest way to make a link is to simply type in the full URL for the page you want to link to. If you want to make a link to Google, all you need to do is type:
The wiki will automatically treat this text as a link (as has been done with the URL above) and will display the raw web address, including the "http://" part. In practice, you won't see this format much, as raw URLs are ugly and often give no clue to what the site actually is.
To make the link display something other than the URL, use one square bracket at each end. If you want to make a link to Google, type:
- [http://www.google.com/]
This will display the link as a number in brackets, like this: [1]. This format is mostly used for citing sources within an article. It looks like a footnote, so it's best to only use it as such (for example, following a direct quote or a statement which requires a source). Avoid this usage: "According to [2], the last full moon of the second millennium occurred on December 11, 2000." Also avoid using an external link when it's possible to accomplish the same thing with an internal link to a Wikipedia article.
If you want the link to appear with text that you specify, add an alternative title after the address separated by a space (not a pipe). So if you want the link to appear as Google search engine, just type:
- [http://www.google.com/ Google search engine]
Note: Using certain characters, such as a pipe(|) in the URL of the link will cause the link to fail; however, URL syntax provides the ability to specify any character in a URL as a hexadecimal equivalent to its ASCII representation, so you can, for instance, write %7C instead of the pipe character. See our table of ASCII printable characters for more hexadecimal codes.
When placed under the "External links" heading, the links should be listed in bullet-point format:
- ==External links==
- *[http://www.google.com/ Google search engine]
Experiment
adihtPut your experiments in this page's sandbox.
Continue with the tutorial.
Frontpage, 1: Editing, 2: Formatting, 3: Wikipedia links, 4: Related site links, 5: External links, 6: Talk pages, 7: Keep in mind, 8: Registration, 9: Namespaces, 10: Wrap-up