Difference between revisions of "Help:Links"

From Twinsuniverse
Jump to: navigation, search
m (Linking to the Magicball Network)
 
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Help}}
+
{{Infobox Help}}We're able to create links inside articles, to either other articles or categories of the Twinsuniverse or to external sites. Linking is easy and very convenient, much more than with HTML.
  
The MediaWiki engine enables creating links inside the articles to either other articles, or to external sites. Linking is easy and very convenient, much more than with HTML.
+
==Twinsuniverse links==
 
+
==Internal links==
+
 
===Basic links===
 
===Basic links===
Internal links are links to other articles in the Twinsunica. To add a link to another article, simply put <nowiki>"[[" before the text, and "]]"</nowiki> after it.
+
Internal links are links to other articles in the Twinsuniverse. To add a link to another article, simply put <nowiki>"[[" before the text, and "]]"</nowiki> after it, or click on the [[Image:Insert-ilink.png]] button on the edit toolbar (see [[Help:Editing]]). Example:
 +
<nowiki>[[Twinsen]]</nowiki> &rarr; [[Twinsen]]
  
For example, <nowiki>[[Twinsen]]</nowiki> will result in [[Twinsen]].
+
Remember linking to internal pages like this is case sensitive, except for the first letter. So:
 +
<nowiki>[[Bob]]</nowiki> '''same page as''' <nowiki>[[bob]]</nowiki>
 +
<nowiki>[[Jerome Baldino]]</nowiki> '''different page as''' <nowiki>[[Jerome baldino]]</nowiki>
  
===The "pipe trick"===
+
However, we could set up a [[Help:Redirect|redirect page]] to accept different spellings.
And no, we don't mean the classic MBN joke... If you want to create a link to an article whose title does not appear directly in the article, you can do so with a method called, according to Wikipedia, the [http://en.wikipedia.org/wiki/Wikipedia:Pipe_trick Pipe trick]. To use this method, all you have to do is separate the title from the text, using the | character.
+
  
For example, "<nowiki>Twinsen is the hero of the [[Twinsun|planet]]</nowiki>", will result in "Twinsen is the hero of the [[Twinsun|planet]]".
+
===The Pipe Technique===
 +
If you want to create a link to an article with (possibly totally) different text than it's name, you can do so with a method called, according to Wikipedia, the [http://en.wikipedia.org/wiki/Wikipedia:Pipe_trick Pipe trick]. To use this method, all you have to do is separate the title from the text, using the | character. Example:
 +
<nowiki>Twinsen is the hero of the [[Twinsun|planet]]</nowiki> &rarr; Twinsen is the hero of the [[Twinsun|planet]]
  
To make it short, remember the following order: <nowiki>[[Article title|Text to appear in article]]</nowiki>.
+
Basically, remember the following order: <nowiki>[[Article title|Text to appear in article]]</nowiki>. This makes it possible to modify the link's text to better fit the context, or to make it better readable in it:
 +
<nowiki>[[Some page with a long name or something|click here]]</nowiki> &rarr; [[Some page with a long name or something|click here]]
  
 
===Linking to a specific section===
 
===Linking to a specific section===
Linking to a specific section is done using the # sign, separating the article title from the section title.
+
Linking to a specific section is done using the # sign, separating the article title from the section title. Example:
 +
<nowiki>[[School of Magic#Role in Twinsen's adventure]]</nowiki> &rarr; [[School of Magic#Role in Twinsen's adventure]]
  
For example, "<nowiki>[[School of Magic#Role in Twinsen's adventure]]</nowiki>" results in "[[School of Magic#Role in Twinsen's adventure]]".
+
Of cource you can use the | sign in this case as well. Example:
 +
<nowiki>[[School of Magic#Role in Twinsen's adventure|The role of the School of Magic]]</nowiki> &rarr; [[School of Magic#Role in Twinsen's adventure|The role of the School of Magic]]
  
You can use the | sign in this case as well. For example, <nowiki>[[School of Magic#Role in Twinsen's adventure|The role of the School of Magic in Twinsen's adventure]]</nowiki>, results in "[[School of Magic#Role in Twinsen's adventure|The role of the School of Magic in Twinsen's adventure]]".
+
To only link to a specific section inside the same article, just use a # sign and the section's title as the target. Example:
 +
<nowiki>[[#Basic links]]</nowiki> &rarr; [[#Basic links]]
  
To link to a specific section inside the article, just put a # sign and the section title. For example, "<nowiki>[[#Basic links]]</nowiki>" will result in "[[#Basic links]]".
+
===Category links===
 +
Normally, [[Help:Categories|creating a category link]] on a page, adds your page to the category. Example:
 +
<nowiki>[[Category:Twinsun]]</nowiki>
 +
 
 +
But sometimes you'd want to create a link without actually adding the page to the category. To do this, you only need to add a colon (:) before the word "Category", like this:
 +
<nowiki>[[:Category:Twinsun]]</nowiki> &rarr; [[:Category:Twinsun]]
 +
 
 +
In this case the category link works just like any other basic link. So the pipe trick works as well:
 +
<nowiki>[[:Category:Twinsun|Planet]]</nowiki> &rarr; [[:Category:Twinsun|Planet]]
  
 
==External links==
 
==External links==
To automatically create an external link, you can click on the [[Image:Button extlink.png]] button on the edit toolbar (see [[Help:Editing]]), and change the dummy text with your choice. To manually create a link, use the following method:
+
To automatically create an external link, you can click on the [[Image:Insert-xlink.png]] button on the edit toolbar (see [[Help:Editing]]), and change the dummy text with your choice. To manually create a link, simply insert the URL:
:<nowiki>[http://www.example.com Text to appear in article]</nowiki>
+
:<nowiki>http://www.example.com</nowiki> &rarr; http://www.example.com
This results in [http://www.example.com Text to appear in article].
+
  
If you only wish to give the URL, without any additional text, all you have to do is write in the address- http://www.example.com . You don't even need the square brackets sign.
+
If you add it between single brackets, it becomes automatically numbered instead:
 +
:<nowiki>[http://www.example.com]</nowiki> &rarr; [http://www.example.com]
 +
:<nowiki>[http://www.example.com]</nowiki> &rarr; [http://www.example.com]
 +
:<nowiki>[http://www.example.com]</nowiki> &rarr; [http://www.example.com]
  
==Linking to the Magicball Network==
+
To get a custom text on the link, you use the pipe-trick again. But with external links you separate the URL from the text by a space:
For quick linking to the [http://www.magicball.net/forum Magicball Network Forums], there are two easy to use templates: [[Template:Thread|Thread]] and [[Template:Post|Post]]. Preferably, use those two when linking to the forum. If the address of the MBN ever changes, we can simply change the template, and all links will be changed accordingly.
+
:<nowiki>[http://www.example.com Some external Link]</nowiki> &rarr; [http://www.example.com Some external Link].
  
[[Category:Twinsunica - Help|Links]]
+
==Linking to the Magicball Network==
 +
For quick linking to the [http://www.magicball.net/forum Magicball Network Forums], there are two easy to use templates, [[Template:Thread]] and [[Template:Post]]. Preferably, use those two when linking to the forum. If the address of the MBN ever changes, we'd only need to change the template and all links will be automatically changed accordingly.

Latest revision as of 00:39, 29 December 2012

Help Contents
We're able to create links inside articles, to either other articles or categories of the Twinsuniverse or to external sites. Linking is easy and very convenient, much more than with HTML.

Twinsuniverse links

Basic links

Internal links are links to other articles in the Twinsuniverse. To add a link to another article, simply put "[[" before the text, and "]]" after it, or click on the Insert-ilink.png button on the edit toolbar (see Help:Editing). Example:

[[Twinsen]] → Twinsen

Remember linking to internal pages like this is case sensitive, except for the first letter. So:

[[Bob]] same page as [[bob]]
[[Jerome Baldino]] different page as [[Jerome baldino]]

However, we could set up a redirect page to accept different spellings.

The Pipe Technique

If you want to create a link to an article with (possibly totally) different text than it's name, you can do so with a method called, according to Wikipedia, the Pipe trick. To use this method, all you have to do is separate the title from the text, using the | character. Example:

Twinsen is the hero of the [[Twinsun|planet]] → Twinsen is the hero of the planet

Basically, remember the following order: [[Article title|Text to appear in article]]. This makes it possible to modify the link's text to better fit the context, or to make it better readable in it:

[[Some page with a long name or something|click here]] → click here

Linking to a specific section

Linking to a specific section is done using the # sign, separating the article title from the section title. Example:

[[School of Magic#Role in Twinsen's adventure]] → School of Magic#Role in Twinsen's adventure

Of cource you can use the | sign in this case as well. Example:

[[School of Magic#Role in Twinsen's adventure|The role of the School of Magic]] → The role of the School of Magic

To only link to a specific section inside the same article, just use a # sign and the section's title as the target. Example:

[[#Basic links]] → #Basic links

Category links

Normally, creating a category link on a page, adds your page to the category. Example:

[[Category:Twinsun]]

But sometimes you'd want to create a link without actually adding the page to the category. To do this, you only need to add a colon (:) before the word "Category", like this:

[[:Category:Twinsun]] → Category:Twinsun

In this case the category link works just like any other basic link. So the pipe trick works as well:

[[:Category:Twinsun|Planet]] → Planet

External links

To automatically create an external link, you can click on the Insert-xlink.png button on the edit toolbar (see Help:Editing), and change the dummy text with your choice. To manually create a link, simply insert the URL:

http://www.example.com → http://www.example.com

If you add it between single brackets, it becomes automatically numbered instead:

[http://www.example.com] → [1]
[http://www.example.com] → [2]
[http://www.example.com] → [3]

To get a custom text on the link, you use the pipe-trick again. But with external links you separate the URL from the text by a space:

[http://www.example.com Some external Link] → Some external Link.

Linking to the Magicball Network

For quick linking to the Magicball Network Forums, there are two easy to use templates, Template:Thread and Template:Post. Preferably, use those two when linking to the forum. If the address of the MBN ever changes, we'd only need to change the template and all links will be automatically changed accordingly.