Difference between revisions of "Template:Infobox Episode"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
| name = Infobox Episode | | name = Infobox Episode | ||
| above = {{#if:{{{rtitle|}}}|[[Name::{{{rtitle}}}]]|[[name::"{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}"]]}} | | above = {{#if:{{{rtitle|}}}|[[Name::{{{rtitle}}}]]|[[name::"{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}"]]}} | ||
| subheader = {{ | | subheader = {{#switch: {{{episode type|}}} | #default = An | 2 | double | two = A double | 3 | triple | three = A triple }} episode from {{series|series={{{series|}}} }} | ||
| subheaderstyle = text-align: center; background-color: #471919; font-weight: bold; | | subheaderstyle = text-align: center; background-color: #471919; font-weight: bold; | ||
| italic title = {{{italic title|no}}} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | {{#if: {{{series|}}} | {{series abv|series={{{series|}}} }} logo.jpg | Wiki.png }} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | {{#if: {{{series|}}} | {{series abv|series={{{series|}}} }} logo.jpg | Wiki.png }} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} | ||
Line 30: | Line 31: | ||
| label1 = Episode Nb | | label1 = Episode Nb | ||
| data1 = {{#if:{{{season|}}} | {{#set: Season number = {{{season|}}} }}[[Season::{{series abv|series={{{series|}}} }} Season {{{season|}}}|Season {{{season|}}}]]{{-}} Episode| }} [[Episode number::{{{episode|''unknown''}}}]] | | data1 = {{#if:{{{season|}}} | {{#ifeq: {{{season|}}} | 0 | {{#set: Season number = 0 }} | {{#set: Season number = {{{season|}}} }}[[Season::{{series abv|series={{{series|}}} }} Season {{{season|}}}|Season {{{season|}}}]]{{-}} Episode| }} }} [[Episode number::{{{episode|''unknown''}}}]] | ||
| label2 = Directed by | | label2 = Directed by | ||
Line 67: | Line 68: | ||
| label13 = Length | | label13 = Length | ||
| data13 = {{{length|}}} | | data13 = {{{length|}}} | ||
| label14 = Extended info | |||
| data14 = {{{info|}}} | |||
<!-- Guest Starring --> | <!-- Guest Starring --> | ||
Line 104: | Line 108: | ||
Retrieving the teleplayer(s) of the episode | Retrieving the teleplayer(s) of the episode | ||
-->{{#set: Teleplaying = {{#ask: [[Category:Persons]] [[Teleplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,  }} }}</includeonly><noinclude>{{Documentation}}</noinclude> | -->{{#set: Teleplaying = {{#ask: [[Category:Persons]] [[Teleplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | link = none | template = link | sep = ,  }} }}<!-- | ||
Retrieving the title screencap name inside the "Title screencap" property (only valid for the Original series and Galactica 1980 | |||
-->{{#if: {{{title screencap|}}} | {{#set: title screencap = {{{title screencap}}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude> |