Difference between revisions of "Links"

From Spydiewiki
Jump to navigationJump to search
Line 30: Line 30:
|-
|-
|Anchor link  
|Anchor link  
|<tt><nowiki>[[#External links|Anchor link]]</nowiki></tt>
|<tt><nowiki>[[#How to link|How to link]]</nowiki></tt>
|[[#External links|Anchor link]]
|[[#How to link|How to link]]
|-
|-
|External link
|External link

Revision as of 11:40, 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 [[#How to link|How to link]] How to 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