Difference between revisions of "Help:How do I link to another article or another website"

(Added how to create a Category link)
Line 30: Line 30:
  
 
:[http://www.mozilla.org Mozilla Website]
 
:[http://www.mozilla.org Mozilla Website]
 +
 +
[[category:AboutUs Help]]

Revision as of 00:26, 27 August 2006

Internal Links (Linking to a Page within this Wiki)

While editing a wiki page, put double square brackets around the text you wish to become a link. Example:

[[Brand New Page]]

will create a new link that will function like this:

Brand New Page
 

If you want to display a different phrase than the page name, you can use a pipe (|). The text before the pipe (|) is the page name. The text after the pipe is the label for that particular link. For example:

[[Brand New Page|My Page]]

will display like this: My Page

 

If you want to link to a category, also put an extra colon before "Category:" too. For example:

[[:Category:Domesday Book|Domesday Book]]

will display like this: Domesday Book

 
  • If the term that is double bracketed exists as an article in the wiki, then the link will show in blue and be immediately functional.
  • If the term that is double bracketed is not an existing page in the wiki, the link is "dangling" and shows in red. In a typical website, this might be considered a "broken" link, but in a wiki, it is simply an invitation for someone to create that needed article by clicking on the red link. Check the Wanted Pages for a list of articles that the wiki needs.

External Links (Linking to a page on another website)

While editing a wiki page, put square brackets around the URL and the description text you wish to become a link. Example:

[http://www.mozilla.org Mozilla Website]

will create a new link that will function like this:

Mozilla Website