Difference between revisions of "Links"

From Spydiewiki
Jump to: navigation, search
m (How to link)
m
Line 17: Line 17:
 
|[[Main Page]]
 
|[[Main Page]]
 
|-
 
|-
|Link to the section of an article
+
|Link to a section of an article
 
|<tt><nowiki>[[Images#Image galleries]]</nowiki></tt>
 
|<tt><nowiki>[[Images#Image galleries]]</nowiki></tt>
 
|[[Images#Image galleries]]
 
|[[Images#Image galleries]]
 
|-
 
|-
|Category link
+
|Anchor link  
|<tt><nowiki>[[:Category:Help]]</nowiki></tt>
+
|<tt><nowiki>[[#How to link|How to link]]</nowiki></tt>
|[[:Category:Help]]
+
|[[#How to link|How to link]]
 
|-
 
|-
 
|Piped link  
 
|Piped link  
Line 29: Line 29:
 
|[[Main Page|different text]]
 
|[[Main Page|different text]]
 
|-
 
|-
|Anchor link  
+
|Category link
|<tt><nowiki>[[#How to link|How to link]]</nowiki></tt>
+
|<tt><nowiki>[[:Category:Help]]</nowiki></tt>
|[[#How to link|How to link]]
+
|[[:Category:Help]]
 
|-
 
|-
 
|External link
 
|External link
Line 40: Line 40:
 
|<tt><nowiki>[[media:Testpicture.jpg]]</nowiki></tt>
 
|<tt><nowiki>[[media:Testpicture.jpg]]</nowiki></tt>
 
|[[media:Testpicture.jpg]]
 
|[[media:Testpicture.jpg]]
 +
|-
 +
|Internal link to the description page of an image
 +
|<tt><nowiki>[[:Image:Testpicture.jpg]]</nowiki></tt>
 +
|[[:Image:Testpicture.jpg]]
 
|-
 
|-
 
|External link, different title
 
|External link, different title

Revision as of 11:47, 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 a section of an article [[Images#Image galleries]] Images#Image galleries
Anchor link [[#How to link|How to link]] How to link
Piped link [[Main Page|different text]] different text
Category link [[:Category:Help]] Category:Help
External link http://xyz.com http://xyz.com
Internal link to image file [[media:Testpicture.jpg]] media:Testpicture.jpg
Internal link to the description page of an image [[:Image:Testpicture.jpg]] Image: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