Template:Infobox Story SMW: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
<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:</label><format>[[doctor::{{{doctor}}}]]</format></data> | ||
<data source="team"><label>Main character(s):</label><format>{{#arraymap:{{{team}}}|, <nowiki />|x|[[ | <data source="team"><label>Main character(s):</label><format>{{#arraymap:{{{team}}}|, <nowiki />|x|[[main character::x]]}}</format></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><format>{{#arraymap:{{{main character}}}|, <nowiki />|x|[[main character::x]]}}</format></data> | ||
<data source="companions"><label>Companion(s):</label><format>{{#arraymap:{{{companions}}}|, <nowiki />|x|[[ | <data source="companions"><label>Companion(s):</label><format>{{#arraymap:{{{companions}}}|, <nowiki />|x|[[companion::x]]}}</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="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> |
Revision as of 18:28, 6 August 2021
Redesign of {{Infobox Story}} with SMW data collection. It needs to be saved in the template namespace to make the wikitext in any way readable.