UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> Help:Linking    
Linking (Help)


Related Content:
    Help:Anchors

Linking pages into a wiki article is perhaps one of the most significant features of a wiki. Links can be made to internal wiki pages, subsections of internal pages, external pages and more.

Contents

Internal Links


Linking to Pages

The internal link markup uses a opening and closing set of double square brackets, and takes two parameters. The first is the Page to link to, and the second is the optional Display Text of the link. The Pipe (|) character is used to separate the two parameters:

[[Page Name]]
[[Page Name|Display Text]]

The Page Name parameter is the name of the page as it is shown in the blue heading bar of the page. You can use spaces in this markup, or you can replace them with underscores (as they appear in the page's URL)

Linking to a Specific Page Heading (Anchor)

Main Article: Help:Anchors

You can use an anchor to specify a particular heading of a page. The syntax uses the standard Page link with a #Heading Name after the Page Name:

[[Page Name#Heading Name]]
[[Page Name#Heading Name|Display Text]]

To link to a heading in the same page that you are editing, you can omit the Page Name portion of the markup:

[[#Heading Name|Display Text]]
Creating Custom or Hidden Anchors

Most anchors are in the form of headers (== Heading Text ==), but you can also create your own anchors. Use the html <div> tag and supply an ID for the anchor:

<div id="Anchor ID Here">Anchor Text Here</div>
[[#Anchor ID Here|Link Text]]

To create a hidden anchor, use the the <div> tags with no text:

<div id="Anchor ID Here"></div>

Alternatively, the Anchor template can be used to create anchors, either with text or hidden:

{{Anchor|HiddenAnchorID}}
{{Anchor|VisibleAnchorID|Visible Anchor Display Text}}

Linking to Pages in a different Namespace

Ocassionally you may want to link to a page in a namespace besides the default (mainspace). To do this, include the Namespace with a colon separator before the Page Name. For example, the Help pages reside in the Help namespace:

[[Namespace:Page Name]]
[[Namespace:Page Name|Display Text]]
[[Help:Linking|How To Use Links]]

Linking to a Category

Categories are a special type of link. They use a similar syntax of double square braces, but have slightly different rules. Any Category has a Table of Contents which shows all pages that are that category. Using a standard internal link markup, you "link" to the category itself, effectively specifying that the Page which contains the link will be included in that category's Table of Contents:

[[Category:Category Name]]

In order to actually link to a Category's Table of Contents Page, the Category keyword must be preceeded by a colon:

[[:Category:Category Name]]

A complete dissemination of Categories, along with various linking structures, can be found in the Categories help article.

Linking to an Image or other Media

When an image or other type of media or file is uploaded to the wiki, it is given a reference name. By using a standard link and specifying Image or Media, you can display the image or media (or link to a non-rendering file):

[[Image:Image Name]]
[[Media:File Name]]

For further instuctions on uploading and linking to an image, see the Images help article.

For further information on the many possibilities when working with Image links and formatting, see the MediaWiki Images Help page. Note that there seems to be a bug when attempting to make the image link refer to a non-default location in this version of MediaWiki


External Links

External links are handle only slightly differently in wiki markup. Rather than using a double square bracket markup, you use a single square bracket markup, and rather than a Pipe (|) delimiter, you instead put a space after the URL (because no http URL contains a space) followed by the desired display text:

[http:www.utteraccess.com All Things Access!] -> All Things Access!
Edit Discussion
Custom Search
Thank you for your support!
This page has been accessed 4,163 times.  This page was last modified 15:02, 12 January 2012 by Jack Leach.   Disclaimers