Jump to content

Template:Infobox Episode: Difference between revisions

From Heroes Wiki
Content deleted Content added
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 21: Line 21:
| above = {{#if:{{{rtitle|}}}|[[Name::{{{rtitle}}}]]|[[name::"{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}"]]}}
| above = {{#if:{{{rtitle|}}}|[[Name::{{{rtitle}}}]]|[[name::"{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}"]]}}
| subheader = {{#switch: {{{episode type|}}} | #default = An | 2 | double | two = A double | 3 | triple | three = A triple }} episode from {{series|series={{{series|}}} }}
| subheader = {{#switch: {{{episode type|}}} | #default = An | 2 | double | two = A double | 3 | triple | three = A triple }} episode from {{series|series={{{series|}}} }}
| subheaderstyle = background-color: #b32425;
| subheaderstyle =
| italic title = {{{italic title|no}}}
| italic title = {{{italic title|no}}}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | {{#if: {{{series|}}} | {{series abv|series={{{series|}}} }} logo.jpg }} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | {{#if: {{{series|}}} | {{series abv|series={{{series|}}} }} logo.png }} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Line 30: Line 30:
| labelstyle = vertical-align: top; text-align: left;
| labelstyle = vertical-align: top; text-align: left;


| label1 = Episode Nb
| label1 = Volume
| data1 = {{{volume|}}}
| data1 = {{#if:{{{season|}}} | {{#set: Season number = {{{season|}}} }}[[Season::{{series abv|series={{{series|}}} }} Season {{{season|}}}|Season {{{season|}}}]]{{-}} Episode| }} [[Episode number::{{{episode|''unknown''}}}]]


| label2 = Directed by
| label2 = Episode Nb
| data2 = {{#if:{{{season|}}} | {{#set: Season number = {{{season|}}} }}[[Season::{{series abv|series={{{series|}}} }} Season {{{season|}}}|Season {{{season|}}}]]{{-}} Episode| }} [[Episode number::{{{episode|''unknown''}}}]]
| data2 = {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label3 = Written by
| label3 = Directed by
| data3 = {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data3 = {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label4 = Story by
| label4 = Written by
| data4 = {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data4 = {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label5 = Adaptation on television
| label5 = Story by
| data5 = {{#ask: [[Category:Persons]] [[Teleplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data5 = {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label6 = Produced by
| label6 = Adaptation on television
| data6 = {{#ask: [[Category:Persons]] [[Producer in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data6 = {{#ask: [[Category:Persons]] [[Teleplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label7 = Featured music
| label7 = Produced by
| data7 = {{#ask: [[Category:Persons]] [[Producer in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data7 = {{{music|}}}


| label8 = Featured music
| label8 = {{#ifeq: {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]] | format = count }} | 1 | Director of photography | Directors of photography }}
| data8 = {{{music|}}}
| data8 = {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label9 = {{#ifeq: {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]] | format = count }} | 1 | Director of photography | Directors of photography }}
| label9 = Edited by
| data9 = {{#ask: [[Category:Persons]] [[Editor in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data9 = {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->


| label10 = Production code
| label10 = Edited by
| data10 = {{#ask: [[Category:Persons]] [[Editor in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data -->
| data10 = {{{production|}}}


| label11 = Original air date
| label11 = Production code
| data11 = {{{air date|}}}
| data11 = {{{production|}}}


| label12 = Original release date
| label12 = Original air date
| data12 = {{{release date|}}}
| data12 = {{{air date|}}}


| label13 = Length
| label13 = Original release date
| data13 = {{{length|}}}
| data13 = {{{release date|}}}


| label14 = Extended info
| label14 = Length
| data14 = {{{info|}}}
| data14 = {{{length|}}}

| label15 = Extended info
| data15 = {{{info|}}}


<!-- Guest Starring -->
<!-- Guest Starring -->
Line 92: Line 95:
Retrieving the image name inside the "Infobox image" property
Retrieving the image name inside the "Infobox image" property


-->{{#if: {{{image|}}} | {{#set: infobox image = {{{image}}} }} | {{#if: {{{series|}}} | {{#set: infobox image = {{series abv|series={{{series|}}} }} logo.jpg}} | {{#set: infobox image = Marvel Cinematic Universe.png }} }} }}<!--
-->{{#if: {{{image|}}} | {{#set: infobox image = {{{image}}} }} | {{#if: {{{series|}}} | {{#set: infobox image = {{series abv|series={{{series|}}} }} logo.png}} | {{#set: infobox image = Heroes Wiki.png }} }} }}<!--

Retrieving the image name inside the "Infobox title image" property

-->{{#if: {{{title screencap|}}} | {{#set: infobox title image = {{{title screencap}}} }} }}<!--


Retrieving the director(s) of the episode
Retrieving the director(s) of the episode

Latest revision as of 18:06, 15 February 2026