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

From Sugar Labs
Jump to navigation Jump to search
m (fix camelcase links)
Line 1: Line 1:
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
+
<noinclude></noinclude>
 
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.
 
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.
  
Line 7: Line 7:
 
== Internal Links ==
 
== Internal Links ==
 
Internal links are links to an article or section in an article in the same wiki:
 
Internal links are links to an article or section in an article in the same wiki:
{| {{Prettytable}}
+
{|  
 
|-
 
|-
 
|bgcolor="#A7C1F2"|'''Link type'''
 
|bgcolor="#A7C1F2"|'''Link type'''
Line 14: Line 14:
 
|-
 
|-
 
|Internal link
 
|Internal link
|<tt>...this leads to the need for a <nowiki>[[Cosmic Ray Detector]]</nowiki></tt>
+
|<tt>...this leads to the need for a <nowiki>[[Wiki Team]]</nowiki></tt>
|  ...this leads to the need for a [[Cosmic Ray Detector]]
+
|  ...this leads to the need for a [[Wiki Team]]
 
|-
 
|-
 
|Internal link with alternate link text
 
|Internal link with alternate link text
|<tt>  ...which leads to the need for a <nowiki>[[Cosmic Ray Detector|CRD]]</nowiki></tt>
+
|<tt>  ...which leads to the need for a <nowiki>[[Wiki Team|WT]]</nowiki></tt>
| ...this leads to the need for a [[Cosmic Ray Detector|CRD]]
+
| ...this leads to the need for a [[Wiki Team|WT]]
 
|-
 
|-
 
|Link to section of an article
 
|Link to section of an article
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]
* [[Wiki Team/Guide/InterwikiLinking]]
+
* [[Wiki Team/Guide/Interwiki Linking]]

Revision as of 16:24, 22 October 2009

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 [[Wiki Team]] ...this leads to the need for a Wiki Team
Internal link with alternate link text ...which leads to the need for a [[Wiki Team|WT]] ...this leads to the need for a WT
Link to section of an article ...as described in [[Wiki Team/Guide/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