Template:Infobox Episode: Difference between revisions
Appearance
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 = |
| 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. |
| 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 = |
| label1 = Volume |
||
| ⚫ | |||
| ⚫ | |||
| label2 = |
| label2 = Episode Nb |
||
| ⚫ | |||
| ⚫ | |||
| label3 = |
| label3 = Directed by |
||
| data3 = {{#ask: [[Category:Persons]] [[ |
| data3 = {{#ask: [[Category:Persons]] [[Director of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data --> |
||
| label4 = |
| label4 = Written by |
||
| data4 = {{#ask: [[Category:Persons]] [[ |
| data4 = {{#ask: [[Category:Persons]] [[Writer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data --> |
||
| label5 = |
| label5 = Story by |
||
| data5 = {{#ask: [[Category:Persons]] [[ |
| data5 = {{#ask: [[Category:Persons]] [[Story writer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data --> |
||
| label6 = |
| label6 = Adaptation on television |
||
| data6 = {{#ask: [[Category:Persons]] [[ |
| data6 = {{#ask: [[Category:Persons]] [[Teleplayer of::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data --> |
||
| label7 = |
| label7 = Produced by |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| data9 = {{#ask: [[Category:Persons]] [[ |
| data9 = {{#ask: [[Category:Persons]] [[Director of photography in::{{FULLPAGENAME}}]] | ?Name | format = list | template = Link | link = none | sep = <br/>}}<!-- Automatically populated by semantic data --> |
||
| label10 = |
| label10 = Edited by |
||
| ⚫ | |||
| ⚫ | |||
| label11 = |
| label11 = Production code |
||
| data11 = {{{ |
| data11 = {{{production|}}} |
||
| label12 = Original |
| label12 = Original air date |
||
| data12 = {{{ |
| data12 = {{{air date|}}} |
||
| label13 = |
| label13 = Original release date |
||
| data13 = {{{ |
| data13 = {{{release date|}}} |
||
| label14 = |
| label14 = Length |
||
| data14 = {{{ |
| 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. |
-->{{#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
Usage
Creates an infobox for any episode.
Syntax
{{Infobox Episode
| nocat =
| sort =
| spoiler =
| title =
| rtitle =
| episode type =
| italic title =
| image =
| image size =
| caption =
| series =
| season =
| volume =
| episode =
| music =
| production =
| air date =
| release date =
| length =
| info =
| guests =
| prev =
| rprev =
| next =
| rnext =
| title screencap =
}}