Difference between revisions of "Wiki Team/Guide/Links"

From Sugar Labs
Jump to navigation Jump to search
m (Help:Links moved to WikiTeam/WikiGuide/Links: creating wikiguide)
m (Update link)
Line 51: Line 51:
 
== See Also ==
 
== See Also ==
 
* [http://www.mediawiki.org/wiki/Help:Links MediaWiki Manual: Links]
 
* [http://www.mediawiki.org/wiki/Help:Links MediaWiki Manual: Links]
* [[Help:Interwiki Linking]]
+
* [[WikiTeam/WikiGuide/InterwikiLinking]]

Revision as of 21:31, 10 November 2008

You cannot use HTML anchor tags to create hyperlinks, but you don't need to. In fact, just typing a URL will make it an active external link in the text. For example: http://www.cern.ch produces a link to CERN.

There are two general types of links, internal links to an article (page) in this wiki, or external links to some other web site.


Internal Links

Internal links are links to an article or section in an article in the same wiki:

Link type You type: You get:
Internal link ...this leads to the need for a [[Cosmic Ray Detector]] ...this leads to the need for a Cosmic Ray Detector
Internal link with alternate link text ...which leads to the need for a [[Cosmic Ray Detector|CRD]] ...this leads to the need for a CRD
Link to section of an article ...as described in [[WikiTeam/WikiGuide/Formatting#Code Examples|the "code examples" section of the "Formatting" help page]] ...as described in the "code examples" section of the "Formatting" help page


External Links

External links are links to some other web site:

Link type You type: You get:
URL ...may be found at http://www.cern.ch ...may be found at http://www.cern.ch
External link, unnamed ...has recently been demonstrated by the QuarkNet[http://quarknet.fnal.gov] project. ...has recently been demonstrated by the QuarkNet[1] project.
External link, named ...as explained in the [http://www.nytimes.com New York Times] ...as explained in the New York Times


See Also