Jump to content

Wiktionary:Tutorial (External links)

ពីWiktionary

[កែប្រែ]

If you want to link to a site outside Wikimedia, it should almost always go under the heading "====External links====" at the end of an entry.

The easiest way to make a link is to simply type in the full URL for the page you want to link to. So if we want to make a link to Google, all that's needed is: http://www.google.com, which comes out as http://www.google.com. The wiki will automatically treat this text as a link and will display the raw web address, including the "http://." In practice, you won't see this format much, as raw URLs are ugly and often give no clue what the site actually is.

To make the link display something other than the URL, use one square bracket at each end. So if we want to make a link to Google, all that's needed is: [http://www.google.com]. This will display the link as a number in brackets, like this: [១]. This format is mostly used for citing sources within an article.

If you want the link to have text that you specify, add an alternative title after the address, separated by a space (NOT a pipe). So if we want the link to have a title we can do this:

   [http://www.google.com Google Search Engine]

It would appear like this:

Google Search Engine

but would link to http://www.google.com

Note: Using certain characters, such as a pipe ('|') in the URL of the link will cause the link to fail; however, you can include any ASCII character in a URL by using its hexadecimal equivalent. For instance, '%7C' in a URL represents the pipe ( | ), '%24' represents the dollar sign ( $ ), '%22' represents the quotation mark ( " ), and '%20' represents the space character ( ).

Under the "External links" heading, the links should be listed in bullet point format:

====External links====
*[http://www.google.com Google Search Engine]

Experiment

[កែប្រែ]

Put your experiments in this page's sandbox.

Continue with the tutorial.