Template:Infobox television: Difference between revisions

From Good Old TV Fan Wiki
No edit summary
m (1 revision imported)
 
(17 intermediate revisions by 2 users not shown)
Line 4: Line 4:
| bodyclass    = vevent
| bodyclass    = vevent


| abovestyle  = font-style: italic; background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em; line-height: normal;
| abovestyle  = background: #CCCCFF; padding: 0.25em 1em; font-size: 125%;
| aboveclass  = summary
| aboveclass  = summary
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| above        = {{#invoke:Infobox television|above_title}}


| headerclass  = summary
| headerclass  = summary
| headerstyle  = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
| headerstyle  = background: #CCCCFF; padding: 0.25em 1em;
| autoheaders  = y
| autoheaders  = y


| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}<!-- 1.13 is the most common size used in TV articles. -->|alt={{{image_alt|{{{alt|}}}}}}}}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}<!-- 1.13 is the most common size used in TV articles. -->|alt={{{image_alt|{{{alt|}}}}}}|title={{{image_alt|{{{alt|}}}}}}}}
| caption      = {{{caption|}}}
| caption      = {{{caption|}}}
| imagestyle  = {{{imagestyle|}}}


| label2       = Also known as
| label1       = Also known as
| labe21style = font-style: italic;
| label1style = font-style: italic;
| data2       = {{{alt_name|}}}
| data1       = {{{alt_name|}}}


| label1       =  
| class2       = description
| data1       = {{{show_name|}}}
| data2       = {{{native_name|}}}


| class3      = description
| label3      = Genre
| data3        = {{{native_name|}}}
| class3      = category
| data3        = {{{genre|}}}


| label4      = Genre
| label4      = Created by
| class4      = category
| data4        = {{{creator|}}}
| data4        = {{{genre|}}}


| label5      = Created by
| label5      = {{#if: {{{based_on|}}} | Based on | Inspired by }}
| data5        = {{{creator|}}}
| data5        = {{If empty |{{{based_on|}}} |{{{inspired_by|}}} }}


| label6      = {{#if: {{{based_on|}}} | Based on | Inspired by }}
| label6      = Developed by
| data6        = {{If empty |{{{based_on|}}} |{{{inspired_by|}}} }}
| data6        = {{{developer|}}}


| label7      = Developed by
| label7      = Written by
| data7        = {{{developer|}}}
| data7        = {{{writer|}}}


| label8      = Written by
| label8      = Screenplay by
| data8        = {{{writer|}}}
| data8        = {{{screenplay|}}}


| label9      = Screenplay by
| label9      = Story by
| data9        = {{{screenplay|}}}
| data9        = {{{story|}}}


| label10      = Story by
| label10      = Directed by
| data10      = {{{story|}}}
| class10      = attendee
| data10      = {{{director|}}}


| label11      = Directed by
| label11      = Creative director{{Pluralize from text|{{{creative_director|}}}|plural=s}}
| class11      = attendee
| class11      = attendee
| data11      = {{{director|}}}
| data11      = {{{creative_director|}}}


| label12      = Creative {{#if: {{Detect singular|{{{creative_director|}}}}} | director | directors }}
| label12      = Presented by
| class12      = attendee
| class12      = attendee
| data12      = {{{creative_director|}}}
| data12      = {{If empty |{{{presenter|}}} |{{{host|}}} }}


| label13      = Presented by
| label13      = Starring
| class13      = attendee
| class13      = attendee
| data13      = {{If empty |{{{presenter|}}} |{{{host|}}} }}
| data13      = {{{starring|}}}


| label14      = Starring
| label14      = Judges
| class14      = attendee
| class14      = attendee
| data14      = {{{starring|}}}
| data14      = {{{judges|}}}


| label15      = Judges
| label15      = Voices of
| class15      = attendee
| class15      = attendee
| data15      = {{{judges|}}}
| data15      = {{{voices|}}}


| label16      = Voices of
| label16      = Narrated by
| class16      = attendee
| class16      = attendee
| data16      = {{{voices|}}}
| data16      = {{{narrated|}}}


| label17      = Narrated by
| label17      = {{#if: {{{music|}}} | Music by | Theme music composer }}
| class17      = attendee
| data17      = {{If empty |{{{theme_music_composer|}}} |{{{music|}}} }}
| data17      = {{{narrated|}}}


| label18      = {{#if: {{{music|}}} | Music by | Theme music composer }}
| label18      = Opening theme
| data18      = {{If empty |{{{theme_music_composer|}}} |{{{music|}}} }}
| data18      = {{If empty |{{{open_theme|}}} |{{{opentheme|}}} }}


| label19      = Opening theme
| label19      = Ending theme
| data19      = {{{opentheme|}}}
| data19      = {{If empty |{{{end_theme|}}} |{{{endtheme|}}} }}


| label20      = Ending theme
| label20      = Composer{{Pluralize from text|{{{composer|}}}|plural=s}}
| data20      = {{{endtheme|}}}
| data20      = {{{composer|}}}


| label21      = {{#if: {{Detect singular|{{{composer|}}}}} | Composer | Composers }}
| label21      = Country of origin
| data22       = {{{composer|}}}
| data21       = {{{country|}}}


| label22      = Country of origin
| label22      = Original language{{Pluralize from text|{{{language|}}}|plural=s}}
| data22      = {{{country|}}}
| data22      = {{{language|}}}


| label23      = Original {{#if: {{Detect singular|{{{language|}}}}} | language | languages }}
| label23      = {{Abbr|No.|Number}} of {{#if: {{{num_seasons|}}} | seasons | series }}
| data23      = {{{language|}}}
| data23      = {{If empty |{{{num_seasons|}}} |{{{num_series|}}} }}


| label24      = {{Abbr|No.|Number}} of {{#if: {{{num_seasons|}}} | seasons | series }}
| label24      = {{#ifeq: {{{name|}}} | Doctor Who | {{Abbr|No.|Number}} of series }}
| data24      = {{If empty |{{{num_seasons|}}} |{{{num_series|}}} }}
| data24      = {{#ifeq: {{{name|}}} | Doctor Who | {{{num_series|}}} }}


| label25      = {{#ifeq: {{{name|}}} | Doctor Who | {{Abbr|No.|Number}} of series }}
| label25      = {{Abbr|No.|Number}} of episodes
| data25      = {{#ifeq: {{{name|}}} | Doctor Who | {{{num_series|}}} }}
| data25      = {{{num_episodes|}}} {{#if: {{{list_episodes|}}} | {{Nowrap|([[{{{list_episodes}}}|list of episodes]])}} }}


| label26      = {{Abbr|No.|Number}} of episodes
| header26    = Production
| data26      = {{{num_episodes|}}} {{#if: {{{list_episodes|}}} | {{Nowrap|([[{{{list_episodes}}}|list of episodes]])}} }}


| header27    = Production
| label27      = Executive producer{{Pluralize from text|{{{executive_producer|}}}|plural=s}}
| data27      = {{{executive_producer|}}}


| label28      = Executive {{#if: {{Detect singular|{{{executive_producer|}}}}} | producer | producers }}
| label28      = Producer{{Pluralize from text|{{{producer|}}}|plural=s}}
| data28      = {{{executive_producer|}}}
| data28      = {{{producer|}}}


| label29      = {{#if: {{Detect singular|{{{producer|}}}}} | Producer | Producers }}
| label29      = News editor{{Pluralize from text|{{{news_editor|}}}|plural=s}}
| data29      = {{{producer|}}}
| data29      = {{{news_editor|}}}


| label30      = {{#if: {{Detect singular|{{{news_editor|}}}}} | News editor | News editors }}
| label30      = Production location{{Pluralize from text|{{{location|}}}|plural=s}}
| data30      = {{{news_editor|}}}
| data30      = {{{location|}}}


| label31      = Production {{#if: {{Detect singular|{{{location|}}}}} | location | locations }}
| label31      = Cinematography
| data31      = {{{location|}}}
| data31      = {{{cinematography|}}}


| label32      = Cinematography
| label32      = Animator{{Pluralize from text|{{{animator|}}}|plural=s}}
| data32      = {{{cinematography|}}}
| data32      = {{{animator|}}}


| label33      = {{#if: {{Detect singular|{{{animator|}}}}} | Animator | Animators }}
| label33      = Editor{{Pluralize from text|{{{editor|}}}|plural=s}}
| data33      = {{{animator|}}}
| data33      = {{{editor|}}}


| label34      = {{#if: {{Detect singular|{{{editor|}}}}} | Editor | Editors }}
| label34      = Camera setup
| data34      = {{{editor|}}}
| data34      = {{{camera|}}}


| label35      = Camera setup
| label35      = Running time
| data35      = {{{camera|}}}
| data35      = {{{runtime|}}}


| label36      = Running time
| label36      = Production {{Pluralize from text|{{If empty |{{{company|}}} |{{{studio|}}} }}|singular=company|plural=companies}}
| data36      = {{{runtime|}}}
| data36      = {{If empty |{{{company|}}} |{{{studio|}}} }}


| label37      = Production {{#if: {{Detect singular|{{If empty |{{{company|}}} |{{{studio|}}} }}}} | company | companies }}
| label37      = Distributor
| data37      = {{If empty |{{{company|}}} |{{{studio|}}} }}
| data37      = {{{distributor|}}}


| label38      = Distributor
| label38      = Budget
| data38      = {{{distributor|}}}
| data38      = {{{budget|}}}


| label39      = Budget
| header39    = Release
| data39      = {{{budget|}}}


| header40    = Release
| label40      = Original network
| data40      = {{If empty |{{{network|}}} |{{{channel|}}} }}


| label41      = Original network
| label41      = Picture format
| data41      = {{If empty |{{{network|}}} |{{{channel|}}} }}
| data41      = {{{picture_format|}}}


| label42      = Picture format
| label42      = Audio format
| data42      = {{{picture_format|}}}
| data42      = {{{audio_format|}}}


| label43     = Audio format
| label44     = Original release
| data43       = {{{audio_format|}}}
| data44       = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}


| label44      = First shown in
| header45    = Chronology
| data44      = {{{first_run|}}}


| label45     = Original release
| label46     = Preceded by
| data45       = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}
| data46       = {{{preceded_by|}}}


| header46    = Chronology
| label47      = Followed by
| data47      = {{{followed_by|}}}


| label47      = Preceded by
| label48      = Related shows
| data47      = {{{preceded_by|}}}
| data48       = {{{related|}}}
 
| label48     = Followed by
| data48      = {{{followed_by|}}}
 
| label49     = Related shows
| data49       = {{{related|}}}
 
| header50    = External links
 
| class51      = url
| data51      = {{#if: {{{website|{{#property:P856}}}}} | [{{{website|{{#property:P856}}}}} {{#if: {{{website_title|}}} | {{{website_title}}}|Website}}] }}
 
| data52      = {{#if: {{{production_website|}}} | [{{{production_website}}} {{#if: {{{production_website_title|}}} | {{{production_website_title}}}|Production website}}] }}
| class52      = url


| below        = {{If preview|[[Template:Infobox television#Usage|Infobox instructions (only shown in preview)]]}}
| below        = {{If preview|[[Template:Infobox television#Usage|Infobox instructions (only shown in preview)]]}}


}}<!-- Start tracking
}}<!-- Tracking categories
-->{{#if: {{{host|}}} | {{Main other|[[Category:Pages using infobox television with alias parameters|H]]}} }}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television]] with unknown parameter "_VALUE_". See [[Template:Infobox television#Usage|Infobox instructions]].|showblankpositional=1| alt | alt_name | animator | audio_format | based_on | budget | camera | caption | channel | cinematography | company | composer | country | creative_director | creator | developer | director | distributor | editor | end_theme | endtheme | executive_producer | first_aired | followed_by | genre | host | image | image_alt | image_size | image_upright | inspired_by | italic_title | judges | language | last_aired | list_episodes | location | music | name | narrated | native_name | network | news_editor | num_episodes | num_seasons | num_series | open_theme| opentheme | picture_format | preceded_by | presenter | producer | related | released | runtime | screenplay | starring | story | studio | theme_music_composer | voices | writer }}<!--
-->{{#if: {{{studio|}}} | {{Main other|[[Category:Pages using infobox television with alias parameters|S]]}} }}<!--
-->{{Main other|{{#if: {{{host|}}} | [[Category:Pages using infobox television with alias parameters|H]] }}}}<!--
-->{{#if: {{{editor|}}} | {{Main other|[[Category:Pages using infobox television with editor parameter]]}} }}<!--
-->{{Main other|{{#if: {{{studio|}}} | [[Category:Pages using infobox television with alias parameters|S]] }}}}<!--
 
-->{{Main other|{{#invoke:Infobox television|validate_values}}}}<!--
don't forget to update the duplicate below
-->{{Main other|{{#invoke:Infobox television disambiguation check|main|{{PAGENAME}}}}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television]] with unknown parameter "_VALUE_". See [[Template:Infobox television#Usage|Infobox instructions]].|ignoreblank=y| alt | alt_name | animator | audio_format | based_on | budget | camera | caption | channel | cinematography | company | composer | country | creative_director | creator | developer | director | distributor | editor | endtheme | executive_producer | first_aired | first_run | followed_by | genre | host | image | image_alt | image_size | image_upright | imagestyle | inspired_by | italic_title | judges | language | last_aired | list_episodes | location | music | name | narrated | native_name | network | news_editor | num_episodes | num_seasons | num_series | opentheme | picture_format | preceded_by | presenter | producer | production_website | production_website_title | related | released | runtime | screenplay | show_name | starring | story | studio | theme_music_composer | voices | website | website_title | writer }}<!--
--><noinclude>
 
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox television with unknown empty parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Infobox television]] with unknown parameter "_VALUE_". See [[Template:Infobox television#Usage|Infobox instructions]].|showblankpositional=1| alt | alt_name | animator | audio_format | based_on | budget | camera | caption | channel | cinematography | company | composer | country | creative_director | creator | developer | director | distributor | editor | endtheme | executive_producer | first_aired | first_run | followed_by | genre | host | image | image_alt | image_size | image_upright | imagestyle | inspired_by | italic_title | judges | language | last_aired | list_episodes | location | music | name | narrated | native_name | network | news_editor | num_episodes | num_seasons | num_series | opentheme | picture_format | preceded_by | presenter | producer | production_website | production_website_title | related | released | runtime | screenplay | show_name | starring | story | studio | theme_music_composer | voices | website | website_title | writer }}<!--
 
-->{{Main other|{{#invoke:Infobox/dates|start_end_date_template_validation}}}}<!--
 
-->{{Main other|{{#invoke:Infobox television disambiguation check|main|{{PAGENAME}}}}}}<!-- End tracking --><noinclude>
{{Documentation}}
{{Documentation}}
<!-- category links go on /doc, not here -->
</noinclude>
</noinclude>

Latest revision as of 03:36, 5 September 2022

Infobox television