Template:Infobox Story: Difference between revisions
No edit summary |
Shambala108 (talk | contribs) m (Reverted edits by RheingoldRiver (talk) to last revision by SOTO) Tag: Rollback |
||
Line 1: | Line 1: | ||
<infobox theme="infobox"> | |||
<title source="name"><default>''<!--{{{name override|-->{{dab away|{{PAGENAME}}}}<!--}}}-->''</default></title> | <title source="name"><default>''<!--{{{name override|-->{{dab away|{{PAGENAME}}}}<!--}}}-->''</default></title> | ||
<navigation><div style="text-align:center">{{#if:{{{serial production code|}}}| {{{serial production code}}} — |}}<span style="font-size:100%">{{#if:{{{season number|}}}|[[season::{{{season number}}}|{{da smw|{{{season number}}}}}]]}}{{#if:{{{series episode number|}}}|, Episode{{#if:{{{series episode number2|}}}|s {{{series episode number|}}} & {{{series episode number2|}}}| {{{series episode number}}}}}}}{{#if:{{{series episode number|}}}|{{#set:series episode number={{#switch:{{{series episode number|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number}}}|episode code={{#switch:{{#explode:{{{season number|X (Z)}}}|(|1}}|=0DW|Doctor Who)=1DW|Torchwood)=2TW|SJA)=3SJA|K9)=4K9|Class)=5CL|Z)=Z-ERROR}} {{#switch:{{Series Numeral|{{{season number|}}}}}|1|2|3|4|5|6|7|8|9=0}}{{Series Numeral|{{{season number|X}}}}}.{{#switch:{{{series episode number|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number|{{{season serial number|X}}}}}}}}|}}{{#if:{{{series episode number2|}}}|{{#set:series episode number={{#switch:{{{series episode number2|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number2}}}|episode code={{#switch:{{#explode:{{{season number2|{{{season number|X (Z)}}}}}}|(|1}}|=0DW|Doctor Who)=1DW|Torchwood)=2TW|SJA)=3SJA|K9)=4K9|Class)=5CL|Z)=Z-ERROR}} {{#switch:{{Series Numeral|{{{season number2|{{{season number|}}}}}}}}|1|2|3|4|5|6|7|8|9=0}}{{Series Numeral|{{{season number2|{{{season number|X}}}}}}}}.{{#switch:{{{series episode number2|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number2|{{{season serial number2|X}}}}}}}}|}}{{#if:{{{season serial number|}}}|, [[Serial]] {{{season serial number}}}}}{{#if:{{{season serial number|}}}|{{#set:season serial number={{#switch:{{{season serial number|}}}|10|11|12|13|14|15=|#default=0}}{{{season serial number}}}}}|}}{{#if:{{{special}}}|{{{special}}}|}}{{#if:{{{range|}}}|{{#switch:{{{range}}}|#default=''[[range::{{{range}}}|{{dau|{{{range}}}}}]]''|MR|Main Range|0=[[Main Range]]|BSSR|Bernice Summerfield Single Releases=''[[Bernice Summerfield (series)|Bernice Summerfield]]'': Single Releases|BSBS|Bernice Summerfield Box Sets=''[[Bernice Summerfield (series)|Bernice Summerfield]]'': Box Sets|BFTW|Big Finish Torchwood=''[[Big Finish Torchwood series|Torchwood]]''|BFTWSR|Big Finish Torchwood Special Releases=''[[Big Finish Torchwood series|Torchwood]] Special Releases''|NSAA|New Series Adventures Audios=''[[BBC New Series Adventures#Audiobooks|New Series Adventures]]'' Audio|BBCTWAD|BBC Torchwood Audio Dramas=[[BBC Torchwood audio stories#Audio dramas|BBC ''Torchwood'' Audio Drama]]|BBCTWAB|BBC Torchwood Audiobooks=[[BBC Torchwood audio stories#Audiobooks|BBC ''Torchwood'' Audiobook]]}}{{#if:{{{number in range|}}}| {{{number in range}}}}}{{#if:{{{series in range|}}}| [[audio series::{{{series in range}}}|#{{{series number in range|{{SNIR|{{{series in range}}}|{{{range}}}}}}}}]]{{#if:{{{number in series|}}}|.{{{number in series}}}}}}}}} | <navigation><div style="text-align:center">{{#if:{{{serial production code|}}}| {{{serial production code}}} — |}}<span style="font-size:100%">{{#if:{{{season number|}}}|[[season::{{{season number}}}|{{da smw|{{{season number}}}}}]]}}{{#if:{{{series episode number|}}}|, Episode{{#if:{{{series episode number2|}}}|s {{{series episode number|}}} & {{{series episode number2|}}}| {{{series episode number}}}}}}}{{#if:{{{series episode number|}}}|{{#set:series episode number={{#switch:{{{series episode number|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number}}}|episode code={{#switch:{{#explode:{{{season number|X (Z)}}}|(|1}}|=0DW|Doctor Who)=1DW|Torchwood)=2TW|SJA)=3SJA|K9)=4K9|Class)=5CL|Z)=Z-ERROR}} {{#switch:{{Series Numeral|{{{season number|}}}}}|1|2|3|4|5|6|7|8|9=0}}{{Series Numeral|{{{season number|X}}}}}.{{#switch:{{{series episode number|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number|{{{season serial number|X}}}}}}}}|}}{{#if:{{{series episode number2|}}}|{{#set:series episode number={{#switch:{{{series episode number2|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number2}}}|episode code={{#switch:{{#explode:{{{season number2|{{{season number|X (Z)}}}}}}|(|1}}|=0DW|Doctor Who)=1DW|Torchwood)=2TW|SJA)=3SJA|K9)=4K9|Class)=5CL|Z)=Z-ERROR}} {{#switch:{{Series Numeral|{{{season number2|{{{season number|}}}}}}}}|1|2|3|4|5|6|7|8|9=0}}{{Series Numeral|{{{season number2|{{{season number|X}}}}}}}}.{{#switch:{{{series episode number2|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number2|{{{season serial number2|X}}}}}}}}|}}{{#if:{{{season serial number|}}}|, [[Serial]] {{{season serial number}}}}}{{#if:{{{season serial number|}}}|{{#set:season serial number={{#switch:{{{season serial number|}}}|10|11|12|13|14|15=|#default=0}}{{{season serial number}}}}}|}}{{#if:{{{special}}}|{{{special}}}|}}{{#if:{{{range|}}}|{{#switch:{{{range}}}|#default=''[[range::{{{range}}}|{{dau|{{{range}}}}}]]''|MR|Main Range|0=[[Main Range]]|BSSR|Bernice Summerfield Single Releases=''[[Bernice Summerfield (series)|Bernice Summerfield]]'': Single Releases|BSBS|Bernice Summerfield Box Sets=''[[Bernice Summerfield (series)|Bernice Summerfield]]'': Box Sets|BFTW|Big Finish Torchwood=''[[Big Finish Torchwood series|Torchwood]]''|BFTWSR|Big Finish Torchwood Special Releases=''[[Big Finish Torchwood series|Torchwood]] Special Releases''|NSAA|New Series Adventures Audios=''[[BBC New Series Adventures#Audiobooks|New Series Adventures]]'' Audio|BBCTWAD|BBC Torchwood Audio Dramas=[[BBC Torchwood audio stories#Audio dramas|BBC ''Torchwood'' Audio Drama]]|BBCTWAB|BBC Torchwood Audiobooks=[[BBC Torchwood audio stories#Audiobooks|BBC ''Torchwood'' Audiobook]]}}{{#if:{{{number in range|}}}| {{{number in range}}}}}{{#if:{{{series in range|}}}| [[audio series::{{{series in range}}}|#{{{series number in range|{{SNIR|{{{series in range}}}|{{{range}}}}}}}}]]{{#if:{{{number in series|}}}|.{{{number in series}}}}}}}}} |
Revision as of 02:22, 18 November 2021
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 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.