Difference between revisions of "Links"

From Spydiewiki
Jump to: navigation, search
m
m (How to link)
 
Line 17: Line 17:
 
|[[Main Page]]
 
|[[Main Page]]
 
|-
 
|-
|Link to a section of an article
+
|Link to a section of an other article
 
|<tt><nowiki>[[Images#Image galleries]]</nowiki></tt>
 
|<tt><nowiki>[[Images#Image galleries]]</nowiki></tt>
 
|[[Images#Image galleries]]
 
|[[Images#Image galleries]]
 
|-
 
|-
|Anchor link  
+
|Anchor link (section in same article)
 
|<tt><nowiki>[[#How to link|How to link]]</nowiki></tt>
 
|<tt><nowiki>[[#How to link|How to link]]</nowiki></tt>
 
|[[#How to link|How to link]]
 
|[[#How to link|How to link]]

Latest revision as of 11:48, 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 other article [[Images#Image galleries]] Images#Image galleries
Anchor link (section in same article) [[#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