How to make links
Simple Rule
For pages inside the wiki, use brackets with quotes. For pages outside the wiki, use brackets without quotes.
Pages inside the wiki
If you enclose a sequence of characters in square brackets and double quotes ["like this"], that makes it link to the named page. To have it display with alternative text, write it ["like this" with the display stuff here].
Within a Page
First you must set an 'anchor'. So, say you're on the coffee section of a page. You place an anchor here with the label coffee by putting [[Anchor(coffee)]] by that area. Then you can create a link to that section by putting [#coffee Text for the link here] wherever you'd like on the page. Clicking on the link will take you directly to that section. For example: There has been an anchor with the label end placed at the very end of this page. If I write [#end the end of the page!] it displays as: the end of the page! Go ahead and click on it :)
URLs and Inline Images
There are several ways to insert external references1 into the text:
-
direct URL insertion; if the URL ends in an image extension (".gif", ".jpg" or ".png"), the URL is converted to an image tag.
-
bracketed URLs.
-
email addresses.
If you enter URLs into normal text, there is the problem of detecting what belongs to the URL and what not. There are four ways to force the ending of an URL:
-
put a space after the URL.
-
use the bracketed URL syntax.
The supported URL schemes are: `http`, `https`, `ftp`, `nntp`, `news`, `mailto`, `telnet`, and `file`.
- 1The opposite of external references are the internal ["A Wiki Page"] links.
Example
* http://daviswiki.org * [http://daviswiki.org] * [http://daviswiki.org Davis Wiki - The best place on the Internet] * http://daviswiki.org/cool_files/circleblack.png * [http://daviswiki.org/cool_files/circleblack.png] * [http://daviswiki.org/cool_files/circleblack.png our old logo] * ["Wiki Sand Box"] * ["Wiki Sand Box" blah blah] * someone@example.com * [#end Anchor Link]
Display
How to redirect a page
To have a page redirect to another page, simply put the line:
#redirect A Page In The Wiki
as the first line of the page you want to redirect to the page "A Page In The Wiki". So putting that line in any page, at the top, will make that page redirect to the page "A Page In The Wiki"
InterWiki Links
If you feel like you understand wiki editing fairly well, you might want to use InterWiki links to link to other wikis with. It gives you a cool wiki community icon, and leads people to other wiki community projects. InterWiki links provide a standard way to link to other wikis.
entering:
[wiki:WikiPedia:Poop A page about poop]
will give you this
If you click on the link, you will be taken to the Wikipedia's page on Poop.
-
the [] indicates that what you are typing is a link.
-
the wiki: indicates that you are creating a interwiki link regardless of what wiki you're linking to.
-
this can be followed by any of the names from the Interwiki Map
-
then of course you follow with the page name
-
add a space, then type the optional description that you would like to appear with the link.
You can edit the list of wikis by editing the page InterWiki Map. A word on page names: c2.com always uses CamelCasingToIndicateSpacesBetweenWords. Wikipedia_is_a_big_fan_of_the_underscore. So [wiki:Wiki:APageInTheWiki] [wiki:WikiPedia:A_Page_In_The_Wiki].