Home > Articles > Home & Office Computing > The Web/Virtual Worlds/Social Networking

  • Print
  • + Share This
From the author of Inserting Links

Inserting Links

Many Wikipedia articles reference other Wikipedia articles via means of an article link. To insert such a link, you must know the proper name of the article to which you want to link. You then insert the following code into the article you're editing:

 [[name of article]]

Just insert the name of the article between the dual square brackets. So, for example, if you want to link to the Wikipedia article on clownfish, the text would look like this:

Marine [[clownfish]] are very popular in beginning aquariums.

The resulting text is shown in Figure 2, with the blue text linking to the clownfish article.

Figure 2 A link to another Wikipedia article inserted into an article's text

If you'd rather display different words within your text instead of the proper article name, you use what Wikipedia calls a renamed link. The code for a renamed link looks like this:

[[name of article|renamed text]]

Back to our clownfish example; if you want to refer to clownfish as "Nemo," the code would look like this:

The fish named [[clownfish|Nemo]] was the main character in the Pixar movie of the same name.

If instead of linking to a Wikipedia article, you want to link to a topic category, you use a category page link. The code looks like this:

[[:Category:Category name]]

So, for example, if you want to link to the Aquaria category, you enter this code:

[[:Category:Aquaria]]

You can also link from within a Wikipedia article to other pages on the Web. There are several ways to create this type of external link, but the preferred method is to create what Wikipedia calls a named link. The code looks like this:

 [http://www.website.com linked-text]

For example, you might create this text and code:

The original report appeared on the [http://www.cnn.com CNN] website.

The resulting text is shown in Figure 3.

Figure 3 A link to an outside web page inserted into an article's text

  • + Share This
  • 🔖 Save To Your Account