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

From blackwiki
Jump to navigation Jump to search
imported>Gonnym
(Undid revision 967685591 by Gonnym (talk))
imported>Gonnym
(fixed header style hack with rowcellstyle)
 
Line 37: Line 37:
 
| data9          = {{{airdate|}}}
 
| data9          = {{{airdate|}}}
  
| data10        = {{Infobox
+
| header10      = Episode chronology
| child        = yes
+
| rowcellstyle10 = background: transparent;
| decat        = yes
 
  
| headerclass  = summary
+
| rowclass11     = noprint
| autoheaders    = y
+
| data11         = {{#if: {{{prev|}}} {{{next|}}} |
 
 
| 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 54: Line 48:
 
}}
 
}}
  
| rowclass3     = noprint
+
| rowclass12     = noprint
| data3         = {{#if: {{{season_article|}}} | {{#invoke:string|replace|{{{season_article|}}}|^(([^\(]*)%(([^\)]*)%)(.*))$|[[%1|''%2''(%3)%4]]|plain=false}} }}
+
| data12         = {{#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 09:43, 15 September 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.