Adding Links to your Article: Difference between revisions
m sort under links |
m update |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Internal Links to other Wiki | == Internal Links == | ||
===Links to other Wiki articles=== | |||
Creating links to other Wiki Articles is easy: Just place double brackets around the term(s) you'd like to carry the link like this: | Creating links to other Wiki Articles is easy: Just place double brackets around the term(s) you'd like to carry the link like this: | ||
<nowiki>[[Test]]</nowiki> | <nowiki>[[Test]]</nowiki> | ||
And this is what it looks like: | And this is what it looks like: | ||
[[Test]] | [[Test]] | ||
'''Note''' that links to existing pages will appear blueish, while links to non-existing articles will appear in < | '''Note''' that links to existing pages will appear {{blue|blueish}}, while links to non-existing articles will appear in {{red|red}}. | ||
'''Tip:''' You can also use the shortcut button to create internal links: Simply highlight the to-be-linked text and press this button: [[Image:button_link.png]]. It will automatically be surrounded by double brackets. | |||
===Links to anchors=== | |||
If you just want a '''link to an anchor''' on the same page, put a # before the headline: | |||
<nowiki>[[#See also]]</nowiki> | |||
The result is this: | |||
== External Links to other Web Pages == | [[#See also]] | ||
===Links with alternative text=== | |||
The above example doesn't look so good, does it? If you want to add an '''alternative text''', use the following syntax: | |||
<nowiki>[[#See also|Please see also]]</nowiki> | |||
I bet you already know how this looks like: | |||
[[#See also|Please see also]] | |||
===Link to an anchor of a different article=== | |||
Of course you can also link to anchors on other articles: | |||
<nowiki>[[What's new in TDM 1.04#Changes / Features / Issues fixed|Changes in 1.04]]</nowiki> | |||
becomes: | |||
[[What's new in TDM 1.04#Changes / Features / Issues fixed|Changes in 1.04]] | |||
== External Links == | |||
=== Links to other Web Pages === | |||
External links are even easier to create than internal links, just put the URL into your text like this: | External links are even easier to create than internal links, just put the URL into your text like this: | ||
<nowiki>http://www.thedarkmod.com</nowiki> | <nowiki>http://www.thedarkmod.com</nowiki> | ||
Line 17: | Line 52: | ||
http://www.thedarkmod.com | http://www.thedarkmod.com | ||
== External Links with Description Text == | === External Links with Description Text or Images === | ||
You can add a description to your link if you do it like this: | You can add a description to your link if you do it like this: | ||
<nowiki>[http://www.thedarkmod.com The Dark Mod]</nowiki> | <nowiki>[http://www.thedarkmod.com The Dark Mod]</nowiki> | ||
And this is what it looks like: | And this is what it looks like: | ||
[http://www.thedarkmod.com The Dark Mod] | [http://www.thedarkmod.com The Dark Mod] | ||
The '''URL''' of the linked page will go '''first''', everything that is coming '''afterwards''' will be considered as '''description''' of the link. You can use spaces or whatever you like in your description, even images are allowed | The '''URL''' of the linked page will go '''first''', everything that is coming '''afterwards''' will be considered as '''description''' of the link. You can use spaces or whatever you like in your description, even images are allowed, for example: | ||
<nowiki>[ImageURL ThumbnailURL]</nowiki> | |||
[ | |||
== See also == | == See also == | ||
* [[Adding Images to your Article]] | * [[Adding Images to your Article]] | ||
{{tutorial-wiki|Links}} | {{tutorial-wiki|sort=Links}} |
Latest revision as of 12:40, 23 March 2012
Internal Links
Links to other Wiki articles
Creating links to other Wiki Articles is easy: Just place double brackets around the term(s) you'd like to carry the link like this:
[[Test]]
And this is what it looks like:
Note that links to existing pages will appear blueish, while links to non-existing articles will appear in red.
Tip: You can also use the shortcut button to create internal links: Simply highlight the to-be-linked text and press this button: . It will automatically be surrounded by double brackets.
Links to anchors
If you just want a link to an anchor on the same page, put a # before the headline:
[[#See also]]
The result is this:
Links with alternative text
The above example doesn't look so good, does it? If you want to add an alternative text, use the following syntax:
[[#See also|Please see also]]
I bet you already know how this looks like:
Link to an anchor of a different article
Of course you can also link to anchors on other articles:
[[What's new in TDM 1.04#Changes / Features / Issues fixed|Changes in 1.04]]
becomes:
External Links
Links to other Web Pages
External links are even easier to create than internal links, just put the URL into your text like this:
http://www.thedarkmod.com
And this is what it looks like:
External Links with Description Text or Images
You can add a description to your link if you do it like this:
[http://www.thedarkmod.com The Dark Mod]
And this is what it looks like:
The URL of the linked page will go first, everything that is coming afterwards will be considered as description of the link. You can use spaces or whatever you like in your description, even images are allowed, for example:
[ImageURL ThumbnailURL]