Template:Infobox Story/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Bot: Adding <noinclude>{{PAGENAME}}</noinclude>)
m (Getting rid of name variable in infobox. Screws things up. Leave a message at user talk:CzechOut if you want more info.)
Tag: apiedit
 
(7 intermediate revisions by 3 users not shown)
Line 13: Line 13:


== Standalone stories ==
== Standalone stories ==
{{Infobox Story
|name=Navigation on ({{{nav}}} undefined)
}}
{{Infobox Story
|name=Navigation off (nav=0)
|nav=0
}}
In a few exceptional cases, stories are completely standalone.  Video games, for instance, are often released in isolation.  The very first ''Doctor Who'' prose story, ''[[Doctor Who and the Invasion from Space]]'' wasn't a part of any series, nor was the short story, ''[[Doctor Who and the Daleks (short story)|Doctor Who and the Daleks]]''.
In a few exceptional cases, stories are completely standalone.  Video games, for instance, are often released in isolation.  The very first ''Doctor Who'' prose story, ''[[Doctor Who and the Invasion from Space]]'' wasn't a part of any series, nor was the short story, ''[[Doctor Who and the Daleks (short story)|Doctor Who and the Daleks]]''.


If you encounter such a story, and you want to make the navigation bar ''completely'' disappear, just enter the following variable:<pre>| nav    = 0</pre>
If you encounter such a story, just don't put anything in the prev or next fields. The navigation will simply disappear.


== Navigation ==
== Navigation ==
Line 29: Line 22:
Here are the new variables, which can be used with ''any'' story type:
Here are the new variables, which can be used with ''any'' story type:
{{Infobox Story
{{Infobox Story
|name=Navigational variables
|series=series
|series=series
|prev=prev
|prev=prev
Line 55: Line 47:
|made next =
|made next =
</pre>
</pre>
* '''If there is no previous or next story in a series, you must actually set the prev/next variable to the word <code>none</code>.'''
* If there is no previous or next story in a series, simply don't put anything in {{{prev}}} or {{{next}}}, as appropriate. '''Please don't put "none"''' -- just don't put ''anything''. See ''[[Time and Relative (novel)|Time and Relative]]'' for an example.
*{{{prev2}}}, {{{prev3}}}, and {{{made prev}}} are all '''essential''' to getting their respective series to display. They '''must''' be set to <code>none</code> or to the name of a story, incuding the [[disambiguation term]].  If they aren't set to one of these two values, then {{{series2}}}, {{{series3}}} and "Production order" '''will not display'''.  Again, the values of the prev variables must be one of the following
*By convention, if the production and broadcast order are the same, then there is no need to define {{{made prev}}} and {{{made next}}}.  The exception is when one of the the two directions is the same.  For instance, ''[[An Unearthly Child]]'' has no preceding broadcast story, so {{{prev}}} is blank. But because it does have a {{{made prev}}} — that is, [[The Pilot Episode]], you should go ahead and fill in {{{made next}}} with ''[[The Daleks (TV story)]]''.  Note, however, that ''The Daleks'' itself has no production order defined, because it's the same as the broadcast order, which is true throughout the [[1960]]s and much of the [[Jon Pertwee]] era.  If you'd like to get a feel for how this production order works, go to a complicated period.  Start with ''[[The Invisible Enemy]]'', and work your way through to ''[[Logopolis (TV story)|Logopolis]]''.
::<code>none</code> (that is, exactly the word ''none'', in all lower case letters)
* Flowing from the above, '''if you define a previous variable, you must also define the next variable in that series (or vice versa)'''.  All prev/next variables must be balanced''' -- except when the infobox is on the page on the first or last story in a series.
::<code>The God Complex (TV story)</code> — or another properly disambiguated story title, without brackets
*By convention, if the production and broadcast order are the same, then there is no need to define {{{made prev}}} and {{{made next}}}.  The exception is when one of the the two directions is the same.  For instance, ''[[An Unearthly Child]]'' has no preceding broadcast story, so {{{prev}}} is set to <code>none</code>. But because it does have a {{{made prev}}} — that is, [[The Pilot Episode]], you should go ahead and fill in {{{made next}}} with ''[[The Daleks (TV story)]]''.  Note, however, that ''The Daleks'' itself has no production order defined, because it's the same as the broadcast order, which is true throughout the [[1960]]s and much of the [[Jon Pertwee]] era.  If you'd like to get a feel for how this production order works, go to a complicated period.  Start with ''[[The Invisible Enemy]], and work your way through to ''[[Logopolis (TV story)|Logopolis]]''.
* Flowing from the above, '''if you define a previous variable, you must also define the next variable in that series (or vice versa)'''.  All prev/next variables must be balanced.'''
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 07:35, 18 May 2017

{{Infobox Story/doc}} is the only infobox you'll ever need for any type of story. It takes all variables from all different types of story, regardless of medium or subject matter. If it's a story, just use this template.

Usage

Because this template can be adapted to several different types of story, you'll need to click one of the links below to see how to use it.

Standalone stories

In a few exceptional cases, stories are completely standalone. Video games, for instance, are often released in isolation. The very first Doctor Who prose story, Doctor Who and the Invasion from Space wasn't a part of any series, nor was the short story, Doctor Who and the Daleks.

If you encounter such a story, just don't put anything in the prev or next fields. The navigation will simply disappear.

Navigation

Navigation between stories has been improved significantly with this template. It now allows for a more flexible approach. Instead of just one "navigational axis" — release order — you can now navigate by an additional two user-defined navigational axes, as well as by production order.

Here are the new variables, which can be used with any story type:

|series    =  
|prev      = 
|next      =
|series2   =
|prev2     =
|next2     =
|series3   = 
|prev3     =
|next3     =
|made prev =
|made next =
  • If there is no previous or next story in a series, simply don't put anything in {{{prev}}} or {{{next}}}, as appropriate. Please don't put "none" -- just don't put anything. See Time and Relative for an example.
  • By convention, if the production and broadcast order are the same, then there is no need to define {{{made prev}}} and {{{made next}}}. The exception is when one of the the two directions is the same. For instance, An Unearthly Child has no preceding broadcast story, so {{{prev}}} is blank. But because it does have a {{{made prev}}} — that is, The Pilot Episode, you should go ahead and fill in {{{made next}}} with The Daleks (TV story). Note, however, that The Daleks itself has no production order defined, because it's the same as the broadcast order, which is true throughout the 1960s and much of the Jon Pertwee era. If you'd like to get a feel for how this production order works, go to a complicated period. Start with The Invisible Enemy, and work your way through to Logopolis.
  • Flowing from the above, if you define a previous variable, you must also define the next variable in that series (or vice versa). All prev/next variables must be balanced -- except when the infobox is on the page on the first or last story in a series.