PESWiki:Tutorial (External links)

From PESWiki

PESWiki Tutorial
This article is part
of the PESWiki Tutorial
Tutorial pages...

Front page
Editing
Formatting
PESWiki links
Related site links
External links
Talk pages
Keep in mind
Registration
Namespaces
Wrap-up

See also...

Help Contents

Wiki-syntax makes it easy to make user-friendly external links. A brief table of these topic can be found at PESWiki:Quick guide.

External articles

If you want to link to a site outside of PESWiki, it should almost always go under the "External articles" heading at the end of an article.

The easiest way to make a link is to simply type in the full URL for the URL page you want to link to. If you want to make a link to Google, all you need to do is type:

http://www.google.com/

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] (http://www.google.com/). This format is mostly used for citing sources within an article. It looks like a footnote, so it's best to use it only as such (for example, following a direct quote or a statement which requires a source). Avoid placing this in the middle of a sentence. Do place it at the end of the statement instead. Also avoid using an external link when it's possible to accomplish the same thing with an internal link to a PESWiki 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 (http://www.google.com/), 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 the table of ASCII printable characters for more hexadecimal codes.

When placed under the "External articles" heading, the links should be listed in bullet-point format:

==External articles==
*[http://www.google.com/ Google search engine]


← Test this in sandbox
Continue the tutorial with Talk Pages
Related
Advertisement