Template:Infobox Collection: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 46: Line 46:
--></div><!--
--></div><!--


-->{{{lead_section|{{#if:{{{spc|{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Season|Y}}}}}|'''{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Season|{{PAGENAME}}{{#if:{{{subtitle|}}}|&#58; ''{{{subtitle}}}''}}|''{{PAGENAME}}''}}''' is the {{Ordinal|{{{spc|{{#explode:{{PAGENAME}}| |1}}}}}}} {{#if:{{{spc|}}}|collection of [[special episodes]] from [[Down Gilead Lane]]{{#ifeq:{{{spc|}}}|1||&nbsp;and [[Beyond Gilead]]}}|regular season of [[{{#ifexpr:{{#explode:{{PAGENAME}}| |1}}<=6|Down Gilead Lane|Beyond Gilead}}]]}}.<!--
-->{{{lead_section|{{#if:{{{spc|{{#ifeq:{{#explode:{{#var:col}}| |0}}|Season|Y}}}}}|'''{{#ifeq:{{#explode:{{#var:col}}| |0}}|Season|{{#var:col}}{{#if:{{{subtitle|}}}|&#58; ''{{{subtitle}}}''}}|''{{#var:col}}''}}''' is the {{Ordinal|{{{spc|{{#explode:{{#var:col}}| |1}}}}}}} {{#if:{{{spc|}}}|collection of [[special episodes]] from [[Down Gilead Lane]]{{#ifeq:{{{spc|}}}|1||&nbsp;and [[Beyond Gilead]]}}|regular season of [[{{#ifexpr:{{#explode:{{#var:col}}| |1}}<=6|Down Gilead Lane|Beyond Gilead}}]]}}.<!--


--><nowiki /> Its episodes were written by {{#switch:{{#vardefineecho:numWriters|{{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|mode=userformat|resultsheader=%PAGES%}}}}|1={{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer|format=,{{!}}}}|format=,[[%TITLE%]]}}|2={{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]|inlinetext=<nowiki /> and <nowiki />}}|#default={{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]&#44; <nowiki />|count={{#expr:{{#var:numWriters}}-1}}}}and {{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]|count=1|offset={{#expr:{{#var:numWriters}}-1}}}}}}<!--
--><nowiki /> Its episodes were written by {{#switch:{{#vardefineecho:numWriters|{{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|mode=userformat|resultsheader=%PAGES%}}}}|1={{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer|format=,{{!}}}}|format=,[[%TITLE%]]}}|2={{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]|inlinetext=<nowiki /> and <nowiki />}}|#default={{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]&#44; <nowiki />|count={{#expr:{{#var:numWriters}}-1}}}}and {{#dpl:titlematch={{#dpl:category=Episodes in {{PAGENAME}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]|count=1|offset={{#expr:{{#var:numWriters}}-1}}}}}}<!--