Template:Infobox Story SMW: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(I always seem to forget the # in parser functions when there isn't proper syntax highlighting)
No edit summary
 
(98 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<infobox theme="infobox">
{{#set:pagename={{FULLPAGENAME}}|medium={{lc:{{{medium|{{#invoke:source medium|getMedium|{{FULLPAGENAME}}}}}}}}}}}{{#invoke:cite source|infoboxStore|{{FULLPAGENAME}}}}<!--
    <title source="name"><default>''<!--{{{name override|-->{{dau|{{PAGENAME}}}}<!--}}}-->''</default><format>{{#set:Story Name={{{name|{{dau|{{PAGENAME}}}}}}}{{{name}}}</format></title>
--><infobox theme="infobox">
     <navigation><div style="text-align:center">{{#if:{{{serial production code|}}}|{{#set:Production Code={{{serial production code}}}}}&nbsp;[[List of production codes|{{{serial production code}}}]]&nbsp;—&nbsp;|}}<span style="font-size:100%">{{#if:{{{season number|}}}|[[season::{{{season number}}}|{{da smw|{{{season number}}}}}]]}}{{#if:{{{series episode number|}}}|,&nbsp;Episode{{#if:{{{series episode number2|}}}|{{#set:series episode number2={{#switch:{{{series episode number2|}}}|1|2|3|4|5|6|7|8|9=0}}{{{series episode number2}}}}}s {{{series episode number|}}} & {{{series episode number2|}}}|&nbsp;{{{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|}}}|,&nbsp;[[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|}}}|&nbsp;{{{number in range}}}}}{{#if:{{{series in range|}}}|&nbsp;[[audio series::{{{series in range}}}|#{{{series number in range|{{SNIR|{{{series in range}}}|{{{range}}}}}}}}]]{{#if:{{{number in series|}}}|.{{{number in series}}}}}}}}}
     <title source="name"><default>''{{{name|{{{name override|{{StoryTitle|{{PAGENAME}}}}}}}}}}''</default></title>
    </span></div></navigation>
    <navigation><div style="text-align:center">{{#if:{{{serial production code|}}}|&nbsp;{{{serial production code}}}&nbsp;—&nbsp;|}}<span style="font-size:100%">{{#if:{{{season number|}}}|[[season::{{{season number}}}|{{da smw|{{{season number}}}}}]]}}{{#if:{{{series episode number|}}}|,&nbsp;Episode{{#if:{{{series episode number2|}}}|s {{{series episode number|}}} & {{{series episode number2|}}}|&nbsp;{{{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|}}}|,&nbsp;[[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}}}{{#set:special={{{special}}}}}|}}{{#if:{{{range|}}}|{{#switch:{{{range}}}|#default=''[[range::{{{range}}}|{{dau|{{{range}}}}}]]''|MR|Main Range|0=[[range::Main Range]]|BSSR|Bernice Summerfield Single Releases=''[[range::Bernice Summerfield (series)|Bernice Summerfield]]'': Single Releases|BSBS|Bernice Summerfield Box Sets=''[[range::Bernice Summerfield (series)|Bernice Summerfield]]'': Box Sets|Dark Eyes (audio series)|The Eighth Doctor Adventures: Dark Eyes=''[[range::The Eighth Doctor Adventures#Dark Eyes|The Eighth Doctor Adventures: Dark Eyes]]''|Doom Coalition (audio series)|The Eighth Doctor Adventures: Doom Coalition=''[[range::The Eighth Doctor Adventures#Doom Coalition|The Eighth Doctor Adventures: Doom Coalition]]''|Ravenous (audio series)|The Eighth Doctor Adventures: Ravenous=''[[range::The Eighth Doctor Adventures#Ravenous|The Eighth Doctor Adventures: Ravenous]]''|Stranded (audio series)|The Eighth Doctor Adventures: Stranded=''[[range::The Eighth Doctor Adventures#Stranded|The Eighth Doctor Adventures: Stranded]]''|BFTW|Big Finish Torchwood=''[[range::Big Finish Torchwood series|Torchwood]]''|BFTWSR|Big Finish Torchwood Special Releases=''[[range::Big Finish Torchwood series|Torchwood]] Special Releases''|NSA|BBC New Series Adventures=[[BBC New Series Adventures|BBC ''New Series Adventures'']]|NSAA|New Series Adventures Audios=''[[range::BBC New Series Adventures#Audiobooks|New Series Adventures]]'' Audio|BBCTWAD|BBC Torchwood Audio Dramas=[[range::BBC Torchwood audio stories#Audio dramas|BBC ''Torchwood'' Audio Drama]]|BBCTWAB|BBC Torchwood Audiobooks=[[range::BBC Torchwood audio stories#Audiobooks|BBC ''Torchwood'' Audiobook]]|DWM comic stories=[[DWM comic stories|DWM Comics]]}}{{#if:{{{number in range|}}}|&nbsp;{{{number in range}}}}}{{#if:{{{series in range|}}}|&nbsp;[[audio series::{{{series in range}}}|#{{{series number in range|{{SNIR|{{{series in range}}}|{{{range}}}}}}}}]]{{#if:{{{number in series|}}}|.{{{number in series}}}}}}}}}</span></div></navigation>
<!-- Main infobox images -->  
<!-- Main infobox images -->  


Line 16: Line 16:
</image>
</image>


     <data source="novelisation of"><label>Based on:</label><format>''[[novelisation of::{{{novelisation of}}}|{{da smw|{{{novelisation of}}}}}''</format></data>
     <data source="novelisation of"><label>Based on:</label><format>''[[novelisation of::{{{novelisation of}}}|{{dau|{{{novelisation of}}}}}]]''</format></data>
<data source="novelisation"><label>Novelised as:</label><format>''[[novelised as::{{{novelisation}}}|{{da smw|{{{novelisation}}}}}]]''</format></data>
<data source="novelisation"><label>Novelised as:</label><format>''{{dab away|{{{novelisation}}}}}''{{#if:{{{novelisation2|}}}|, ''{{dab away|{{{novelisation2}}}}}''}}</format></data>
<data source="adapted from"><label>Adapted from:</label><format>''[[adapted from::{{{adapted from}}}|{{da smw|{{{adapted from}}}}}]]''</format></data>
<data source="adapted from"><label>Adapted from:</label><format>''[[adapted from::{{{adapted from}}}|{{dau|{{{adapted from}}}}}]]''{{#if:{{{adapted from2|}}}|, ''[[adapted from::{{{adapted from2}}}|{{dau|{{{adapted from2}}}}}]]''{{#if:{{{adapted from3|}}}|, ''[[adapted from::{{{adapted from2}}}|{{dau|{{{adapted from2}}}}}]]''}}}}</format></data>
<data source="adapted into"><label>Adapted into:</label><format>''[[adapted into::{{{adapted into}}}|{{da smw|{{{adapted into}}}}}]]''</format></data>
<data source="adapted into"><label>Adapted into:</label><format>''{{dab away|{{{adapted into}}}}}''{{#if:{{{adapted into2|}}}|, ''{{dab away|{{{adapted into2}}}}}''{{#if:{{{adapted into3|}}}|, ''{{dab away|{{{adapted into3}}}}}''}}}}</format></data>
<data source="script"><label>Script release:</label><format>''[[script::{{{script}}}|{{da smw|{{{script}}}}}]]''</format></data>
<data source="script"><label>Script release:</label><format>''{{dab away|{{{script}}}}}''</format></data>
     <data source="scripturl"><label>Script release:</label><format>[{{{scripturl}}} <span style="font-size:95%">online here</span>] {{#if:{{{scripturl2|}}}|[{{{scripturl2}}} <span style="font-size:95%">and here</span>]}}</format></data>
     <data source="scripturl"><label>Script release:</label><format>[{{{scripturl}}} <span style="font-size:95%">online here</span>] {{#if:{{{scripturl2|}}}|[{{{scripturl2}}} <span style="font-size:95%">and here</span>]}}</format></data>
<data source="doctor"><label>Doctor:</label><format>[[doctor::{{{doctor}}}]]</format></data>
<data source="doctor"><label>Doctor{{#if:{{#pos:{{{doctor|}}}|,}}|s}}:</label><format>{{#arraymap:{{{doctor}}}|{{{separator|{{{seperator|,}}}}}} |x|[[doctor::x]]}}</format></data>
<data source="team"><label>Main character(s):</label><format>{{#arraymap:{{{team}}}|, <nowiki />|x|[[team::x]]}}</format></data>
<data source="team"><label>Main character(s):</label></data>
<data source="main character"><label>Main character(s):</label><format>{{#arraymap:{{{main character}}}|, <nowiki />|x|[[main character::x]]}}</format></data>
<data source="main character"><label>Main character(s):</label></data>
<data source="companions"><label>Companion(s):</label><format>{{#arraymap:{{{companions}}}|, <nowiki />|x|[[companions::x]]}}</format></data>
<data source="companions"><label>Companion(s):</label></data>


<data source="featuring"><label>Featuring:</label><format>{{#if:{{{featuring2|}}}|{{ch|{{{featuring}}}|n=1|only={{#if:{{{featuring2|}}}|n|y}}}}{{#if:{{{featuring2|}}}|, {{ch|{{{featuring2}}}}}}}{{#if:{{{featuring3|}}}|, {{ch|{{{featuring3}}}}}}}{{#if:{{{featuring4|}}}|, {{ch|{{{featuring4}}}}}}}{{#if:{{{featuring5|}}}|, {{ch|{{{featuring5}}}}}}}{{#if:{{{featuring6|}}}|, {{ch|{{{featuring6}}}}}}}{{#if:{{{featuring7|}}}|, {{ch|{{{featuring7}}}}}}}{{#if:{{{featuring8|}}}|, {{ch|{{{featuring8}}}}}}}{{#if:{{{featuring9|}}}|, {{ch|{{{featuring9}}}}}}}{{#if:{{{featuring10|}}}|, {{ch|{{{featuring10}}}}}}}{{#if:{{{featuring11|}}}|, {{ch|{{{featuring11}}}}}}}{{#if:{{{featuring12|}}}|, {{ch|{{{featuring12}}}}}}}{{#if:{{{featuring13|}}}|, {{ch|{{{featuring13}}}}}}}{{#if:{{{featuring14|}}}|, {{ch|{{{featuring14}}}}}}}{{#if:{{{featuring15|}}}|, {{ch|{{{featuring15}}}}}}}{{#if:{{{featuring16|}}}|, {{ch|{{{featuring16}}}}}}}{{#if:{{{featuring17|}}}|, {{ch|{{{featuring17}}}}}}}{{#if:{{{featuring18|}}}|, {{ch|{{{featuring18}}}}}}}{{#if:{{{featuring19|}}}|, {{ch|{{{featuring19}}}}}}}{{#if:{{{featuring20|}}}|, {{ch|{{{featuring20}}}}}}}{{#if:{{{featuring21|}}}|, {{ch|{{{featuring21}}}}}}}{{#if:{{{featuring22|}}}|, {{ch|{{{featuring22}}}}}}}{{#if:{{{featuring23|}}}|, {{ch|{{{featuring23}}}}}}}{{#if:{{{featuring24|}}}|, {{ch|{{{featuring24}}}}}}}{{#if:{{{featuring25|}}}|, {{ch|{{{featuring25}}}}}}}{{#if:{{{featuring26|}}}|, {{ch|{{{featuring26}}}}}}}{{#if:{{{featuring27|}}}|, {{ch|{{{featuring27}}}}}}}{{#if:{{{featuring28|}}}|, {{ch|{{{featuring28}}}}}}}{{#if:{{{featuring29|}}}|, {{ch|{{{featuring29}}}}}}}{{#if:{{{featuring30|}}}|, {{ch|{{{featuring30}}}}}}}{{#if:{{{featuring31|}}}|, {{ch|{{{featuring31}}}}}}}{{#if:{{{featuring32|}}}|, {{ch|{{{featuring32}}}}}}}{{#if:{{{featuring33|}}}|, {{ch|{{{featuring33}}}}}}}{{#if:{{{featuring34|}}}|, {{ch|{{{featuring34}}}}}}}{{#if:{{{featuring35|}}}|, {{ch|{{{featuring35}}}}}}}{{#if:{{{featuring36|}}}|, {{ch|{{{featuring36}}}}}}}{{#if:{{{featuring37|}}}|, {{ch|{{{featuring37}}}}}}}{{#if:{{{featuring38|}}}|, {{ch|{{{featuring38}}}}}}}{{#if:{{{featuring39|}}}|, {{ch|{{{featuring39}}}}}}}{{#if:{{{featuring40|}}}|, {{ch|{{{featuring40}}}}}}}{{#if:{{{featuring41|}}}|, {{ch|{{{featuring41}}}}}}}{{#if:{{{featuring42|}}}|, {{ch|{{{featuring42}}}}}}}{{#if:{{{featuring43|}}}|, {{ch|{{{featuring43}}}}}}}{{#if:{{{featuring44|}}}|, {{ch|{{{featuring44}}}}}}}{{#if:{{{featuring45|}}}|, {{ch|{{{featuring45}}}}}}}{{#if:{{{featuring46|}}}|, {{ch|{{{featuring46}}}}}}}{{#if:{{{featuring47|}}}|, {{ch|{{{featuring47}}}}}}}{{#if:{{{featuring48|}}}|, {{ch|{{{featuring48}}}}}}}{{#if:{{{featuring49|}}}|, {{ch|{{{featuring49}}}}}}}{{#if:{{{featuring50|}}}|, {{ch|{{{featuring50}}}}}}}|{{{featuring}}}<!--{{cat|Unconverted featuring}}-->}}</format></data>
<data source="featuring"><label>Featuring:</label><format>{{#if:{{{featuring2|}}}|{{ch|{{{featuring}}}|n=1|only={{#if:{{{featuring2|}}}|n|y}}}}{{#if:{{{featuring2|}}}|, {{ch|{{{featuring2}}}}}}}{{#if:{{{featuring3|}}}|, {{ch|{{{featuring3}}}}}}}{{#if:{{{featuring4|}}}|, {{ch|{{{featuring4}}}}}}}{{#if:{{{featuring5|}}}|, {{ch|{{{featuring5}}}}}}}{{#if:{{{featuring6|}}}|, {{ch|{{{featuring6}}}}}}}{{#if:{{{featuring7|}}}|, {{ch|{{{featuring7}}}}}}}{{#if:{{{featuring8|}}}|, {{ch|{{{featuring8}}}}}}}{{#if:{{{featuring9|}}}|, {{ch|{{{featuring9}}}}}}}{{#if:{{{featuring10|}}}|, {{ch|{{{featuring10}}}}}}}{{#if:{{{featuring11|}}}|, {{ch|{{{featuring11}}}}}}}{{#if:{{{featuring12|}}}|, {{ch|{{{featuring12}}}}}}}{{#if:{{{featuring13|}}}|, {{ch|{{{featuring13}}}}}}}{{#if:{{{featuring14|}}}|, {{ch|{{{featuring14}}}}}}}{{#if:{{{featuring15|}}}|, {{ch|{{{featuring15}}}}}}}{{#if:{{{featuring16|}}}|, {{ch|{{{featuring16}}}}}}}{{#if:{{{featuring17|}}}|, {{ch|{{{featuring17}}}}}}}{{#if:{{{featuring18|}}}|, {{ch|{{{featuring18}}}}}}}{{#if:{{{featuring19|}}}|, {{ch|{{{featuring19}}}}}}}{{#if:{{{featuring20|}}}|, {{ch|{{{featuring20}}}}}}}{{#if:{{{featuring21|}}}|, {{ch|{{{featuring21}}}}}}}{{#if:{{{featuring22|}}}|, {{ch|{{{featuring22}}}}}}}{{#if:{{{featuring23|}}}|, {{ch|{{{featuring23}}}}}}}{{#if:{{{featuring24|}}}|, {{ch|{{{featuring24}}}}}}}{{#if:{{{featuring25|}}}|, {{ch|{{{featuring25}}}}}}}{{#if:{{{featuring26|}}}|, {{ch|{{{featuring26}}}}}}}{{#if:{{{featuring27|}}}|, {{ch|{{{featuring27}}}}}}}{{#if:{{{featuring28|}}}|, {{ch|{{{featuring28}}}}}}}{{#if:{{{featuring29|}}}|, {{ch|{{{featuring29}}}}}}}{{#if:{{{featuring30|}}}|, {{ch|{{{featuring30}}}}}}}{{#if:{{{featuring31|}}}|, {{ch|{{{featuring31}}}}}}}{{#if:{{{featuring32|}}}|, {{ch|{{{featuring32}}}}}}}{{#if:{{{featuring33|}}}|, {{ch|{{{featuring33}}}}}}}{{#if:{{{featuring34|}}}|, {{ch|{{{featuring34}}}}}}}{{#if:{{{featuring35|}}}|, {{ch|{{{featuring35}}}}}}}{{#if:{{{featuring36|}}}|, {{ch|{{{featuring36}}}}}}}{{#if:{{{featuring37|}}}|, {{ch|{{{featuring37}}}}}}}{{#if:{{{featuring38|}}}|, {{ch|{{{featuring38}}}}}}}{{#if:{{{featuring39|}}}|, {{ch|{{{featuring39}}}}}}}{{#if:{{{featuring40|}}}|, {{ch|{{{featuring40}}}}}}}{{#if:{{{featuring41|}}}|, {{ch|{{{featuring41}}}}}}}{{#if:{{{featuring42|}}}|, {{ch|{{{featuring42}}}}}}}{{#if:{{{featuring43|}}}|, {{ch|{{{featuring43}}}}}}}{{#if:{{{featuring44|}}}|, {{ch|{{{featuring44}}}}}}}{{#if:{{{featuring45|}}}|, {{ch|{{{featuring45}}}}}}}{{#if:{{{featuring46|}}}|, {{ch|{{{featuring46}}}}}}}{{#if:{{{featuring47|}}}|, {{ch|{{{featuring47}}}}}}}{{#if:{{{featuring48|}}}|, {{ch|{{{featuring48}}}}}}}{{#if:{{{featuring49|}}}|, {{ch|{{{featuring49}}}}}}}{{#if:{{{featuring50|}}}|, {{ch|{{{featuring50}}}}}}}|{{{featuring}}}<!--{{cat|Unconverted featuring}}-->}}</format></data>
<data source="enemy"><label>Main enemy:</label><format>{{#arraymap:{{{enemy}}}|, <nowiki />|x|[[enemy::x]]}}</format></data>
<data source="enemy"><label>Main enemy:</label></data>
<data source="year"><label>Main setting:</label></data>
<data source="year"><label>Main setting:</label></data>
<data source="setting"><label>Main setting:</label></data>
<data source="setting"><label>Main setting:</label></data>
<group>
<group>
<header>Key crew</header>
<header>Key crew</header>
<data source="publisher"><label>Publisher:</label><format>[[publisher::{{{publisher}}}]]{{#if:{{{publisher2|}}}|, [[publisher::{{{publisher2}}}]]}}{{#if:{{{publisher3|}}}|, [[publisher::{{{publisher3}}}]]}}{{#vardefine:publisher|True}}<!--future proofing--></format></data>
<data source="publisher"><label>Publisher{{#if:{{#pos:{{{publisher|}}}|,}}{{#pos:{{{publisher|}}}|and}}{{#pos:{{{publisher|}}}|&}}{{{plural publisher|}}}|s}}:</label><format>{{#if:{{{publisher display|}}}|{{{publisher display}}}{{#arraymap:{{{publisher}}}|{{{separator|{{{seperator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unkown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|unclear}}||{{#set:publisher=x}}}}}}|{{#arraymap:{{{publisher}}}|{{{separator|{{{seperator|,}}}}}} |x|[[publisher::x]]}}}}</format></data>
<data source="developer"><label>Developer:</label><format>{{#arraymap:{{{developer}}}|, <nowiki />|x|[[developer::x]]}}{{#vardefine:developer|True}}<!--future proofing--></format></data>
<data source="developer"><label>Developer:</label></data>
<data source="editor"><label>Editor:</label><format>{{#arraymap:{{{editor}}}|, <nowiki />|x|[[editor::x]]}}{{#vardefine:editor|True}}<!--future proofing--></format></data>
<data source="editor"><label>Editor:</label></data>
<data source="writer"><label>Writer:</label><format>{{#arraymap:{{{writer}}}|, <nowiki />|x|[[writer::x]]}}{{#vardefine:writer|True}}<!--future proofing--></format></data>
<data source="contributors"><label>Writers:</label></data>
<data source="lead writer"><label>Lead writer</label><format>[[lead writer::{{{lead writer}}}|{{{lead writer}}}]]{{#vardefine:lead writer|True}}<!--future proofing--></format></data>
<data source="writer"><label>Writer{{#if:{{#pos:{{{writer|}}}|,}}{{#pos:{{{writer|}}}|and}}{{#pos:{{{writer|}}}|&}}{{{plural writer|}}}|s}}:</label><format>{{#if:{{{writer display|{{{contributors|}}}}}}|{{{writer display}}}{{#arraymap:{{{writer}}}|{{{separator|{{{separator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unknown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|unclear}}||{{#set:writer=x}}}}}}|{{#arraymap:{{{writer}}}|{{{separator|{{{separator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unknown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|see authorship}}{{#pos:{{lc:x}}|unclear}}|x|[[writer::x|{{da smw|x}}]]}}}}}}</format></data>
<data source="other writers"><label>Other writers:</label></data>
<data source="writer spoil"><label>Writer{{#if:{{{plural writer|}}}|s}}:</label></data>
<data source="lead writer"><label>Lead writer</label><format>[[writer::{{{lead writer}}}]]</format></data>
<data source="other writers"><label>Other writers:</label><format>{{#if:{{{other writers display|{{{other contributors|}}}}}}|{{{other writers display|{{{other contributors}}}}}}{{#arraymap:{{{other writers}}}|{{{separator|{{{separator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unknown}}{{#pos:{{lc:x}}|various others}}{{#pos:{{lc:x}}|unclear}}||{{#set:writer=others}}}}}}|{{#arraymap:{{{other writers}}}|{{{separator|{{{seperator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unknown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|see authorship}}{{#pos:{{lc:x}}|unclear}}|x|[[writer::x|{{da smw|x}}]]}}}}}}</format></data>
<data source="director"><label>Director:</label></data>
<data source="director"><label>Director:</label></data>
<data source="producer"><label>Producer:</label></data>
<data source="producer"><label>Producer:</label></data>
Line 65: Line 67:
<data source="genre"><label>Genre:</label></data>
<data source="genre"><label>Genre:</label></data>
<data source="story number"><label>Story number:</label></data>
<data source="story number"><label>Story number:</label></data>
<data source="epcount"><label>Number of episodes:</label><format>{{{epcount}}}{{#if:{{{epcount|}}}|{{#set:epcount={{{epcount}}}}}|}}</format></data>
<data source="epcount"><label>Number of parts:</label><format>{{{epcount}}}{{#if:{{{epcount2|}}}|, {{{epcount2}}}{{#set:epcount={{da smw|{{{epcount2}}}}}}}}}{{#if:{{{epcount|}}}|{{#set:epcount={{#if:{{#explode:{{{epcount}}}||1}}|1|{{{epcount}}}}}}}|}}</format></data>
<data source="number"><label>Release number:</label></data>
<data source="number"><label>Release number:</label></data>
<data source="broadcast date"><label>Premiere broadcast:</label></data>
<data source="broadcast date"><label>Premiere broadcast:</label><format>{{#if:{{{broadcast date display|}}}|{{{broadcast date display}}}{{dl/set|{{{broadcast date}}}|Release}}|{{dl|{{{broadcast date}}}|Broadcast}}{{#if:{{{broadcast date2|}}}|<br />{{dl/text|{{{broadcast date2}}}}}}}{{#if:{{{broadcast date3|}}}|<br />{{dl/text|{{{broadcast date3}}}}}}}{{#if:{{{broadcast date4|}}}|<br />{{dl/text|{{{broadcast date4}}}}}}}{{#if:{{{broadcast date5|}}}|<br />{{dl/text|{{{broadcast date5}}}}}}}{{#if:{{{broadcast date6|}}}|<br />{{dl/text|{{{broadcast date6}}}}}}}}}{{{broadcast date ref|}}}</format></data>
<data source="price"><label>Price:</label></data>
<data source="price"><label>Price:</label></data>
<data source="beta release date"><label>Beta release:</label></data>
<data source="beta release date"><label>Beta release:</label><format>{{#if:{{{beta release date display|}}}|{{{beta release date display}}}{{dl/set|{{{beta release date}}}|Beta release}}|{{dl|{{{beta release date}}}|Beta release}}{{#if:{{{beta release date2|}}}|<br />{{dl/text|{{{beta release date2}}}}}}}{{#if:{{{beta release date3|}}}|<br />{{dl/text|{{{beta release date3}}}}}}}{{#if:{{{beta release date4|}}}|<br />{{dl/text|{{{beta release date4}}}}}}}{{#if:{{{beta release date5|}}}|<br />{{dl/text|{{{beta release date5}}}}}}}{{#if:{{{beta release date6|}}}|<br />{{dl/text|{{{beta release date6}}}}}}}}}{{{beta release date ref|}}}</format></data>
<data source="premiere"><label>Premiere:</label></data>
<data source="premiere"><label>Premiere:</label><format>{{dl|{{{premiere}}}|Premiere}}</format></data>
<data source="premiere venue"><label>Premiere venue:</label></data>
<data source="premiere venue"><label>Premiere venue:</label></data>
<data source="other venues"><label>Other venues:</label></data>
<data source="other venues"><label>Other venues:</label></data>
<data source="opening date"><label>Opened:</label></data>
<data source="opening date"><label>Opened:</label><format>{{#if:{{{opening date display|}}}|{{{opening date display}}}{{dl/set|{{{opening date}}}|Opening}}|{{dl|{{{opening date}}}|Opening}}{{#if:{{{opening date2|}}}|<br />{{dl/text|{{{opening date2}}}}}}}{{#if:{{{opening date3|}}}|<br />{{dl/text|{{{opening date3}}}}}}}{{#if:{{{opening date4|}}}|<br />{{dl/text|{{{opening date4}}}}}}}{{#if:{{{opening date5|}}}|<br />{{dl/text|{{{opening date5}}}}}}}{{#if:{{{opening date6|}}}|<br />{{dl/text|{{{opening date6}}}}}}}}}{{{opening date ref|}}}</format></data>
<data source="closing date"><label>Closed:</label></data>
<data source="closing date"><label>Closed:</label><format>{{#if:{{{closing date display|}}}|{{{closing date display}}}{{dl/set|{{{closing date}}}|Closing}}|{{dl|{{{closing date}}}|Closing}}{{#if:{{{closing date2|}}}|<br />{{dl/text|{{{closing date2}}}}}}}{{#if:{{{closing date3|}}}|<br />{{dl/text|{{{closing date3}}}}}}}{{#if:{{{closing date4|}}}|<br />{{dl/text|{{{closing date4}}}}}}}{{#if:{{{closing date5|}}}|<br />{{dl/text|{{{closing date5}}}}}}}{{#if:{{{closing date6|}}}|<br />{{dl/text|{{{closing date6}}}}}}}}}{{{closing date ref|}}}</format></data>
<data source="network"><label>Premiere network:</label></data>
<data source="network"><label>Premiere network{{#if:{{#pos:{{{network|}}}|,}}{{#pos:{{{network|}}}|and}}{{#pos:{{{network|}}}|&}}{{{plural network|}}}|s}}:</label><format>{{#if:{{{network display|}}}|{{{network display}}}{{#arraymap:{{{network}}}|{{{separator|{{{seperator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unkown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|unclear}}||{{#set:network=x}}}}}}|{{#arraymap:{{{network}}}|{{{separator|{{{seperator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unkown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|unclear}}|x|[[network::x|{{da smw|x}}]]}}}}}}</format></data>
<data source="anthology"><label>Part of:</label></data>
<data source="anthology"><label>Part of:</label><format>{{#if:{{{anthology display|}}}|{{{anthology display}}}{{#arraymap:{{{anthology}}}|{{{separator|{{{seperator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unknown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|unclear}}||{{#set:anthology=x}}}}}}|{{#arraymap:{{{anthology}}}|{{{separator|{{{seperator|,}}}}}} |x|''[[anthology::x|{{dau|x}}]]''}}}}</format></data>
<data source="audio anthology"><label>Part of:</label></data>
<data source="audio anthology"><label>Part of:</label><format>{{#if:{{{audio anthology display|}}}|{{{audio anthology display}}}{{#arraymap:{{{audio anthology}}}|{{{separator|{{{seperator|,}}}}}} |x|{{#if:{{#pos:{{lc:x}}|unknown}}{{#pos:{{lc:x}}|various}}{{#pos:{{lc:x}}|unclear}}||{{#set:anthology=x}}}}}}|{{#arraymap:{{{audio anthology}}}|{{{separator|{{{seperator|,}}}}}} |x|''[[anthology::x|{{dau|x}}]]''}}}}</format></data>
<data source="publication"><label>Printed in:</label></data>
<data source="publication"><label>Printed in:</label><format>{{#if:{{{publication display|}}}|{{{publication display}}}|{{{publication}}}}}{{#set:issues={{{publication}}}}}</format></data>
<data source="release date"><label>Release date:</label></data>
<data source="release date"><label>Release date:</label><format>{{#if:{{{release date display|}}}|{{{release date display}}}{{dl/set|{{{release date}}}|Release}}|{{dl|{{{release date}}}|Release}}{{#if:{{{release date2|}}}|<br />{{dl/text|{{{release date2}}}}}}}{{#if:{{{release date3|}}}|<br />{{dl/text|{{{release date3}}}}}}}{{#if:{{{release date4|}}}|<br />{{dl/text|{{{release date4}}}}}}}{{#if:{{{release date5|}}}|<br />{{dl/text|{{{release date5}}}}}}}{{#if:{{{release date6|}}}|<br />{{dl/text|{{{release date6}}}}}}}{{#if:{{{release date7|}}}|<br />{{dl/text|{{{release date7}}}}}}}{{#if:{{{release date8|}}}|<br />{{dl/text|{{{release date8}}}}}}}{{#if:{{{release date9|}}}|<br />{{dl/text|{{{release date9}}}}}}}{{#if:{{{release date10|}}}|<br />{{dl/text|{{{release date10}}}}}}}}}{{{release date ref|}}}</format></data>
<data source="cover date"><label>Cover date:</label></data>
<data source="cover date"><label>Cover date:</label><format>{{#if:{{{cover date display|}}}|{{{cover date display}}}{{dl/set|{{{cover date}}}|Cover}}|{{dl|{{{cover date}}}|Cover}}{{#if:{{{cover date2|}}}|<br />{{dl/text|{{{cover date2}}}}}}}{{#if:{{{cover date3|}}}|<br />{{dl/text|{{{cover date3}}}}}}}{{#if:{{{cover date4|}}}|<br />{{dl/text|{{{cover date4}}}}}}}{{#if:{{{cover date5|}}}|<br />{{dl/text|{{{cover date5}}}}}}}{{#if:{{{cover date6|}}}|<br />{{dl/text|{{{cover date6}}}}}}}}}{{{cover date ref|}}}</format></data>
        <data source="reprint"><label>Reprinted in:</label><format>[[reprint::{{{reprint}}}|{{#iferror:{{#expr:{{#explode:{{{reprint}}}| |1}}+2>1}}|''{{da smw|{{{reprint}}}}}''|{{da smw|{{{reprint}}}}}}}]]{{#if:{{{reprint2|}}}|, [[reprint::{{{reprint2}}}|{{#iferror:{{#expr:{{#explode:{{{reprint2}}}| |1}}+2>1}}|''{{da smw|{{{reprint2}}}}}''|{{da smw|{{{reprint2}}}}}}}]]}}{{#if:{{{reprint3|}}}|, [[reprint::{{{reprint3}}}|{{#iferror:{{#expr:{{#explode:{{{reprint3}}}| |1}}+2>1}}|''{{da smw|{{{reprint3}}}}}''|{{da smw|{{{reprint3}}}}}}}]]}}{{#if:{{{reprint4|}}}|, [[reprint::{{{reprint4}}}|{{#iferror:{{#expr:{{#explode:{{{reprint4}}}| |1}}+2>1}}|''{{da smw|{{{reprint4}}}}}''|{{da smw|{{{reprint4}}}}}}}]]}}{{#if:{{{reprint5|}}}|, [[reprint::{{{reprint5}}}|{{#iferror:{{#expr:{{#explode:{{{reprint5}}}| |1}}+2>1}}|''{{da smw|{{{reprint5}}}}}''|{{da smw|{{{reprint5}}}}}}}]]}}{{#if:{{{reprint6|}}}|, [[reprint::{{{reprint6}}}|{{#iferror:{{#expr:{{#explode:{{{reprint6}}}| |1}}+2>1}}|''{{da smw|{{{reprint6}}}}}''|{{da smw|{{{reprint6}}}}}}}]]}}{{#if:{{{reprint7|}}}|, [[reprint::{{{reprint7}}}|{{#iferror:{{#expr:{{#explode:{{{reprint7}}}| |1}}+2>1}}|''{{da smw|{{{reprint7}}}}}''|{{da smw|{{{reprint7}}}}}}}]]}}{{#if:{{{reprint8|}}}|, [[reprint::{{{reprint8}}}|{{#iferror:{{#expr:{{#explode:{{{reprint8}}}| |1}}+2>1}}|''{{da smw|{{{reprint8}}}}}''|{{da smw|{{{reprint8}}}}}}}]]}}{{#if:{{{reprint9|}}}|, [[reprint::{{{reprint9}}}|{{#iferror:{{#expr:{{#explode:{{{reprint9}}}| |1}}+2>1}}|''{{da smw|{{{reprint9}}}}}''|{{da smw|{{{reprint9}}}}}}}]]}}{{#if:{{{reprint10|}}}|, [[reprint::{{{reprint10}}}|{{#iferror:{{#expr:{{#explode:{{{reprint10}}}| |1}}+2>1}}|''{{da smw|{{{reprint10}}}}}''|{{da smw|{{{reprint10}}}}}}}]]}}</format></data>
    <data source="reprint"><label>Reprinted in:</label><format>[[reprint::{{{reprint}}}|{{#iferror:{{#expr:{{#explode:{{{reprint}}}| |1}}+2>1}}|''{{da smw|{{{reprint}}}}}''|{{da smw|{{{reprint}}}}}}}]]{{#if:{{{reprint2|}}}|, [[reprint::{{{reprint2}}}|{{#iferror:{{#expr:{{#explode:{{{reprint2}}}| |1}}+2>1}}|''{{da smw|{{{reprint2}}}}}''|{{da smw|{{{reprint2}}}}}}}]]}}{{#if:{{{reprint3|}}}|, [[reprint::{{{reprint3}}}|{{#iferror:{{#expr:{{#explode:{{{reprint3}}}| |1}}+2>1}}|''{{da smw|{{{reprint3}}}}}''|{{da smw|{{{reprint3}}}}}}}]]}}{{#if:{{{reprint4|}}}|, [[reprint::{{{reprint4}}}|{{#iferror:{{#expr:{{#explode:{{{reprint4}}}| |1}}+2>1}}|''{{da smw|{{{reprint4}}}}}''|{{da smw|{{{reprint4}}}}}}}]]}}{{#if:{{{reprint5|}}}|, [[reprint::{{{reprint5}}}|{{#iferror:{{#expr:{{#explode:{{{reprint5}}}| |1}}+2>1}}|''{{da smw|{{{reprint5}}}}}''|{{da smw|{{{reprint5}}}}}}}]]}}{{#if:{{{reprint6|}}}|, [[reprint::{{{reprint6}}}|{{#iferror:{{#expr:{{#explode:{{{reprint6}}}| |1}}+2>1}}|''{{da smw|{{{reprint6}}}}}''|{{da smw|{{{reprint6}}}}}}}]]}}{{#if:{{{reprint7|}}}|, [[reprint::{{{reprint7}}}|{{#iferror:{{#expr:{{#explode:{{{reprint7}}}| |1}}+2>1}}|''{{da smw|{{{reprint7}}}}}''|{{da smw|{{{reprint7}}}}}}}]]}}{{#if:{{{reprint8|}}}|, [[reprint::{{{reprint8}}}|{{#iferror:{{#expr:{{#explode:{{{reprint8}}}| |1}}+2>1}}|''{{da smw|{{{reprint8}}}}}''|{{da smw|{{{reprint8}}}}}}}]]}}{{#if:{{{reprint9|}}}|, [[reprint::{{{reprint9}}}|{{#iferror:{{#expr:{{#explode:{{{reprint9}}}| |1}}+2>1}}|''{{da smw|{{{reprint9}}}}}''|{{da smw|{{{reprint9}}}}}}}]]}}{{#if:{{{reprint10|}}}|, [[reprint::{{{reprint10}}}|{{#iferror:{{#expr:{{#explode:{{{reprint10}}}| |1}}+2>1}}|''{{da smw|{{{reprint10}}}}}''|{{da smw|{{{reprint10}}}}}}}]]}}</format></data>
<data source="traded"><label>Traded in:</label></data>
<data source="traded"><label>Traded in:</label></data>
<data source="website"><label>Website:</label></data>
<data source="website"><label>Website:</label></data>
Line 87: Line 89:
<data source="production code"><label>[[List of production codes|Production code]]:</label></data>
<data source="production code"><label>[[List of production codes|Production code]]:</label></data>
<data source="confidential"><label>''[[Doctor Who Confidential|Confidential]]'':</label><format>''[[confidential::{{{confidential}}}{{!}}{{ dau|{{{confidential}}} }}]]''{{#if:{{{confidential2|}}}|, ''[[confidential::{{{confidential2}}}|{{ dau|{{{confidential2}}} }} ]]''}}</format></data>
<data source="confidential"><label>''[[Doctor Who Confidential|Confidential]]'':</label><format>''[[confidential::{{{confidential}}}{{!}}{{ dau|{{{confidential}}} }}]]''{{#if:{{{confidential2|}}}|, ''[[confidential::{{{confidential2}}}|{{ dau|{{{confidential2}}} }} ]]''}}</format></data>
<data source="dwi"><label>''[[Doctor Who Insider]]'':</label><format>''[[dwi::{{{dwi}}}{{!}}{{ dau|{{{dwi}}} }}]]''}}{{#if:{{{dwi2|}}}|, ''[[dwi::{{{dwi2}}}|{{ dau|{{{dwi2}}} }} ]]''}}</format></data>ß
<data source="dwi"><label>''[[Doctor Who Insider]]'':</label><format>''[[dwi::{{{dwi}}}{{!}}{{ dau|{{{dwi}}} }}]]''}}{{#if:{{{dwi2|}}}|, ''[[dwi::{{{dwi2}}}|{{ dau|{{{dwi2}}} }} ]]''}}</format></data>
<data source="unleashed"><label>''[[Doctor Who: Unleashed|Unleashed]]'':</label><format>''[[unleashed::{{{unleashed}}}{{!}}{{dau|{{{unleashed}}}}}]]''{{#if:{{{unleashed2|}}}|, ''[[unleashed::{{{unleashed2}}}|{{ dau|{{{unleashed2}}} }} ]]''}}</format></data>
<data source="odwp"><label>''[[The Official Doctor Who Podcast]]'':</label><format>''[[odwp::{{{odwp}}}{{!}}{{dau|{{{odwp}}}}}]]''{{#if:{{{odwp2|}}}|, ''[[odwp::{{{odwp2}}}|{{ dau|{{{odwp2}}} }} ]]''}}</format></data>
<data source="thwr"><label>''[[Toby Hadoke's Who's Round]]'':</label><format>[[thwr::THWR {{{thwr}}}]]{{#if:{{{thwr2|}}}|, [[thwr::THWR {{{thwr2}}}|{{{thwr2}}}]]|}}{{#if:{{{thwr3|}}}|, [[thwr::THWR {{{thwr3}}}|{{{thwr3}}}]]|}}{{#if:{{{thwr4|}}}|, [[thwr::THWR {{{thwr4}}}|{{{thwr4}}}]]|}}{{#if:{{{thwr5|}}}|, [[thwr::THWR {{{thwr5}}}|{{{thwr5}}}]]|}}{{#if:{{{thwr6|}}}|, [[thwr::THWR {{{thwr6}}}|{{{thwr6}}}]]|}}{{#if:{{{thwr7|}}}|, [[thwr::THWR {{{thwr7}}}|{{{thwr7}}}]]|}}{{#if:{{{thwr8|}}}|, [[thwr::THWR {{{thwr8}}}|{{{thwr8}}}]]|}}{{#if:{{{thwr9|}}}|, [[thwr::THWR {{{thwr9}}}|{{{thwr9}}}]]|}}{{#if:{{{thwr10|}}}|, [[thwr::THWR {{{thwr10}}}|{{{thwr10}}}]]|}}</format></data>
<data source="thwr"><label>''[[Toby Hadoke's Who's Round]]'':</label><format>[[thwr::THWR {{{thwr}}}]]{{#if:{{{thwr2|}}}|, [[thwr::THWR {{{thwr2}}}|{{{thwr2}}}]]|}}{{#if:{{{thwr3|}}}|, [[thwr::THWR {{{thwr3}}}|{{{thwr3}}}]]|}}{{#if:{{{thwr4|}}}|, [[thwr::THWR {{{thwr4}}}|{{{thwr4}}}]]|}}{{#if:{{{thwr5|}}}|, [[thwr::THWR {{{thwr5}}}|{{{thwr5}}}]]|}}{{#if:{{{thwr6|}}}|, [[thwr::THWR {{{thwr6}}}|{{{thwr6}}}]]|}}{{#if:{{{thwr7|}}}|, [[thwr::THWR {{{thwr7}}}|{{{thwr7}}}]]|}}{{#if:{{{thwr8|}}}|, [[thwr::THWR {{{thwr8}}}|{{{thwr8}}}]]|}}{{#if:{{{thwr9|}}}|, [[thwr::THWR {{{thwr9}}}|{{{thwr9}}}]]|}}{{#if:{{{thwr10|}}}|, [[thwr::THWR {{{thwr10}}}|{{{thwr10}}}]]|}}</format></data>
         <data source="isbn"><label>ISBN:</label><format><span class="mn" style="color:#000"<!--necessary to define color for DOL scheme-->>{{{isbn}}}{{#if:{{{isbn|}}}|{{#set:isbn={{{isbn}}}}}|}}</format></data>
         <data source="isbn"><label>ISBN:</label><format>{{{isbn}}}{{#ifeq:{{{isbn|none}}}|none||{{#set:isbn={{#arraymap:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{isbn}}}|<br>|;}}|<br/>|;}}|<br />|;}}|,|;}}|TBA|tba}}|''TBA''|tba}}|''tba''|tba}}|;|VAR|{{#ifeq:{{#explode:VAR|(|0}}|tba||{{#explode:VAR|(|0}}}}|;}}|+sep=;}}}}</format></data>
<group layout="horizontal">
<group layout="horizontal">
<data source="ibook"><format><span style="color:#000">[http://itunes.apple.com/book/id{{{ibook}}} available as iBook]</span></format></data>
<data source="ibook"><format><span style="color:#000">[http://itunes.apple.com/book/id{{{ibook}}} available as iBook]</span></format></data>
Line 108: Line 112:
       <group>
       <group>
       <header>{{#if:{{{soundcloudtrailer|}}}|Video trailer|Official trailer}}</header>
       <header>{{#if:{{{soundcloudtrailer|}}}|Video trailer|Official trailer}}</header>
      <image source="trailer" />
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
       </group>
       </group>


       <group>
       <group>
       <header>Another official trailer</header>
       <header>Another official trailer</header>
      <image source="trailer2" />
      <data source="trailer2"><format>{{video|{{{trailer2}}}|250px|center}}</format></data>
       </group>
       </group>


       <group>
       <group>
       <header>{{{clip name|Memorable moment}}}</header>
       <header>{{{clip name|Memorable moment}}}</header>
      <image source="clip" />
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
       </group>
       </group>
        
        
       <group>
       <group>
       <header>{{{clip2 name|Another memorable moment}}}</header>
       <header>{{{clip2 name|Another memorable moment}}}</header>
      <image source="clip2" />
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
       </group>
       </group>
        
        
       <group>
       <group>
       <header>{{{clip3 name|One more memorable moment}}}</header>
       <header>{{{clip3 name|One more memorable moment}}}</header>
      <image source="clip3" />
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
         </group>
         </group>
        
        
         <group>
         <group>
         <header>{{{fullvid name|Full video}}}</header>
         <header>{{{fullvid name|Full video}}}</header>
      <image source="fullvid" />
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
</group>
</group>


         <group>
         <group>
         <header>{{{bts name|Behind the scenes video}}}</header>
         <header>{{{bts name|Behind the scenes video}}}</header>
      <image source="bts" />
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
</group>
</group>


         <group>
         <group>
         <header>More behind the scenes stuff</header>
         <header>More behind the scenes stuff</header>
      <image source="bts2" />
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
</group>
</group>


<group>
<group>
<header>Another behind the scenes moment</header>
<header>Another behind the scenes moment</header>
      <image source="bts3" />
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
</group>
 
    <group>
<header>Yet another behind the scenes moment</header>
      <data source="bts4"><format>{{video|{{{bts4}}}|250px|center}}</format></data>
</group>
 
    <group>
<header>Even more behind the scenes material</header>
      <data source="bts5"><format>{{video|{{{bts5}}}|250px|center}}</format></data>
</group>
</group>


<group>
<group>
         <header>A Scene in Analysis</header>
         <header>A Scene in Analysis</header>
        <image source="scene analysis" />
        <data source="scene analysis"><format>{{video|{{{scene analysis}}}|250px|center}}</format></data>
</group>
</group>


<group>
<group>
         <header>Extended interview</header>
         <header>Extended interview</header>
        <image source="ex interview" />
        <data source="ex interview"><format>{{video|{{{ex interview}}}|250px|center}}</format></data>
</group>
</group>


Line 194: Line 208:
<group layout="horizontal">
<group layout="horizontal">
         <header>Behind the scenes interview</header>
         <header>Behind the scenes interview</header>
<data source="soundcloudbts"><format>{{soundcloud|{{{soundcloudbts}}}}}</format></data>
<data source="soundcloudbts"><format>{{soundcloud|{{{soundcloudbts}}}}}</format></data>
     </group>
     </group>
<group layout="horizontal">
<group layout="horizontal">
         <header>Behind the scenes podcast</header>
         <header>Behind the scenes podcast</header>
<data source="podcast"><format>{{soundcloud|{{{podcast}}}}}</format></data>
<data source="podcast"><format>{{soundcloud|{{{podcast}}}}}</format></data>
     </group>
     </group>
<group layout="horizontal">
<group layout="horizontal">
         <header>Audio commentary</header>
         <header>Audio commentary</header>
<data source="audio commentary"><format>{{soundcloud|{{{audio commentary}}}}}</format></data>
<data source="audio commentary"><format>{{soundcloud|{{{audio commentary}}}}}</format></data>
</group>
</group>


<group layout="horizontal">
<group layout="horizontal">
         <header>Full audio</header>
         <header>Full audio</header>
<data source="fullaud"><format>{{soundcloud|{{{fullaud}}}}}</format></data>
<data source="fullaud"><format>{{soundcloud|{{{fullaud}}}}}</format></data>
</group>
</group>


<!-- Navigation -->  
<!-- Navigation -->  
     <group layout="horizontal">
     <group layout="horizontal">
    <header>Navigation</header>
    <header>Navigation</header>
    <header><div class="story-nav">{{{series}}}</div></header>
    <header><div class="story-nav">{{{series}}}{{#set:series={{{series}}}}}</div></header>
    <data source="prev"><label>&larr; Previous</label><format>''{{da|{{{prev}}}}}''</format></data>
    <data source="prev"><label>&larr; Previous</label><format>''{{da|{{{prev}}}}}''</format></data>
    <data source="next"><label>Next &rarr;</label><format>''{{da|{{{next}}}}}''</format></data>
    <data source="next"><label>Next &rarr;</label><format>''{{da|{{{next}}}}}''</format></data>
    </group>
 
    <group layout="horizontal">
    <header><div class ="story-nav">{{{series2}}}</div></header>
    <data source="prev2"><label>&larr; Previous</label><format>''{{da|{{{prev2}}}}}''</format></data>
    <data source="next2"><label>Next &rarr;</label><format>''{{da|{{{next2}}}}}''</format></data>
     </group>
     </group>


     <group layout="horizontal">
     <group layout="horizontal">
    <header><div class ="story-nav">{{{series2}}}</div></header>
    <header><div class="story-nav">Production order</div></header>
    <data source="prev2"><label>&larr; Previous</label><format>''{{da|{{{prev2}}}}}''</format></data>
    <data source="made prev"><label>&larr; Previous</label><format>''{{da|{{{made prev}}}}}''</format></data>
    <data source="next2"><label>Next &rarr;</label><format>''{{da|{{{next2}}}}}''</format></data>
    <data source="made next"><label>Next &rarr;</label><format>''{{da|{{{made next}}}}}''</format></data>
     </group>
     </group>


     <group layout="horizontal">
     <group layout="horizontal">
    <header><div class="story-nav">Production order</div></header>
    <header><div class="story-nav">{{{series3}}}</div></header>
    <data source="made prev"><label>&larr; Previous</label><format>''{{da|{{{made prev}}}}}''</format></data>
    <data source="prev3"><label>&larr; Previous</label><format>''{{da|{{{prev3}}}}}''</format></data>
    <data source="made next"><label>Next &rarr;</label><format>''{{da|{{{made next}}}}}''</format></data>
    <data source="next3"><label>Next &rarr;</label><format>''{{da|{{{next3}}}}}''</format></data>
     </group>
     </group>


     <group layout="horizontal">
     <group layout="horizontal">
    <header><div class="story-nav">{{{series3}}}</div></header>
    <header><div class="story-nav">{{{series4}}}</div></header>
    <data source="prev3"><label>&larr; Previous</label><format>''{{da|{{{prev3}}}}}''</format></data>
    <data source="prev4"><label>&larr; Previous</label><format>''{{da|{{{prev4}}}}}''</format></data>
    <data source="next3"><label>Next &rarr;</label><format>''{{da|{{{next3}}}}}''</format></data>
    <data source="next4"><label>Next &rarr;</label><format>''{{da|{{{next4}}}}}''</format></data>
     </group>
     </group>


</infobox>
</infobox>
<noinclude>Redesign of {{tlx|Infobox Story}} with [[T:SMW|SMW]] data collection. It needs to be saved in the template namespace to make the wikitext in any way readable. <!--[[Category:Infoboxes]]--></noinclude>
<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>

Latest revision as of 18:20, 19 September 2024

Instructions for {{Infobox Story SMW}}
{{Infobox Story SMW}} is an adapation of {{Infobox Story}} that collects a large amount of additional data that can be accessed by other templates on other pages. One of the main things that this data is used for is to produce the additional information that forms the core of {{cite source}}. Therefore, this template is a requirement to use {{cite source}}. The data is also stored to Semantic MediaWiki, providing the potential for it to be used elsewhere by other templates in the future.

Usage[[edit source]]

This template is used almost identically to {{Infobox Story}} with a few important changes. If you're converting a page from using {{Infobox Story}} to using this template, simply run through the steps below. If you're implementing this template on a new page, first setup this template like {{Infobox Story}} and then switch it over to this one with the steps below.

  • |writer= should be converted into an unlinked, comma separated list, if it is used. For example, "|writer=[[Malorie Blackman]] and [[Chris Chibnall]]" would become "|writer=Malorie Blackman, Chris Chibnall".
    • In more complex scenarios, such as when parentheticals and/or footnotes are used, or if {{il}} is used, |writer= should be set as above, without links, parentheticals, footnotes or templates like {{il}}. In addition, |writer display= should be set with the old text of |writer=, including all parentheticals, footnotes, templates and links that were used. This parameter will be used as the display text.
  • |publisher=, |publisher2= and |publisher3= should be merged into |publisher= as an unlinked, comma separated list, if they are used.
  • Links should be removed from |anthology=, |audio anthology= and |network=, if they are used. If there are multiple items for any of these fields, use a comma separated list.
  • If any of the individual items (even if it is the only item) in |writer=, |publisher=, |anthology=, |audio anthology= or |network= contain a comma, set |separator= to some other suitable deliminator, such as ";", and replace all commas used for separating items in each of those fields with this new separator.
  • Simple dab terms are automatically removed from the display text of the unlinked fields mentioned so far. In more complex scenarios, custom display text can be specified by adding "{{!}}" after the unlinked page name, followed by the display text. Note that any pipes ("|") that appear in the display text should also be replaced with "{{!}}". For example, to produce 2|entertain, you would type "2 entertain{{!}}2{{!}}entertain".
  • Including the text "unknown", "various" or "unclear" as one of the things listed in these comma-separated fields will cause that thing to not be autolinked. That allows for arbitrary wiki markup to be used, as long as one of these phrases are present. Additionally, "see authorship" has the same behaviour for |writer= only.
  • If these fields are detected to contain commas, their label will automatically be pluralised. You can force these labels to be pluralised by setting fields like |plural writer=, |plural publisher=, plural network=, etc. to any value.
  • For scenarios that are too complicated to represent with one of the above fields, set the problematic field to the text that should be saved to SMW and used in citations. Then, set the display text with a field like |writer display=, |publisher display=, |network display=, etc.
    • There is a depracated |contributors= that is the same as |writer display=, but that also sets |plural writer=. This is being phased out.
  • Links and dab terms should be removed from all date fields (such as |release date= and |broadcast date=) that are used. For example, "[[23 November (releases)|23 November]] - [[14 December (releases)|14 December]] [[1963 (releases)|1963]]" would become "23 November - 14 December 1963". For more details, see the documentation at {{date link}}.
    • If there are multiple dates or date ranges separated by commas or <br>s, or wrapped in {{il}}, split the field into multiple, numbered fields such as |release date=, |release date2=, |release date3=, etc. The same is true for other date fields (e.g. |broadcast date2=...). Note that only the original, un-numbered, field is saved to SMW and used in citations.
    • If the date is accompanied by a citation, you can add that by using |release date ref=, |broadcast date ref=, etc. This will add the contents of that field to the end of the date, or list of dates if multiple numbered fields are used.
    • For scenarios too complicated to represent with the above fields, set the primary date field (e.g. |release date=, |broadcast date=, etc.) to the date to be saved to SMW and used for citations. Then, set |release date display= (or |broadcast date display=, etc.) to the display text for the infobox.

Customising the additional information[[edit source]]

As previously mentioned, data collected from this template is used to produce the additional information that forms the core of {{cite source}}. While this usually works fine without making any adjustments, sometimes it doesn't; in those cases, the additional information can be customised.

The source's series is normally taken from |range= or |series=, in that order of preference. If these fail to produce satisfactory text, custom series text can be set using |citation series=. This parameter is not displayed anywhere in the infobox: it's only used in {{cite source}}, and it can contain arbitrary wiki markup. Very common series overrides can be set globally to apply to all pages according to the documentation at Module:Cite source/series overrides.

The entire additional information text can be overridden fully using |citation text=. This parameter is not displayed anywhere in the infobox, only in {{cite source}}. It can contain arbitrary wiki markup.