Steelviper (talk | contribs) →Experiment: fixed sandbox link |
No edit summary |
||
Line 1: | Line 1: | ||
{{Project|Tutorial|image=BSG WIKI Tutorial.png|shortcut=BW:T<br/>BW:TUT}} | |||
{{tutorial}} | {{tutorial}} | ||
__NOTOC__ | |||
'''Links''' are important in '"Battlestar Wiki'' articles. | |||
== | == Internal links == | ||
One of the things that makes Mediawiki useful (and addictive) is extensive cross-listing by [[Wikipedia:Wikipedia:internal links|internal links]]. These easily-created links allow users to access information related to the article they're reading. | |||
=== | === When to link === | ||
The easiest way to learn when to link is to look at ''Battlestar Wiki'' articles for examples. If you're trying to decide whether to make a link or not, ask yourself "If I were reading this article, would the link be useful to me?" | |||
=== How to link === | |||
:<tt><nowiki>[[ | When you want to make a link to another ''Battlestar Wiki'' page (called a <em>wiki link</em>) you have to put it in double square brackets, like this: | ||
:<tt><nowiki>[[Battelstar Wiki:Sandbox]]</nowiki></tt> | |||
For example, if you want to make a link to, say, the ''Battlestar Wiki:Sandbox'' page, it would be: | |||
:<tt><nowiki>[[Battlestar Wiki:Contributing to Wikipedia]]</nowiki></tt> | |||
(The 'Battlestar Wiki:' part signifies that the target page is in the ''Battlestar Wiki'' [[Wikipedia:Wikipedia:namespace|namespace]], rather than the Main namespace, where normal articles go.) | |||
Also remember that in ''Battlestar Wiki'' the links are created automatically, | |||
so if you put double square brackets around a word, it becomes a link, and because of that you have to be careful about [[Wikipedia:Wikipedia:Disambiguation|disambiguation]]. | |||
For example, if you wanted to make a link to this page's sandbox, but wanted it to say "my text" you would write it as such: | If you want to use words other than the article title as the text of the link, you can add an alternative name by adding after the pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards). For example, if you wanted to make a link to this page's sandbox, but wanted it to say "my text" you would write it as such: | ||
:<tt>To view the article, <nowiki>[[Battlestar Wiki: | :<tt>To view the article, <nowiki>[[Battlestar Wiki:Sandbox|my text]]</nowiki>...</tt> | ||
It would appear as: | It would appear as: | ||
:To view the article, [[ | :To view the article, [[Battlestar Wiki:Sandbox|my text]]... | ||
...but would link to the sandbox. | |||
but would link to the sandbox. | |||
===Alternate endings=== | === Alternate endings === | ||
When you want to use the plural of an article title (or add any other suffix) for your link, you can add the extra letters directly outside the double square brackets. | When you want to use the plural of an article title (or add any other suffix) for your link, you can add the extra letters directly outside the double square brackets. | ||
For example, you would write: | For example, you would write: | ||
:<tt>Colonial craft such as <nowiki>[[raptor]]s</nowiki>....</tt> | :<tt>Colonial craft such as <nowiki>[[raptor]]s</nowiki>....</tt> | ||
:<tt>Various <nowiki>[[centurion]]s</nowiki>...</tt> | :<tt>Various <nowiki>[[centurion]]s</nowiki>...</tt> | ||
It would appear as: | It would appear as: | ||
:Colonial craft such as [[raptor]]s.... | :Colonial craft such as [[raptor]]s.... | ||
:Various [[centurion]]s... | :Various [[centurion]]s... | ||
== Categories == | |||
==Categories== | |||
You can also put the article in a category with others in a related topic. Just type <nowiki>[[Category:]]</nowiki>, and put the name of the category between the colon and the brackets. For more information, refer to the [[Wikipedia:Wikipedia:Categories|Categories]] page. | You can also put the article in a category with others in a related topic. Just type <nowiki>[[Category:]]</nowiki>, and put the name of the category between the colon and the brackets. For more information, refer to the [[Wikipedia:Wikipedia:Categories|Categories]] page. | ||
= | {{start box}} | ||
{{next box|before=[[Battlestar Wiki:Tutorial (Formatting)|Formatting]]|title=Wikipedia links|after=[[Battlestar Wiki:Tutorial (Related site links)|Related site links]]}} | |||
{{end box}} | |||
[[Battlestar Wiki:Tutorial (Related site links)| | |||
[[Category:Wikipedia tutorial|*3]] | [[Category:Wikipedia tutorial|*3]] |
Revision as of 19:24, 30 August 2006
| |||||
Battlestar Wiki Tutorial |
Tutorial chapters... |
See also... |
Help page |
Goto Sandbox |
Links are important in '"Battlestar Wiki articles.
Internal links
One of the things that makes Mediawiki useful (and addictive) is extensive cross-listing by internal links. These easily-created links allow users to access information related to the article they're reading.
When to link
The easiest way to learn when to link is to look at Battlestar Wiki articles for examples. If you're trying to decide whether to make a link or not, ask yourself "If I were reading this article, would the link be useful to me?"
How to link
When you want to make a link to another Battlestar Wiki page (called a wiki link) you have to put it in double square brackets, like this:
- [[Battelstar Wiki:Sandbox]]
For example, if you want to make a link to, say, the Battlestar Wiki:Sandbox page, it would be:
- [[Battlestar Wiki:Contributing to Wikipedia]]
(The 'Battlestar Wiki:' part signifies that the target page is in the Battlestar Wiki namespace, rather than the Main namespace, where normal articles go.)
Also remember that in Battlestar Wiki the links are created automatically, so if you put double square brackets around a word, it becomes a link, and because of that you have to be careful about disambiguation.
If you want to use words other than the article title as the text of the link, you can add an alternative name by adding after the pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards). For example, if you wanted to make a link to this page's sandbox, but wanted it to say "my text" you would write it as such:
- To view the article, [[Battlestar Wiki:Sandbox|my text]]...
It would appear as:
- To view the article, my text...
...but would link to the sandbox.
Alternate endings
When you want to use the plural of an article title (or add any other suffix) for your link, you can add the extra letters directly outside the double square brackets.
For example, you would write:
- Colonial craft such as [[raptor]]s....
- Various [[centurion]]s...
It would appear as:
- Colonial craft such as raptors....
- Various centurions...
Categories
You can also put the article in a category with others in a related topic. Just type [[Category:]], and put the name of the category between the colon and the brackets. For more information, refer to the Categories page.