DJBWiki:Tutorial (Wiki links): Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (Created page with '{{Help contents back}} {{Template:TabsTop}} {{Template:Tab2|Front page}} {{Template:Tab2|Editing}} {{Template:Tab2|[[DJBW...')
 
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 14: Line 14:
'''Linking''' DJBWiki articles together is very important. These easily-created links allow users to access information related to the article they're reading and greatly add to DJBWiki's utility.
'''Linking''' DJBWiki articles together is very important. These easily-created links allow users to access information related to the article they're reading and greatly add to DJBWiki's utility.


==When to link==
 
== When to link ==
The easiest way to learn when to link is to look at DJBWiki 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?"
The easiest way to learn when to link is to look at DJBWiki 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==
 
== How to link ==
When you want to make a link to another DJBWiki page (called a ''wiki link'') you have to put it in double square brackets, like this:
When you want to make a link to another DJBWiki page (called a ''wiki link'') you have to put it in double square brackets, like this:
:<tt><nowiki>[[Dark Brotherhood]]</nowiki></tt>


If you want the display text of the link to have a different title, you can do so by adding the [http://en.wikipedia.org/wiki/Piped_link pipe] "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards) followed by the alternative name. For example:
<dl><dd>
:<tt><nowiki>[[Astronicus Aurelius Sadow|Tron]]</nowiki></tt>
<tt><nowiki>[[Dark Brotherhood]]</nowiki></tt>
</dl>If you want the display text of the link to have a different title, you can do so by adding the [http://en.wikipedia.org/wiki/Piped_link pipe] "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards) followed by the alternative name. For example:
 
<dl><dd>
<tt><nowiki>[[Astronicus Aurelius Sadow|Tron]]</nowiki></tt>
</dl>Please check your links to ensure they point to the correct article. For example, [[Tarentum]] points to the article about the clan in general, while [[Tarentum Prospectus]] is the title of the article containing in-depth information about the clan's government and military.


Please check your links to ensure they point to the correct article. For example, [[Clan Tarentum]] points to the article about the clan in general, while [[Clan Tarentum Prospectus]] is the title of the article containing in-depth information about the clan's government and military.  
There are also [[:Category:Disambiguation|disambiguation pages]]; these are not articles, but pages which contain links to articles with similar titles.


There are also [[:Category:Disambiguation|"disambiguation" pages]] these are not articles, but pages which contain links to articles with similar titles.


==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.
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.


To make a link to a Category page (for example, as a reference for further research), simply put a colon (''':''') at the beginning of the "Category" tag, like this:
To make a link to a Category page (for example, as a reference for further research), simply put a colon (''':''') at the beginning of the "Category" tag, like this:


:<tt><nowiki>[[:Category:DJB Characters]]</nowiki></tt>
<dl><dd>
 
<tt><nowiki>[[:Category:Planets]]</nowiki></tt></dl>
The above code would produce the following:
The above code would produce the following:


:[[:Category:DJB Characters]]
<dl><dd>[[:Category:Planets]]</dl>


'''It is very important to put articles in the correct categories so that other people can easily find your work.''' The best way to find which categories to put in is to look at pages on similar subjects, and check which categories they use. For example if you write an article about a star ship, you may look at an article on another type of star ship to see which categories could be appropriate.
'''It is very important to put articles in the correct categories so that other people can easily find your work.''' The best way to find which categories to put in is to look at pages on similar subjects, and check which categories they use. For example if you write an article about a star ship, you may look at an article on another type of star ship to see which categories could be appropriate.


<div style="float:right; margin-top: 0.0em; margin-bottom:3px; background-color: #4d4e52; padding: .2em .6em; font-size: 130%; border:2px solid #236066;">'''Next:''' '''[[DJBWiki:Tutorial (External links)|Let's learn about External links]]''' <span style="font-size: larger; font-weight: bold;">→</span>
<div style="float:right; margin-top: 0.0em; margin-bottom:3px; background-color: #4d4e52; padding: .2em .6em; font-size: 130%; border:2px solid #236066;">'''Next:''' '''[[DJBWiki:Tutorial (External links)|Let's learn about External links]]''' <span style="font-size: larger; font-weight: bold;">→</span>
<div style="clear:both"></div>
<div style="clear:both"></div>
</div>
</div>
</div>
[[Category:DJB Tutorial]]
[[Category:DJB Tutorial]]

Latest revision as of 03:58, 22 July 2016

Help:Contents
                   

Linking DJBWiki articles together is very important. These easily-created links allow users to access information related to the article they're reading and greatly add to DJBWiki's utility.


When to link

The easiest way to learn when to link is to look at DJBWiki 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 DJBWiki page (called a wiki link) you have to put it in double square brackets, like this:

[[Dark Brotherhood]]
If you want the display text of the link to have a different title, you can do so by adding the pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards) followed by the alternative name. For example:
[[Astronicus Aurelius Sadow|Tron]]
Please check your links to ensure they point to the correct article. For example, Tarentum points to the article about the clan in general, while Tarentum Prospectus is the title of the article containing in-depth information about the clan's government and military.

There are also disambiguation pages; these are not articles, but pages which contain links to articles with similar titles.


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.

To make a link to a Category page (for example, as a reference for further research), simply put a colon (:) at the beginning of the "Category" tag, like this:

[[:Category:Planets]]

The above code would produce the following:

Category:Planets

It is very important to put articles in the correct categories so that other people can easily find your work. The best way to find which categories to put in is to look at pages on similar subjects, and check which categories they use. For example if you write an article about a star ship, you may look at an article on another type of star ship to see which categories could be appropriate.