Template:Infobox Collection: Difference between revisions

From Down Gilead Lane Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


--><div class="prevnext" style="padding: 1px 6px; font-size:10px; border: 1px solid #778FE1; width: 70%;{{radius|10}} background-color:#eaecf0;">
--><div class="prevnext" style="padding: 1px 6px; font-size:10px; border: 1px solid #778FE1; width: 70%;{{radius|10}} background-color:#eaecf0;">
<div style="float:left;text-align:left;"><span class="prevLink">{{#ifeq:{{#var:col}}|Season 1|'''First Collection'''|[[{{#dpl:category=Collections|ordermethod=sortkey|count=1|format=,|include={Infobox Collection}/subtitle|skipthispage=no|offset={{#expr:{{#switch:{{#explode:{{#var:col}}| |0}}|Season={{#explode:{{#var:col}}| |1}}{{#ifexpr:{{#explode:{{#var:col}}| |1}}>=8|+1}}|Special=18|Lost=7|#default={{{spc}}}+13}}-2}}}}]]}}</span></div>
<div style="float:left;text-align:left;"><span class="prevLink">{{#ifeq:{{PAGENAME}}|Season 1|'''First Collection'''|[[{{#dpl:category=Collections|ordermethod=sortkey|count=1|format=,|include={Infobox Collection}/subtitle|skipthispage=no|offset={{#expr:{{#switch:{{#explode:{{PAGENAME}}| |0}}|Season={{#explode:{{PAGENAME}}| |1}}{{#ifexpr:{{#explode:{{PAGENAME}}| |1}}>=8|+1}}|Special=18|Lost=7|#default={{{spc}}}+13}}-2}}}}]]}}</span></div>
<div style="float:center;text-align:center;"><span class="thisPage">{{#switch:{{#explode:{{#var:col}}| |0}}|Season={{#var:col}}{{#if:{{{subtitle|}}}|&#58; ''{{{subtitle}}}''}}|Special|Lost={{#var:col}}|#default=''{{#var:col}}''}}</span><span class="thisBullet" style="visibility:hidden;">{{·}}</span>
<div style="float:center;text-align:center;"><span class="thisPage">{{#switch:{{#explode:{{#var:col}}| |0}}|Season={{#var:col}}{{#if:{{{subtitle|}}}|&#58; ''{{{subtitle}}}''}}|Special|Lost={{#var:col}}|#default=''{{#var:col}}''}}</span><span class="thisBullet" style="visibility:hidden;">{{·}}</span>
<div style="float:right;text-align:right;"><span class="nextLink">{{#switch:{{#var:col}}|Special episodes='''Final Collection'''|Lost episodes=[[Unproduced episodes]]|#default=[[{{#dpl:category=Collections|ordermethod=sortkey|count=1|format=,|include={Infobox Collection}/subtitle|skipthispage=no|offset={{#expr:{{#switch:{{#explode:{{#var:col}}| |0}}|Season={{#explode:{{#var:col}}| |1}}{{#ifexpr:{{#explode:{{#var:col}}| |1}}>=6|+1}}|Special=18|Lost=7|#default={{{spc}}}+13}}}}}}]]}}</span></div></div>
<div style="float:right;text-align:right;"><span class="nextLink">{{#switch:{{PAGENAME}}|Special episodes='''Final Collection'''|Lost episodes=[[Unproduced episodes]]|#default=[[{{#dpl:category=Collections|ordermethod=sortkey|count=1|format=,|include={Infobox Collection}/subtitle|skipthispage=no|offset={{#expr:{{#switch:{{#explode:{{PAGENAME}}| |0}}|Season={{#explode:{{PAGENAME}}| |1}}{{#ifexpr:{{#explode:{{PAGENAME}}| |1}}>=6|+1}}|Special=18|Lost=7|#default={{{spc}}}+13}}}}}}]]}}</span></div></div>
</div><!--
</div><!--


Line 13: Line 13:
--><div style="clear:left;font-size:10px;text-align:center;border-top:2px solid Crimson;"></div>
--><div style="clear:left;font-size:10px;text-align:center;border-top:2px solid Crimson;"></div>
<div style="height:6px"></div>
<div style="height:6px"></div>
[[File:{{{collection_image|{{#switch:{{#explode:{{#var:col}}| |0}}|Season={{padleft:{{#explode:{{#var:col}}| |1}}|2}}|Special=12|Lost=01|#default=S{{{spc}}}}}}}}.jpg|center|250px]]
[[File:{{{collection_image|{{#switch:{{#explode:{{PAGENAME}}| |0}}|Season={{padleft:{{#explode:{{PAGENAME}}| |1}}|2}}|Special=12|Lost=01|#default=S{{{spc}}}}}}}}.jpg|center|250px]]
</div>
</div>
{{#if:{{{caption|}}}|<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #eaecf0;">
{{#if:{{{caption|}}}|<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #eaecf0;">
Line 21: Line 21:
--><div style="clear:left;font-size:10px;text-align:center;">
--><div style="clear:left;font-size:10px;text-align:center;">
<div style="width:125px;float:left;text-align:left;">Number of Episodes</div>
<div style="width:125px;float:left;text-align:left;">Number of Episodes</div>
<div style="width:125px;float:right;text-align:right;">[[:Category:{{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}|{{PAGESINCAT:{{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}}}]]</div>{{-}}
<div style="width:125px;float:right;text-align:right;">[[:Category:{{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}|{{PAGESINCAT:{{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}}}]]</div>{{-}}
</div><!--
</div><!--


Line 28: Line 28:
<div style="width:125px;float:right;text-align:right;">MP3: <includeonly>{{SecToTime|{{SecInCat}}}}</includeonly><!--
<div style="width:125px;float:right;text-align:right;">MP3: <includeonly>{{SecToTime|{{SecInCat}}}}</includeonly><!--


-->{{#switch:{{#var:col}}|Special episodes|Lost episodes=|#default=<includeonly><br>CD: {{SecToTime|{{SecInCat|type=cd}}}}</includeonly>}}</div>{{-}}
-->{{#switch:{{PAGENAME}}|Special episodes|Lost episodes=|#default=<includeonly><br>CD: {{SecToTime|{{SecInCat|type=cd}}}}</includeonly>}}</div>{{-}}
</div><!--
</div><!--


--><div style="clear:left;font-size:10px;text-align:center;">
--><div style="clear:left;font-size:10px;text-align:center;">
<div style="width:125px;float:left;text-align:left;">Original Release</div>
<div style="width:125px;float:left;text-align:left;">Original Release</div>
<div style="width:125px;float:right;text-align:right;">{{{rel_date|{{#sub:{{#dpl:category={{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}|ordermethod=sortkey|order=descending|count=1|format=,|include={Infobox Episode}:airdate}}|-4}}}}}</div>
<div style="width:125px;float:right;text-align:right;">{{{rel_date|{{#sub:{{#dpl:category={{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}|ordermethod=sortkey|order=descending|count=1|format=,|include={Infobox Episode}:airdate}}|-4}}}}}</div>
</div><!--
</div><!--


Line 40: Line 40:
-->{{#if:{{{kfkcd|}}}{{{kfkmp3|}}}{{{amz|}}}{{{aud|}}}{{{apb|}}}|<div style="clear:left;font-size:10px;text-align:center;">
-->{{#if:{{{kfkcd|}}}{{{kfkmp3|}}}{{{amz|}}}{{{aud|}}}{{{apb|}}}|<div style="clear:left;font-size:10px;text-align:center;">
<div style="width:90px;float:left;text-align:left;">Purchase collection</div>
<div style="width:90px;float:left;text-align:left;">Purchase collection</div>
<div class="plainlinks" style="width:160px;float:right;text-align:right;">{{#if:{{{kfkcd|}}}|[https://shop.keysforkids.org/{{{kfkcd}}} Keys for Kids (CD) ][[File:CD icon.svg|14px|link=https://shop.keysforkids.org/{{{kfkcd}}}]]<br>}}{{#if:{{{kfkmp3|}}}|[https://shop.keysforkids.org/{{{kfkmp3}}} Keys for Kids (MP3) ][[File:Download icon.svg|14px|link=https://shop.keysforkids.org/{{{kfkmp3}}}]]<br>}}{{#if:{{{amz|}}}|[https://www.amazon.com/dp/{{{amz}}} Amazon (CD) ][[File:Amazon icon.svg|14px|link=https://www.amazon.com/dp/{{{amz}}}]]<br>}}{{#if:{{{aud|}}}|[https://www.audible.com/pd/{{{aud}}} Audible ][[File:Audible icon.svg|14px|link=https://www.audible.com/pd/{{{aud}}}]]<br>}}{{#if:{{{aud|}}}|[https://books.apple.com/audiobook/id{{{apb}}} Apple Books ][[File:Apple Books icon.svg|14px|link=https://books.apple.com/audiobook/id{{{apb}}}]]<br>}}
<div class="plainlinks" style="width:160px;float:right;text-align:right;">{{#if:{{{kfkcd|}}}|[https://shop.keysforkids.org/products/{{{prefix|seasons}}}?variant={{{kfkcd}}} Keys for Kids (CD) ][[File:CD icon.svg|14px|link=https://shop.keysforkids.org/products/{{{prefix|seasons}}}?variant={{{kfkcd}}}]]<br>}}{{#if:{{{kfkmp3|}}}|[https://shop.keysforkids.org/products/{{{prefix|seasons}}}?variant={{{kfkmp3}}} Keys for Kids (MP3) ][[File:Download icon.svg|14px|link=https://shop.keysforkids.org/products/{{{prefix|seasons}}}?variant={{{kfkmp3}}}]]<br>}}{{#if:{{{amz|}}}|[https://www.amazon.com/dp/{{{amz}}} Amazon (CD) ][[File:Amazon icon.svg|14px|link=https://www.amazon.com/dp/{{{amz}}}]]<br>}}{{#if:{{{aud|}}}|[https://www.audible.com/pd/{{{aud}}} Audible ][[File:Audible icon.svg|14px|link=https://www.audible.com/pd/{{{aud}}}]]<br>}}{{#if:{{{aud|}}}|[https://books.apple.com/audiobook/id{{{apb}}} Apple Books ][[File:Apple Books icon.svg|14px|link=https://books.apple.com/audiobook/id{{{apb}}}]]<br>}}
</div>{{-}}
</div>{{-}}
</div>}}<!--
</div>}}<!--
Line 48: Line 48:
-->{{{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}}]]}}.<!--
-->{{{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 {{#var:col}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|mode=userformat|resultsheader=%PAGES%}}}}|1={{#dpl:titlematch={{#dpl:category=Episodes in {{#var:col}}|mode=userformat|include={Infobox Episode}:writer|format=,{{!}}}}|format=,[[%TITLE%]]}}|2={{#dpl:titlematch={{#dpl:category=Episodes in {{#var:col}}|mode=userformat|include={Infobox Episode}:writer:writer2|format=,{{!}}}}|ordermethod=title|format=,[[%TITLE%]]|inlinetext=<nowiki /> and <nowiki />}}|#default={{#dpl:titlematch={{#dpl:category=Episodes in {{#var:col}}|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 {{#var:col}}|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}}}}}}<!--


-->{{#vardefine:airFirst|{{#dpl:category=Episodes|category={{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}|{{PAGESINCAT:{{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}}}|ordermethod=sortkey|count=1|mode=userformat|include={Infobox Episode}:airdate}}}}{{#vardefine:airLast|{{#dpl:category=Episodes|category={{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}|{{PAGESINCAT:{{#switch:{{#var:col}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{#var:col}}}}}}|ordermethod=sortkey|count=1|mode=userformat|include={Infobox Episode}:airdate|order=descending}}}}<!--
-->{{#vardefine:airFirst|{{#dpl:category=Episodes|category={{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}|{{PAGESINCAT:{{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}}}|ordermethod=sortkey|count=1|mode=userformat|include={Infobox Episode}:airdate}}}}{{#vardefine:airLast|{{#dpl:category=Episodes|category={{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}|{{PAGESINCAT:{{#switch:{{PAGENAME}}|Special episodes=Special episodes|Lost episodes=Lost episodes|#default=Episodes in {{PAGENAME}}}}}}|ordermethod=sortkey|count=1|mode=userformat|include={Infobox Episode}:airdate|order=descending}}}}<!--


-->{{#ifeq:{{#var:airFirst}}|{{#var:airLast}}|<nowiki /> and aired on the radio in {{#var:airFirst}}|, began airing on the radio {{#ifeq:{{#len:{{#var:airFirst}}}}|4|in|on}} {{#var:airFirst}}, and finished airing {{#ifeq:{{#len:{{#var:airLast}}}}|4|in|on}} {{#var:airLast}}}}.}}}}}<!--
-->{{#ifeq:{{#var:airFirst}}|{{#var:airLast}}|<nowiki /> and aired on the radio in {{#var:airFirst}}|, began airing on the radio {{#ifeq:{{#len:{{#var:airFirst}}}}|4|in|on}} {{#var:airFirst}}, and finished airing {{#ifeq:{{#len:{{#var:airLast}}}}|4|in|on}} {{#var:airLast}}}}.}}}}}<!--


--><includeonly><!--
--><includeonly><!--
-->{{DEFAULTSORT:{{#switch:{{#explode:{{#var:col}}| |0}}|Season={{padleft:{{#explode:{{#var:col}}| |1}}|2}}|Special=17|Lost=06.5|#default=12+{{{spc}}}}}}}<!--
-->{{DEFAULTSORT:{{#switch:{{#explode:{{PAGENAME}}| |0}}|Season={{padleft:{{#explode:{{PAGENAME}}| |1}}|2}}|Special=17|Lost=06.5|#default=12+{{{spc}}}}}}}<!--
-->[[Category:Collections]]</includeonly>
-->[[Category:Collections]]</includeonly>

Latest revision as of 20:32, 22 August 2024

Collection {{{spc}}}: Infobox Collection

[[File:S{{{spc}}}.jpg|center|250px]]

Number of Episodes

Total Time
MP3:

Original Release