Help:Linking pages

From SCWiki

Jump to: navigation, search

THis page should help you create links in pages you edit.

Contents

Internal links

Creating a link using the wiki is very easy - you simply add 2 square brackets at each end of the word you want to link

eg.

 [[Ben Nevis]] is Scotland's highest mountain. 

would give

Ben Nevis is Scotland's highest mountain.

if you wanted to link to one page but use slightly diffrent text you can put the page you want to link to in the left side of the brackets then use a | and the text you want to display in the right side of the brackets.

 [[Ben Nevis|The Ben]] is Scotland's highest mountain. 

would give

The Ben is Scotland's highest mountain.

Clicking on this link would take you to the Ben Nevis Page.

You can create links to any page, by adding square brackets -If the page doesn't exist yet the link will show as red. This is also how to create pages. When creating links be careful over spelling and punctuation. If you think the page might exist already but the link is red, try searching for the page.

Some things to be aware of

Captial Letters: The first letter of a link can be either upper or lower and it will still take you to the same place. Eg Sport climbing is the same as sport climbing. However when capitals appear anywhere other than the first letter the wiki recognises it as a diffrent word eg. Sport Climbing. All this means is make sure you are using capitals in the right way.

Plurals: Plurals matter, when creating links it's usually better to use the singular. pitons is recognised as a diffrent word to piton. There is however a neat trick you can use - add an s straight after the closing brackets (with no space) eg.

[[piton]]s

This creates a link that looks like pitons - but takes you to the page for piton.

External links

There are a number of ways to link to external pages

1. Simple

just type the address in full eg http://www.scottishclimbs.com

2. Neat

Enclose in a single set of square brackets. eg

[http://www.scottishclimbs.com]

gives [1]

3. Alternate text

To change the text of the link use a single set of square brakets with the web address on the left, followed by a space, then the text you wish to display

[http://www.scottishclimbs.com ScottishClimbs]

gives

ScottishClimbs


<< Adding a page || Basic formatting >>
Go back to the Help contents page or try this out in The Sandbox.
Personal tools