Difference between revisions of "Links"

From Spydiewiki
Jump to navigationJump to search
Line 16: Line 16:
|<tt><nowiki>[[Main Page]]</nowiki></tt>
|<tt><nowiki>[[Main Page]]</nowiki></tt>
|[[Main Page]]
|[[Main Page]]
|-
|Link to the section of an article
|<tt><nowiki>[[Images#Image galleries]]</nowiki></tt>
|[[Images#Image galleries]]
|-
|-
|Category link
|Category link

Revision as of 10:00, 8 March 2008

There are a couple of possibilities to link. Basically you can divide links into internal and external ones. If you want to add an internal link, write the name of the page you want to link to within double square brackets. When you then save your page, a link to the page you've specified will appear. If the page already exists, it is displayed in blue, empty pages are displayed in red.

The first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text).

Also, use named links where ever possible! Instead of using the automatically numbered unnamed links, use footnotes!

How to link

Description You type You get
Internal link [[Main Page]] Main Page
Link to the section of an article [[Images#Image galleries]] Images#Image galleries
Category link [[:Category:Help]] Category:Help
Piped link [[Main Page|different text]] different text
Anchor link [[#External links|Anchor link]] Anchor link
External link http://xyz.com http://xyz.com
Internal link to image file [[media:Testpicture.jpg]] media:Testpicture.jpg
External link, different title [http://xyz.com Anypage] Anypage
External link, unnamed [http://xyz.com] [1]
mailto mailto:abc@xyz.com mailto:abc@xyz.com
mailto unnamed [mailto:abc@xyz.com] [2]
mailto named [mailto:abc@xyz.com ABC] ABC
mailto named with subject line [mailto:abc@xyz.com?Subject=Request] ABC
redirect #REDIRECT [[Main Page]] Main Page

Related Articles