Difference between revisions of "Wiki Team/Guide/Links"
Jump to navigation
Jump to search
m (fix camelcase links) |
(→Internal Links: parent page) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <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: | ||
− | {| | + | {| |
|- | |- | ||
|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>[[ | + | |<tt>...this leads to the need for a <nowiki>[[Wiki Team]]</nowiki></tt> |
− | | ...this leads to the need for a [[ | + | | ...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>[[ | + | |<tt> ...which leads to the need for a <nowiki>[[Wiki Team|WT]]</nowiki></tt> |
− | | ...this leads to the need for a [[ | + | | ...this leads to the need for a [[Wiki Team|WT]] |
|- | |- | ||
|Link to section of an article | |Link to section of an article | ||
− | |<tt> ...as described in <nowiki>[[ | + | |<tt> ...as described in <nowiki>[[Wiki Team/Guide/Formatting#Code Examples|the "code examples" section of the "Formatting" help page]]</nowiki></tt> |
− | | ...as described in [[ | + | | ...as described in [[Wiki Team/Guide/Formatting#Code Examples|the "code examples" section of the "Formatting" help page]] |
+ | |- | ||
+ | |Link to section of an article | ||
+ | |<tt> ...as described in <nowiki>[[Wiki Team/Guide/Formatting#Code Examples|the "code examples" section of the "Formatting" help page]]</nowiki></tt> | ||
+ | | ...as described in [[Wiki Team/Guide/Formatting#Code Examples|the "code examples" section of the "Formatting" help page]] | ||
+ | |- | ||
+ | |Link to parent of subpage | ||
+ | |<tt> ...see my parent page <nowiki>[[../]]</nowiki></tt> | ||
+ | | ...see my parent page [[../]] | ||
|} | |} | ||
− | |||
== External Links == | == External Links == | ||
Line 51: | Line 58: | ||
== 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/Interwiki Linking]] |
Latest revision as of 11:22, 26 November 2018
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 |
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 |
Link to parent of subpage | ...see my parent page [[../]] | ...see my parent page Wiki Team/Guide |
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 |