DJBWiki:Tutorial (Wiki links): Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(import from google cache)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table style="background:transparent"><tr>
{{Help contents back}}
<td> [[Help:Contents|<img alt="" src="/code/images/thumb/8/8e/1leftarrow.png/16px-1leftarrow.png" width="16" height="16" border="0">]]
{{Template:TabsTop}}
</td>
{{Template:Tab2|[[DJBWiki:Tutorial|Front&nbsp;page]]}}
<td> <big>[[Help:Contents]]</big>
{{Template:Tab2|[[DJBWiki:Tutorial (Editing)|Editing]]}}
</td>
{{Template:Tab2|[[DJBWiki:Tutorial (Formatting)|Formatting]]}}
</tr></table>
{{Template:Tab1|[[DJBWiki:Tutorial (Wiki links)|Wiki&nbsp;links]]}}
<table style="text-align:center; padding: 0" width="100%" cellspacing="0" cellpadding="0" border="0"><tr>
{{Template:Tab2|[[DJBWiki:Tutorial (External links)|External&nbsp;links]]}}
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial|Front page]]</div>
{{Template:Tab2|[[DJBWiki:Tutorial (Talk pages)|Talk&nbsp;pages]]}}
</td>
{{Template:Tab2|[[DJBWiki:Tutorial (Keep in mind)|Keep&nbsp;in&nbsp;mind]]}}
<td style="border-bottom:2px solid #236066" width="3"> 
{{Template:Tab2|[[DJBWiki:Tutorial (Registration)|Registration]]}}
</td>
{{Template:Tab2|[[DJBWiki:Tutorial (Wrap-up and more info)|Wrap-up]]}}
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (Editing)|Editing]]</div>
{{Template:TabsBottom}}
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (Formatting)|Formatting]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td style="padding:0; background-color: #236066; line-height:0.95em; font-weight:bold;" valign="top" width="20"> <span class="content-bg rtop" style="background: #000000"><span class="r1" style="background: #236066"></span><span class="r2" style="background: #236066"></span><span class="r3" style="background: #236066"></span><span class="r4" style="background: #236066"></span></span> <div style="padding: 0.5em">[[Wiki links]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3">  
</td>
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (External links)|External links]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (Talk pages)|Talk pages]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (Keep in mind)|Keep in mind]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (Registration)|Registration]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td valign="top" style="border-bottom:2px solid #236066; background-color:#4d4e52; font-size:90%; line-height:0.95em; margin: 0; padding: 0" width="20"> <span class="content-bg rtop" style="background: #236066"><span class="r1" style="background: #4d4e52"></span><span class="r2" style="background: #4d4e52"></span><span class="r3" style="background: #4d4e52"></span><span class="r4" style="background: #4d4e52"></span></span> <div style="padding: 0.5em">[[DJBWiki:Tutorial (Wrap-up and more info)|Wrap-up]]</div>
</td>
<td style="border-bottom:2px solid #236066" width="3"> 
</td>
<td style="border-bottom:2px solid #236066" width="3000">  
</td>
</tr></table>
<div style="border:2px solid #236066; padding:0.5em 1em 1em 1em; border-top:none; background-color:#000; color:#fff">
<div style="border:2px solid #236066; padding:0.5em 1em 1em 1em; border-top:none; background-color:#000; color:#fff">
'''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:


<dl><dd>
<dl><dd>
<tt>[[Dark Brotherhood]]</tt>
<tt><nowiki>[[Dark Brotherhood]]</nowiki></tt>
</dd></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>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>
<dl><dd>
<tt>[[Astronicus Aurelius Sadow|Tron]]</tt>
<tt><nowiki>[[Astronicus Aurelius Sadow|Tron]]</nowiki></tt>
</dd></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.
</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.  
 
There are also [[Category:Disambiguation]] 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.




Line 76: Line 37:


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:


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


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


<dl><dd>[[Category:DJB Characters]]
'''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.
</dd></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.





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.