PesWiki.com

Menu

PESWiki:Tutorial (External links)

Lasted edited by Andrew Munsey, updated on June 14, 2016 at 9:47 pm.

  • 2 errors has been found on this page. Administrator will correct this soon.
  • This page has been imported from the old peswiki website. This message will be removed once updated.

__NOEDITSECTION__ __NOTOC__

There was an error working with the wiki: Code[1]

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 "PESWiki: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 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: 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, just type:

: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 There was an error working with the wiki: Code[2] for more hexadecimal codes.

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

:==External articles==

:Google search engine

{|style="float: left margin-top: -1.5em background-color: #f4f4ff color: #000 padding: .2em .6em font-size: 130% border: 1px solid #ccf"

| &larr Test this in Sandbox

|}

{|style="float: right margin-top: -1.5em background-color: #f4f4ff color: #000 padding: .2em .6em font-size: 130% border: 1px solid #ccf"

| Continue the tutorial with PESWiki:Tutorial (Talk pages)

|}

Comments