Help:Editing: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Much of the Tardis-written text of this page previously existed at our version of Help:Wiki markup. separating it out so that it's not a long page of our text, followed by a long wall of Fandom text.)
Tag: sourceedit
Line 1: Line 1:
{{mosnav|p=Editing|c=Editing policies}}
{{mosnav|p=Editing|c=Editing policies}}
{{sc|T:EDIT}}
{{moss|Here you'll find a fairly complete guide to using wikitext at Tardis. Unlike [[help|Wiki markup|the standard Fandom help page on the subject]], this one gives examples relevant to editing here at Tardis.}}
{{lock}}''' [[Doctor Who Wiki|Tardis]]''' is a {{w|wiki}}, which means that anyone can easily edit any unprotected article and have those changes posted immediately to that page.
{{shortcut|T:MARK}}'''Wikitext''' is the standard "language" for editing pages at Tardis, and, more broadly, across the Fandom network. It's designed to be as simple as possible so that an article may be quickly typed ''and'' styled without having to take a break to type out long HTML codes.  The goal is to make it as easy as possible to channel your thoughts into writing the perfect article (or even a not-so-perfect one).


Editing a wiki page is very easy. Simply click on the '''"edit" tab''' at the top of a Wiki page. This will bring you to a page with a text box containing the editable text of that page.  
== Text formatting ==
'''If you just want to experiment, please do so in the [[Tardis:Sandbox|sandbox]], not here or any other pages.'''
Creating italicized or bold text is the simplest rule — simply use the apostrophe character in groups of two or three to create the style. (Be sure to use the "straight" apostrophe and not the curved "smart quote" characters used in some text editors and word processors!)
You should write a short [[Tardis:Edit summary|edit summary]] in the small field above the edit-box. When you've finished, click ''''"Preview"''' to see how your changes will look. If you're happy with what you see, then press '''"Save"''' and your changes will be immediately applied to the article.


You can also click on the '''"Talk"''' tab to see the corresponding talk page, which contains [[Tardis:Discussion policy|discussions]] about about the editing of the page.
{| class="grey" style="margin: auto;"
|-
! What you type
! What you see
|-
| <tt><nowiki>''italicized text''</nowiki></tt>
| ''italicized text''
|-
| <tt><nowiki>'''bold text'''</nowiki></tt>
| '''bold text'''
|-
| <tt><nowiki>'''''italicized and bold text'''''</nowiki></tt>
| '''''italicized and bold text'''''
|}


== Editorial perspective ==
To create a tabbed list or a block of text using a monospace font, start the line with a space(Be sure not to make the line too long, or it will stretch the page horizontally!)  Text can also be indented using the colon character.
* Maintain our [[Tardis:Point of view|point of view]] and present information from a neutral perspective.   
* '''In-universe articles''' are always written from a past tense point of view.
* '''Real world articles''' should also be from a past tense point of view, to keep them "evergreen".  


=== Citing sources ===
{| class="grey" style="margin: auto;"
:''See the [[T:CITE|Tardis Manual – Citation]] for more information.''
|-
'''Cite your sources''' so others can check and extend your work.
! What you type
:* '''In-universe article''' are narrative sources ie TV, audio, comic, webcast and short stories are placed after the work it is sourced from in brackets; for example: Susan listens to [[John Smith and the Common Men]] whilst waiting for Barbara and Ian. ([[TV]]: ''[[An Unearthly Child]]'').
! What you see
|-
|
<nowiki> Preformatted text</nowiki>
|
Preformatted text
|-
| <nowiki>: Indented text</nowiki>
|
: Indented text
|}


:* '''Out-of-universe article''' sources should be cited via [[Wikipedia:Wikipedia:Footnotes|Footnotes]], by placed <nowiki><ref></nowiki>&<nowiki></ref></nowiki> around the source and placing a <nowiki>==Footnotes==</nowiki> and below this <nowiki>{{reflist}}</nowiki> which will create a list of the notes made throughout the article.
== Lists ==
{{shortcut|T:LIST MARK}}
Both unordered and numbered lists are simple to create as well: simply use the asterisk or hash characters at the beginning of a line to create the entry.  To create nested lists, simply add an extra asterisk or hash to the front of the line.  You can even mix and match the kinds of list in a single group!


=== After major editing or creating a new page ===
{| class="grey" style="margin: auto;"
Preview the page to see what your edit will look like when published.
|-
! What you type
! What you see
|-
| <tt><nowiki>*</nowiki> Item One<br /><nowiki>*</nowiki> Item Two</tt>
|
* Item One
* Item Two
|-
| <tt><nowiki>#</nowiki> Item One<br /><nowiki>#</nowiki> Item Two</tt>
|
# Item One
# Item Two
|-
| <tt><nowiki>*</nowiki> Item One<br /><nowiki>**</nowiki> Item Two</tt>
|
* Item One
** Item Two
|-
| <tt><nowiki>*</nowiki> Item One<br /><nowiki>*#</nowiki> Item Two</tt>
|
* Item One
*# Item Two
|-
| <tt><nowiki>; term : definition</nowiki></tt>
|
; term : definition
|}


After it is published use the bar at the bottom of the page under "My Tools" to check "What Links Here" to check the articles that already link to it, and make sure that they are all expecting the same meaning that you have supplied.
== Links and URLs ==
*Use the Search field to search TARDIS Index File for your topic title (and possible variants), to find articles that mention it, and make links from them if appropriate.
{{sc|T:URL}}
In a wiki, it's important to help build the web by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Tardis Data Core articles:


==Edit summaries==
{| class="grey" style="margin: auto;"
Leaving behind an [[Tardis:Edit summary|edit summary]] helps your fellow editors understand what you've been trying to accomplish. Edit summaries therefore typically defuse tensions between editors, and make it easier to collaborate.  
|-
! What you type
! What you see
|-
| <tt><nowiki>[[TARDIS information system]]</nowiki></tt>
| [[TARDIS information system]]
|-
| <tt><nowiki>[[SS Bernice|SS ''Bernice'']]</nowiki></tt>
| [[SS Bernice|SS ''Bernice'']]
|-
| <tt><nowiki>[[This article doesn't exist]]</nowiki></tt>
| [[This article doesn't exist]]
|-
| <tt><nowiki>[[Tardis:Policies and Guidelines]]</nowiki></tt>
| [[Tardis:Policies and Guidelines]]
|-
| <tt><nowiki>[[Tardis:Policies and Guidelines|Policies and Guidelines]]</nowiki></tt>
| [[Tardis:Policies and Guidelines|Policies and Guidelines]]
|}
 
You can also make external links to other websites using the following formatting rules:
 
{| class="grey" style="margin: auto;"
|-
! What you type
! What you see
|-
| <tt><nowiki>[[Wikipedia:Doctor Who]]</nowiki></tt>
| [[Wikipedia:Doctor Who]]
|-
| <tt><nowiki>[[Wikipedia:Doctor Who|]]</nowiki></tt>
| [[Wikipedia:Doctor Who|Doctor Who]]
|-
| <tt><nowiki>http://tardis.wikia.com/</nowiki></tt>
| http://tardis.wikia.com/
|-
| <tt><nowiki>[http://tardis.wikia.com/]</nowiki></tt>
| [http://tardis.wikia.com/]
|-
| <tt><nowiki>[http://tardis.wikia.com/ TARDIS Index File]</nowiki></tt>
| [http://tardis.wikia.com/ TARDIS Index File]
|}
=== The "pipe trick" ===
{{sc|T:PIPE}}
One of the most helpful shortcuts one can learn in linking to articles is the so-called "pipe trick".  By placing a pipe (|) after certain strings of text, one can eliminate the need to type huge amounts of replacement text.  For example, if the name of an episode of ''[[Doctor Who]]'' is shared with a person, place or thing in the [[Doctor Who universe|DWU]], then it will be "disambiguated" with the parenthetical "(TV story)".  [[Castrovalva]] refers to the city, whereas [[Castrovalva (TV story)]] links to the page about the episode.  Generally, when writing a sentence about the TV story, one doesn't want "(TV story)" to appear in the body of text.  To get rid of it, one must enter some replacement text separated by the full article name by a pipe (|}.  The long way of doing that is:
{| class="grey" style="margin: auto;"
|-align="center"
! width="33%"|Code
! width="33%"|Notes
! width="33%"|Effect
|-align="center"
| <nowiki>[[Castrovalva (TV story)|Castrovalva]]</nowiki>|| Gets rid of '''(TV story)''' the long way||[[Castrovalva (TV story)|Castrovalva]]
|-align="center" style="background:#f0f0f0;"
| <nowiki>[[Castrovalva (TV story)|]]</nowiki>||The short-cut for the above||[[Castrovalva (TV story)|Castrovalva]]
|-align="center"
| <nowiki>[[Tardis:Manual of Style|Manual of Style]]</nowiki>||The long way to get rid of '''''Namespace:'''''|| [[Tardis:Manual of Style|Manual of Style]]
|-align="center" style="background:#f0f0f0;"
| <nowiki>[[Tardis:Manual of Style|]]</nowiki>||The short-cut for the above|| [[Tardis:Manual of Style|Manual of Style]]
|-align="center"
| <nowiki>''[[wikipedia:Life on Mars (TV story)|Life on Mars]]''</nowiki>||The long way to link to a Wikipedia article|| ''[[wikipedia:Life on Mars (TV series)|Life on Mars]]''
|-align="center" style="background:#f0f0f0;"
| <nowiki>''[[wikipedia:Life on Mars (TV series)|]]''</nowiki>||Pipe trick simultaneously truncates the back and front of the string||''[[wikipedia:Life on Mars (TV series)|Life on Mars]]''
|-align="center"
| <nowiki>[[w:c:bionic:Jaime Sommers (2007)|Jaime Sommers]]</nowiki> || Links to an article on another wiki (see Interwiki section)|| [[w:c:bionic:Jaime Sommers (2007)|Jaime Sommers]]
|-align="center" style="background:#f0f0f0;"
| <nowiki>[[w:c:bionic:Jaime Sommers (2007)|]]</nowiki>|| Pipe trick fails|| [[w:c:bionic:Jaime Sommers (2007)|c:bionic:Jaime Sommers]]
|-
|}
Note that the pipe trick won't be detectable if you edit this page and look at how this chart is set up.  It actually converts what you type into the long form, after you press "save page".
==== When you might not want to do the pipe trick ====
If the actual name of a thing includes a parenthetical, you wouldn't want to do a pipetrick.  For instance, the show ''Randall & Hopkirk (Deceased)'', which actually has several ''Doctor Who'' cast and crew connections, wouldn't be a good candidate for a pipe trick, because it would resolve to just ''Randall & Hopkirk'', which isn't the full name of the show.  So to get a proper Wikipedia link, you have to go the long way: '''<nowiki>[[wikipedia:Randall & Hopkirk (Deceased)|Randall & Hopkirk (Deceased)]]</nowiki>'''.
==== When the pipe trick doesn't work ====
There are instances when the pipe trick doesn't work, and you have to revert to the "long way".  The most common area in which it fails is when trying to make a link within a '''<nowiki><ref></nowiki>''' tag.  The other major area is when placed within using a variable within a parser function.  This last case is really of concern only to advanced users.
 
=== The "slash trick" ===
{{sc|T:SLASH}}
There are some pages here which have a number of subpages.  A subpage is a page that branches off of the page one is currently viewing.  If this page had a subpage about slash tricks, it would be in the format of [[Help:Wiki markup/Slash trick]].  This syntax, however, is how one would link to the subpage from any other page on the wiki.  '''On this page only''' the same link could be generated by typing
<pre>
[[/Slash trick]]
</pre>
When entered '''on this page''', the preceding slash stands in for [[Help:Wiki markup]].  However, the result of typing in <nowiki>[[/Slash trick]]</nowiki> is the rather ugly [[/Slash trick]], that includes the preceding slash.  If one wanted to create a link that appeared '''on this page''' as just [[Slash trick]], one could type:
<pre>
[[/Slash trick|Slash trick]]
</pre>
However, this can be simplified even further by typing:
<pre>
[[/Slash trick/]]
</pre>
This eliminates the preceding slash. 
==== When you might not want to do the slash trick ====
Generally, getting rid of preceding slashes is a great idea.  But there are occasionally times when the preceding slash might need to be retained.  A good example is [[Theory:Doctor Who television discontinuity and plot holes]] where the preceding slashes emphasize to the reader that a subpage was being linked to, rather than a page in the main article space with the same name.
 
A suggested guideline is that if the subpage has the same name as a proper article in mainspace, retain the slash for clarity.  Thus [[/The Chase]] versus [[The Chase]].
 
=== Interwiki link ===
{{sc|T:INTERWIKI}}
There are times when one might wish to link to another wikia. For example, if one wanted to link to [[Timothy Dalton]]'s page on the James Bond Wiki, one would use the following syntax:
<pre>
[[w:c:nameofwiki:articlename|articlename]]
 
or, for this specific case,
 
[[w:c:jamesbond:Timothy Dalton|Timothy Dalton]]
</pre>
Note that the pipe trick discussed above won't work as well on interwiki links because there are too many preceding colons.  A pipe trick does this to an interwiki link: [[w:c:jamesbond:Timothy Dalton|c:jamesbond:Timothy Dalton]], which is close, but not really close enough. Thus, to make a "clean" link to an article on another link, one has to type out the whole thing, with replacement text, as shown immediately above.
===== Non-English language link =====
A specialized form of the interwiki link is one in which you wish to direct users to the same page on one of our sister non-English ''Doctor Who'' wikis.  This type of link does not create an in-line link — that is, one you can see within the body of the text of an article — but rather makes a link in the "Languages" tab in the sidebar.  Such links are made by use of a two-letter language code.  For example, if you wanted to create a link to the French language  article on [[TARDIS]], you would type:
<pre>
[[fr:TARDIS]]
</pre>
at the bottom of the article.
 
Currently, we have the ability to link to the following languages: French (fr), Russian (ru), Bulgarian (bg), German (de) and Dutch (nl).  Note that there must be a corresponding article on the target website for the link to be created successfully.  Since use of this particular kind of interwiki link ''always'' produces a blue link, care must be exercised in its use, especially because it is not likely that an article on a non-English wiki will have the exact same name as its English counterpart.  For instance, there are currently no pages at [[TARDIS]] for the Bulgarian, German, and Dutch wikia; typing <nowiki>[[bg:TARDIS]]</nowiki> links to a create page.  Multilingual editors will be required to make these kind of links most successfully.
==== How to figure out the name of a wiki ====
{{sc|T:WIKI NAME}}
The real trick in performing interwiki links is knowing what is the true name of the wiki to which one is linking.  For instance, we call ourselves "TARDIS Index File Wiki", but our ''true'' name is "tardis".  Links to our article about Matt Smith from other wikias would be:
<pre>
[[w:c:tardis:Matt Smith|Matt Smith]]
</pre>
The key to finding the true name is to look at the URL address in one's browser window.  The name is almost always the word which precedes the word "wikia".  The URL to the ''Doctor Who'' page at Simpsons Wiki is http://simpsons.wikia.com/wiki/Doctor_Who.  This is the usual format for a wikia wiki.  Thus: [[w:c:simpsons:Doctor Who]] is how you link to that page from within an article here at our wiki.  Again, to clean it up a bit, you might type something like <nowiki>[[w:c:simpsons:Doctor Who|Doctor Who on ''The Simpsons'']]</nowiki>.  This syntax will work in most cases.  For instance, it works for linkage to all of our sister sites, thus:
* [[w:c:whospecialfeatures:Category:Easter egg]] links to the Easter Egg category at our sister site, Doctor Who Special Features Index
* [[w:c:doctor-who-collectors:Items released in 1994]] links to all DW merchandise released in 1994 at our sister site, the Doctor Who Collectors Wiki
* [[w:c:dwexpanded:Planet Skaro Audios]] links to the fan-made ''Planet Skaro Audios'' at our sister site, Doctor Who Expanded Wiki
* [[w:c:doctorwhofanon:Phoenix (Series 5)]] links to a fan-imagined series 5 which would have starred [[David Tennant]] instead of [[Matt Smith]] at our sister site, Doctor Who Fanon
 
Unfortunately, this isn't completely universal.  Depending on the wiki's relationship to the wikia family of wikis, it might not be so straightforward.  A prime example is [[w:c:memoryalpha:Main Page|Memory Alpha, the main Star Trek Wiki]].  The actual URL of its ''Doctor Who'' page is: http://memory-alpha.org/en/wiki/Doctor_Who.  This is immediately confusing, because there's no reference to wikia at all in the URL.  However, linkage to this page can still be achieved within an article here at this wiki. It is accomplished by [[w:c:memoryalpha:Doctor Who]].  In cases where the wiki URLs don't have the "wikia.com", you will have to search through that wiki's help files to find an article that tells you how to perform an interwiki link.  Or you might have to ask an admin there for help.  You can also try consulting [[Wikia:Help:Interwiki link|the Interwiki link page at Wikia Central]].
 
==== Even easier linking to "big" wikis ====
Some bigger wikis are even easier to link to. For some wikis, linkage is exactly like Wikipedia linkage.
* [[wikipedia:Julian Glover]]
* [[starwars:Julian Glover]]
* [[memoryalpha:Doctor Who]]
To test whether the wiki is big enough to have its own prefix, enter '''wikiname:articlename''' in our search box on the top left of this page.  If it takes you to the appropriate page, then you can use that syntax in a link.  If it just creates a search error, then you have to use the '''w:c:wikiname:articlename''' syntax.
 
Note that if you want to link to a '''section''' of an article on another '''''Wikia''''' wiki, you must type out the long form of the link.
<div id=inline-box-rt style="font-style:normal">This isn't true of Wikipedia linkage. <code>[[wikipedia:Spock#Reception]]</code> takes you directly to the "Reception" section of Wikipedia's Spock article.</div>
*<code>[[memoryalpha:Spock]]</code> takes you to MemAlpha's Spock article
*<code>[[memoryalpha:Spock#Childhood]]</code> takes you to MemAlpha's Spock article, '''but''' it disregards everything after "Spock"
*<code>[[w:c:memoryalpha:Spock#Childhood]]</code> takes you to the "Childhood" section of MemAlpha's Spock article.
 
==== Beware the false blue link ====
{{sc|T:FALSE BLUE}}
Note that interwiki linking, whether by using a special prefix like <nowiki>[[wikipedia:articlename]] or the standard [[w:c:wikiname:articlename]] syntax</nowiki>, almost '''always''' produces a blue link.  You must, therefore, go back and click the link you've made to ensure that it actually links properly.  Just to illustrate, here are some obviously ridiculous page names that nevertheless appear to be valid links:
 
* [[wikipedia:adlfkjadfj3oiujeqwrjidaf2234232adlfkj]]
* [[w:c:jamesbond:No, Mr. Dalton, I expect you to become Rassilon]]
* [[memoryalpha:Logic insists that the Eighth Doctor was half-Vulcan]]
* [[w:c:ICompletelyMadeThisWikiNameUp:but I still get a blue link]]
 
== Sections ==
=== The usual way ===
If an article is long enough, you can divide the page into different sections.  The TARDIS Index File will automatically generate a table of contents based on the content for all articles with more than three sections.
 
You can also create a horizontal divider by using four dashes in a row.
 
{| class="grey" style="margin: auto;"
|-
! What you type
! What you see
|-
| <tt><nowiki>== Header Two ==</nowiki></tt>
| style="font-size: 112.5%" | Header Two
|-
| <tt><nowiki>=== Header Three ===</nowiki></tt>
| style="font-size: 106.25%; font-weight: bold" | Header Three
|-
| <tt><nowiki>==== Header Four ====</nowiki></tt>
| style="font-size: 103.125%; font-weight: bold" | Header Four
|-
| <tt><nowiki>----</nowiki></tt>
|
----
|}
=== Another approach to headers ===
The above method doesn't just generate a header.  It also automatically creates a little edit link beside the header, allowing the user to edit just that section.  But there are times when one may wish to have a sectional header that isn't editable. This is particularly true in templates which generate a lot of text that need to be sectionalized for greater understanding.  To achieve section heads which don't produce an edit link, use the following simple code:
<pre>
<hx>Header</hx>, where x stands for the number of equal signs (=) you want.
 
For example,
 
<h3>Header</h3>
 
is the edit-link-less version of
 
===Header===
</pre>
 
== Images and other media ==
:'''See:''' [[Help: Image markup]]
 
== Tables ==
:'''See:''' [[Tardis:Tables]]
 
== Mathematical formulae ==
:'''See:''' [[Help:Math]]
 
== Templates ==
A template is a pre-defined bit of coding that places the same text across multiple pages.  It can be as simple as a little system message, such as [[:Template:Current]] to a fairly complicated bit of coding that automatically calculates dates based upon the name of an article, like [[:Template:Timeline]].
 
One of the types of template you will most come into contact with here on tardis is the "infobox" template.  These save you a great deal of repetitive typing of similar information, such as is found on television story or novel pages. Just go to the [[Tardis:Templates|Templates page]] and scan down the list for the ones you need. Put <nowiki>{{template}}</nowiki> in your edit, replacing "template" with the name of the specific one you are using, such "Infobox CD". For infoboxes, you will need to fill in the variables accepted by the template, such as director, writer, or broadcast date.
 
The actual writing of templates is a complicated subject, beyond the scope of this article.
 
:'''See also:''' [[Help:Template]]
 
=== Magic words ===
Beyond the templates that we have created are templates that are inherent in the MediaWiki software.  These are not fully listed anywhere on this wiki, and do not appear in [[:Category:Templates]].  A good place to start one's understanding of these type of templates is at [[Wikipedia:Help:Magic words]]. 
 
They are called "magic" because they do things with one simple word that conceals rather a lot of complicated coding. Most editors of wikis, even those very experienced with template coding, don't really understand the underlying code that makes them work.  Hence, as was once remarked in ''[[Battlefield (TV story)|Battlefield]]'', any sufficiently advanced technology is indistinguishable from magic.
 
Magic words include things like <nowiki>{{PAGENAME}}</nowiki>, which returns the name of the page you're on; <nowiki>{{CURRENTDAY}}</nowiki>, which tells you the current day; <nowiki>__NOTOC__</nowiki>, which strips a page of its table of contents; <nowiki>{{#ifeq|}}</nowiki>, which compares two strings, and then takes action depending on whether they match; and <nowiki>{{DEFAULTSORT}}</nowiki>, which automatically forces an article to sort in a category in a certain way.
 
If you'd like more details, please see [[Help:Magic words]].
 
== Suppressing markup ==
It's also possible to tell MediaWiki to ''ignore'' any of the above rules using a simple tag:
 
{| class="grey" style="margin: auto;"
|-
! What you type
! What you see
|-
| <tt><nowiki>&lt;nowiki&gt;'''text here'''&lt;/nowiki&gt;</nowiki></tt>
| <nowiki>'''text here'''</nowiki>
|}
 
[[Category:The Hub]]
[[Category:Help]]
[[Category:Help]]

Revision as of 02:49, 17 May 2017

Here you'll find a fairly complete guide to using wikitext at Tardis. Unlike Wiki markup|the standard Fandom help page on the subject, this one gives examples relevant to editing here at Tardis.

Wikitext is the standard "language" for editing pages at Tardis, and, more broadly, across the Fandom network. It's designed to be as simple as possible so that an article may be quickly typed and styled without having to take a break to type out long HTML codes. The goal is to make it as easy as possible to channel your thoughts into writing the perfect article (or even a not-so-perfect one).

Text formatting

Creating italicized or bold text is the simplest rule — simply use the apostrophe character in groups of two or three to create the style. (Be sure to use the "straight" apostrophe and not the curved "smart quote" characters used in some text editors and word processors!)

What you type What you see
''italicized text'' italicized text
'''bold text''' bold text
'''''italicized and bold text''''' italicized and bold text

To create a tabbed list or a block of text using a monospace font, start the line with a space. (Be sure not to make the line too long, or it will stretch the page horizontally!) Text can also be indented using the colon character.

What you type What you see

Preformatted text

Preformatted text
: Indented text
Indented text

Lists

Both unordered and numbered lists are simple to create as well: simply use the asterisk or hash characters at the beginning of a line to create the entry. To create nested lists, simply add an extra asterisk or hash to the front of the line. You can even mix and match the kinds of list in a single group!

What you type What you see
* Item One
* Item Two
  • Item One
  • Item Two
# Item One
# Item Two
  1. Item One
  2. Item Two
* Item One
** Item Two
  • Item One
    • Item Two
* Item One
*# Item Two
  • Item One
    1. Item Two
; term : definition
term
definition

Links and URLs

In a wiki, it's important to help build the web by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Tardis Data Core articles:

What you type What you see
[[TARDIS information system]] TARDIS information system
[[SS Bernice|SS ''Bernice'']] SS Bernice
[[This article doesn't exist]] This article doesn't exist
[[Tardis:Policies and Guidelines]] Tardis:Policies and Guidelines
[[Tardis:Policies and Guidelines|Policies and Guidelines]] Policies and Guidelines

You can also make external links to other websites using the following formatting rules:

What you type What you see
[[Wikipedia:Doctor Who]] Wikipedia:Doctor Who
[[Wikipedia:Doctor Who|]] Doctor Who
http://tardis.wikia.com/ http://tardis.wikia.com/
[http://tardis.wikia.com/] [1]
[http://tardis.wikia.com/ TARDIS Index File] TARDIS Index File

The "pipe trick"

One of the most helpful shortcuts one can learn in linking to articles is the so-called "pipe trick". By placing a pipe (|) after certain strings of text, one can eliminate the need to type huge amounts of replacement text. For example, if the name of an episode of Doctor Who is shared with a person, place or thing in the DWU, then it will be "disambiguated" with the parenthetical "(TV story)". Castrovalva refers to the city, whereas Castrovalva (TV story) links to the page about the episode. Generally, when writing a sentence about the TV story, one doesn't want "(TV story)" to appear in the body of text. To get rid of it, one must enter some replacement text separated by the full article name by a pipe (|}. The long way of doing that is:

Code Notes Effect
[[Castrovalva (TV story)|Castrovalva]] Gets rid of (TV story) the long way Castrovalva
[[Castrovalva (TV story)|]] The short-cut for the above Castrovalva
[[Tardis:Manual of Style|Manual of Style]] The long way to get rid of Namespace: Manual of Style
[[Tardis:Manual of Style|]] The short-cut for the above Manual of Style
''[[wikipedia:Life on Mars (TV story)|Life on Mars]]'' The long way to link to a Wikipedia article Life on Mars
''[[wikipedia:Life on Mars (TV series)|]]'' Pipe trick simultaneously truncates the back and front of the string Life on Mars
[[w:c:bionic:Jaime Sommers (2007)|Jaime Sommers]] Links to an article on another wiki (see Interwiki section) Jaime Sommers
[[w:c:bionic:Jaime Sommers (2007)|]] Pipe trick fails c:bionic:Jaime Sommers

Note that the pipe trick won't be detectable if you edit this page and look at how this chart is set up. It actually converts what you type into the long form, after you press "save page".

When you might not want to do the pipe trick

If the actual name of a thing includes a parenthetical, you wouldn't want to do a pipetrick. For instance, the show Randall & Hopkirk (Deceased), which actually has several Doctor Who cast and crew connections, wouldn't be a good candidate for a pipe trick, because it would resolve to just Randall & Hopkirk, which isn't the full name of the show. So to get a proper Wikipedia link, you have to go the long way: [[wikipedia:Randall & Hopkirk (Deceased)|Randall & Hopkirk (Deceased)]].

When the pipe trick doesn't work

There are instances when the pipe trick doesn't work, and you have to revert to the "long way". The most common area in which it fails is when trying to make a link within a <ref> tag. The other major area is when placed within using a variable within a parser function. This last case is really of concern only to advanced users.

The "slash trick"

There are some pages here which have a number of subpages. A subpage is a page that branches off of the page one is currently viewing. If this page had a subpage about slash tricks, it would be in the format of Help:Wiki markup/Slash trick. This syntax, however, is how one would link to the subpage from any other page on the wiki. On this page only the same link could be generated by typing

[[/Slash trick]]

When entered on this page, the preceding slash stands in for Help:Wiki markup. However, the result of typing in [[/Slash trick]] is the rather ugly /Slash trick, that includes the preceding slash. If one wanted to create a link that appeared on this page as just Slash trick, one could type:

[[/Slash trick|Slash trick]]

However, this can be simplified even further by typing:

[[/Slash trick/]]

This eliminates the preceding slash.

When you might not want to do the slash trick

Generally, getting rid of preceding slashes is a great idea. But there are occasionally times when the preceding slash might need to be retained. A good example is Theory:Doctor Who television discontinuity and plot holes where the preceding slashes emphasize to the reader that a subpage was being linked to, rather than a page in the main article space with the same name.

A suggested guideline is that if the subpage has the same name as a proper article in mainspace, retain the slash for clarity. Thus /The Chase versus The Chase.

Interwiki link

There are times when one might wish to link to another wikia. For example, if one wanted to link to Timothy Dalton's page on the James Bond Wiki, one would use the following syntax:

[[w:c:nameofwiki:articlename|articlename]]

or, for this specific case,

[[w:c:jamesbond:Timothy Dalton|Timothy Dalton]]

Note that the pipe trick discussed above won't work as well on interwiki links because there are too many preceding colons. A pipe trick does this to an interwiki link: c:jamesbond:Timothy Dalton, which is close, but not really close enough. Thus, to make a "clean" link to an article on another link, one has to type out the whole thing, with replacement text, as shown immediately above.

Non-English language link

A specialized form of the interwiki link is one in which you wish to direct users to the same page on one of our sister non-English Doctor Who wikis. This type of link does not create an in-line link — that is, one you can see within the body of the text of an article — but rather makes a link in the "Languages" tab in the sidebar. Such links are made by use of a two-letter language code. For example, if you wanted to create a link to the French language article on TARDIS, you would type:

[[fr:TARDIS]]

at the bottom of the article.

Currently, we have the ability to link to the following languages: French (fr), Russian (ru), Bulgarian (bg), German (de) and Dutch (nl). Note that there must be a corresponding article on the target website for the link to be created successfully. Since use of this particular kind of interwiki link always produces a blue link, care must be exercised in its use, especially because it is not likely that an article on a non-English wiki will have the exact same name as its English counterpart. For instance, there are currently no pages at TARDIS for the Bulgarian, German, and Dutch wikia; typing [[bg:TARDIS]] links to a create page. Multilingual editors will be required to make these kind of links most successfully.

How to figure out the name of a wiki

The real trick in performing interwiki links is knowing what is the true name of the wiki to which one is linking. For instance, we call ourselves "TARDIS Index File Wiki", but our true name is "tardis". Links to our article about Matt Smith from other wikias would be:

[[w:c:tardis:Matt Smith|Matt Smith]]

The key to finding the true name is to look at the URL address in one's browser window. The name is almost always the word which precedes the word "wikia". The URL to the Doctor Who page at Simpsons Wiki is http://simpsons.wikia.com/wiki/Doctor_Who. This is the usual format for a wikia wiki. Thus: w:c:simpsons:Doctor Who is how you link to that page from within an article here at our wiki. Again, to clean it up a bit, you might type something like [[w:c:simpsons:Doctor Who|Doctor Who on ''The Simpsons'']]. This syntax will work in most cases. For instance, it works for linkage to all of our sister sites, thus:

Unfortunately, this isn't completely universal. Depending on the wiki's relationship to the wikia family of wikis, it might not be so straightforward. A prime example is Memory Alpha, the main Star Trek Wiki. The actual URL of its Doctor Who page is: http://memory-alpha.org/en/wiki/Doctor_Who. This is immediately confusing, because there's no reference to wikia at all in the URL. However, linkage to this page can still be achieved within an article here at this wiki. It is accomplished by w:c:memoryalpha:Doctor Who. In cases where the wiki URLs don't have the "wikia.com", you will have to search through that wiki's help files to find an article that tells you how to perform an interwiki link. Or you might have to ask an admin there for help. You can also try consulting the Interwiki link page at Wikia Central.

Even easier linking to "big" wikis

Some bigger wikis are even easier to link to. For some wikis, linkage is exactly like Wikipedia linkage.

To test whether the wiki is big enough to have its own prefix, enter wikiname:articlename in our search box on the top left of this page. If it takes you to the appropriate page, then you can use that syntax in a link. If it just creates a search error, then you have to use the w:c:wikiname:articlename syntax.

Note that if you want to link to a section of an article on another Wikia wiki, you must type out the long form of the link.

This isn't true of Wikipedia linkage. wikipedia:Spock#Reception takes you directly to the "Reception" section of Wikipedia's Spock article.

Beware the false blue link

Note that interwiki linking, whether by using a special prefix like [[wikipedia:articlename]] or the standard [[w:c:wikiname:articlename]] syntax, almost always produces a blue link. You must, therefore, go back and click the link you've made to ensure that it actually links properly. Just to illustrate, here are some obviously ridiculous page names that nevertheless appear to be valid links:

Sections

The usual way

If an article is long enough, you can divide the page into different sections. The TARDIS Index File will automatically generate a table of contents based on the content for all articles with more than three sections.

You can also create a horizontal divider by using four dashes in a row.

What you type What you see
== Header Two == Header Two
=== Header Three === Header Three
==== Header Four ==== Header Four
----

Another approach to headers

The above method doesn't just generate a header. It also automatically creates a little edit link beside the header, allowing the user to edit just that section. But there are times when one may wish to have a sectional header that isn't editable. This is particularly true in templates which generate a lot of text that need to be sectionalized for greater understanding. To achieve section heads which don't produce an edit link, use the following simple code:

<hx>Header</hx>, where x stands for the number of equal signs (=) you want.

For example, 

<h3>Header</h3>

is the edit-link-less version of

===Header===

Images and other media

See: Help: Image markup

Tables

See: Tardis:Tables

Mathematical formulae

See: Help:Math

Templates

A template is a pre-defined bit of coding that places the same text across multiple pages. It can be as simple as a little system message, such as Template:Current to a fairly complicated bit of coding that automatically calculates dates based upon the name of an article, like Template:Timeline.

One of the types of template you will most come into contact with here on tardis is the "infobox" template. These save you a great deal of repetitive typing of similar information, such as is found on television story or novel pages. Just go to the Templates page and scan down the list for the ones you need. Put {{template}} in your edit, replacing "template" with the name of the specific one you are using, such "Infobox CD". For infoboxes, you will need to fill in the variables accepted by the template, such as director, writer, or broadcast date.

The actual writing of templates is a complicated subject, beyond the scope of this article.

See also: Help:Template

Magic words

Beyond the templates that we have created are templates that are inherent in the MediaWiki software. These are not fully listed anywhere on this wiki, and do not appear in Category:Templates. A good place to start one's understanding of these type of templates is at Wikipedia:Help:Magic words.

They are called "magic" because they do things with one simple word that conceals rather a lot of complicated coding. Most editors of wikis, even those very experienced with template coding, don't really understand the underlying code that makes them work. Hence, as was once remarked in Battlefield, any sufficiently advanced technology is indistinguishable from magic.

Magic words include things like {{PAGENAME}}, which returns the name of the page you're on; {{CURRENTDAY}}, which tells you the current day; __NOTOC__, which strips a page of its table of contents; {{#ifeq|}}, which compares two strings, and then takes action depending on whether they match; and {{DEFAULTSORT}}, which automatically forces an article to sort in a category in a certain way.

If you'd like more details, please see Help:Magic words.

Suppressing markup

It's also possible to tell MediaWiki to ignore any of the above rules using a simple tag:

What you type What you see
<nowiki>'''text here'''</nowiki> '''text here'''