Template:Infobox Story SMW: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) (I always seem to forget the # in parser functions when there isn't proper syntax highlighting) |
||
Line 33: | Line 33: | ||
<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:</label><format>[[publisher::{{{publisher}}}]]{{#if:{{{publisher2|}}}|, [[publisher::{{{publisher2}}}]]}}{{#if:{{{publisher3|}}}|, [[publisher::{{{publisher3}}}]]}}{{#vardefine:publisher|True}}<!--future proofing--></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><format>{{#arraymap:{{{developer}}}|, <nowiki />|x|[[developer::x]]}}{{#vardefine:developer|True}}<!--future proofing--></format></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><format>{{#arraymap:{{{editor}}}|, <nowiki />|x|[[editor::x]]}}{{#vardefine:editor|True}}<!--future proofing--></format></data> | ||
<data source="writer"><label>Writer:</label><format>{{#arraymap:{{{writer}}}|, <nowiki />|x|[[writer::x]]}}{{vardefine:writer|True}}<!--future proofing--></format></data> | <data source="writer"><label>Writer:</label><format>{{#arraymap:{{{writer}}}|, <nowiki />|x|[[writer::x]]}}{{#vardefine:writer|True}}<!--future proofing--></format></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="lead writer"><label>Lead writer</label><format>[[lead writer::{{{lead writer}}}|{{{lead writer}}}]]{{#vardefine:lead writer|True}}<!--future proofing--></format></data> | ||
<data source="other writers"><label>Other writers:</label></data> | <data source="other writers"><label>Other writers:</label></data> | ||
<data source="director"><label>Director:</label></data> | <data source="director"><label>Director:</label></data> |
Revision as of 17:27, 15 July 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.