Difference between revisions of "Links"

From Spydiewiki
Jump to navigationJump to search
(New page: 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 lin...)
 
Line 5: Line 5:
== How to link ==
== How to link ==
{|
{|
|-
|'''Description'''
!Description
|'''You type'''
!You type
|'''You get'''
!You get
|-
|-
|Internal link
|Internal link
Line 34: Line 33:
|[[media:Testpicture.jpg]]
|[[media:Testpicture.jpg]]
|-
|-
|External link,<br />
|External link, different title
different title
|<tt><nowiki>[http://xyz.com Anypage]</nowiki></tt>
|<tt><nowiki>[http://xyz.com Anypage]</nowiki></tt>
|[http://xyz.com Anypage]
|[http://xyz.com Anypage]
|-
|-
|External link,<br />
|External link, unnamed
unnamed
|<tt><nowiki>[http://xyz.com]</nowiki></tt>
|<tt><nowiki>[http://xyz.com]</nowiki></tt>
|[http://xyz.com]
|[http://xyz.com]
Line 57: Line 54:
|-
|-
|mailto named with subject line
|mailto named with subject line
|<tt><nowiki>[mailto:abc@xyz.com?Subject=URL%20Encoded%20Subject info]</nowiki></tt>
|<tt><nowiki>[mailto:abc@xyz.com?Subject=Request]</nowiki></tt>
|[mailto:abc@xyz.com?Subject=URL%20Encoded%20Subject info]
|[mailto:abc@xyz.com?Subject=Request ABC]
|-
|-
|redirect
|redirect

Revision as of 13:52, 1 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).

How to link

Description You type You get
Internal link [[Main Page]] Main Page
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