Difference between revisions of "Template:Infobox television crossover episode/part/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Gonnym
m
imported>Gonnym
 
Line 17: Line 17:
  
 
| label3        = Episode {{abbr|no.|number}}
 
| label3        = Episode {{abbr|no.|number}}
| data3          = {{#if: {{{season|}}} | Season {{{season|}}}<br /> }} {{#if: {{{episode_no|}}} | {{#switch: {{{episode_no}}} |Special | special = Special episode |? = Episode {{Abbr|TBA|to be announced}} |#default = Episode {{{episode_no|}}} }} }}
+
| data3          = {{#if: {{{season|}}} | Season {{{season|}}}<br /> }} {{#if: {{{episode_no|}}} | {{#switch: {{{episode_no}}} |Special | special = Special episode |? = Episode {{Abbr|TBA|To be announced}} |#default = Episode {{{episode_no|}}} }} }}
  
 
| label4        = Directed by
 
| label4        = Directed by
Line 37: Line 37:
 
| data9          = {{{airdate|}}}
 
| data9          = {{{airdate|}}}
  
| header10      = Episode chronology
+
| data10        = {{Infobox
 +
| child        = yes
 +
| decat        = yes
  
| rowclass11     = noprint
+
| headerclass  = summary
| data11         = {{#if: {{{prev|}}} {{{next|}}} |
+
| autoheaders    = y
 +
 
 +
| header1      = Episode chronology
 +
 
 +
| rowclass2     = noprint
 +
| data2         = {{#if: {{{prev|}}} {{{next|}}} |
 
{{{!}} style="width:100%;"
 
{{{!}} style="width:100%;"
 
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} ←&nbsp;'''Previous'''<br />{{#if: {{{prev|}}} | "{{{prev}}}" | &mdash; }}
 
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} ←&nbsp;'''Previous'''<br />{{#if: {{{prev|}}} | "{{{prev}}}" | &mdash; }}
Line 47: Line 54:
 
}}
 
}}
  
| rowclass12     = noprint
+
| rowclass3     = noprint
| data12         = {{#if: {{{season_article|}}} | {{#invoke:string|replace|{{{season_article|}}}|^(([^\(]*)%(([^\)]*)%)(.*))$|[[%1|''%2''(%3)%4]]|plain=false}} }}
+
| data3         = {{#if: {{{season_article|}}} | {{#invoke:string|replace|{{{season_article|}}}|^(([^\(]*)%(([^\)]*)%)(.*))$|[[%1|''%2''(%3)%4]]|plain=false}} }}
 +
 
 +
| belowclass    = noprint
 +
| below        = {{#if: {{{episode_list|}}} | {{#invoke:String|replace|{{#invoke:String|replace|{{Delink|{{{episode_list|}}}}}|^((List of )([^\(]*)(.*)( [^%s]*))$|[[%1|%2''%3''%4%5]]|plain=false}}|^(([^\[][^\(\#]*)(.*))$|[[%1|List of ''%2'' episodes]]|plain=false}} | {{#if: {{{series|}}} | [[List of {{Delink|{{{series}}}}} episodes|List of ''{{Delink|{{{series}}}}}'' episodes]] }} }}
  
| belowclass    = noprint
+
}}
| below          = {{#if: {{{episode_list|}}} | {{#invoke:String|replace|{{#invoke:String|replace|{{Delink|{{{episode_list|}}}}}|^((List of )([^\(]*)(.*)( [^%s]*))$|[[%1|%2''%3''%4%5]]|plain=false}}|^(([^\[][^\(\#]*)(.*))$|[[%1|List of ''%2'' episodes]]|plain=false}} | {{#if: {{{series|}}} | [[List of {{Delink|{{{series}}}}} episodes|List of ''{{Delink|{{{series}}}}}'' episodes]] }} }}
 
  
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 17:50, 14 July 2020

Template documentation[view] [edit] [history] [purge]

Usage

A sub-page of Template:Infobox television crossover episode which creates an episode section. See parent template for more details.