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

From blackwiki
Jump to navigation Jump to search
imported>Gonnym
(Created page with '{{Infobox | child = yes | decat = yes | bodyclass = vevent | headerclass = summary | headerstyle = background: #CCCCFF; padding: 0...')
 
imported>Gonnym
Line 7: Line 7:
 
| headerclass    = summary
 
| headerclass    = summary
 
| headerstyle    = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
 
| headerstyle    = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
 +
| autoheaders    = y
  
 
| labelstyle    = white-space: nowrap
 
| labelstyle    = white-space: nowrap
  
| header1        = {{#if: {{{episode_title|}}} {{{season|}}} {{{episode_no|}}} {{{director|}}} {{{writer|}}} {{{story|}}} {{{teleplay|}}} {{{production|}}} {{{airdate|}}} | Part {{{part_number|}}}: ''{{{series|}}}'' }}
+
| header1        = Part {{{part_number|}}}: ''{{{series|}}}''
  
 
| label2        = Episode title
 
| label2        = Episode title
Line 16: Line 17:
  
 
| label3        = Episode {{abbr|no.|number}}
 
| label3        = Episode {{abbr|no.|number}}
| data3          = {{#if: {{{season|}}} | Season {{{season|}}}<br /> }} {{#if: {{{episode_no|}}} | 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 41: Line 42:
  
 
  | headerclass  = summary
 
  | headerclass  = summary
  | header1      = {{#invoke:Sandbox/Gonnym/episodewikidata|getHeaderTitle|prev={{{prev|}}}|next={{{next|}}}}}
+
| autoheaders    = y
 +
 
 +
  | header1      = Episode chronology
  
 
  | rowclass2    = noprint
 
  | rowclass2    = noprint
  | data2        = {{#invoke:Sandbox/Gonnym/episodewikidata|getEpisodeChronology|prev={{{prev|}}}|next={{{next|}}}}}
+
  | data2        = {{#if: {{{prev|}}} {{{next|}}} |
 +
{{{!}} 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 0.2em 0.1em; text-align: center;" {{!}} '''Next'''&nbsp;→<br />{{#if: {{{next|}}} | "{{{next}}}" | &mdash; }}
 +
{{!}}}
 +
}}
  
 
  | rowclass3    = noprint
 
  | rowclass3    = noprint

Revision as of 17:35, 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.