Template:Infobox television: Difference between revisions

From Good Old TV Fan Wiki
No edit summary
m (1 revision imported)
 
(20 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


| label1      =  
| 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|}}}}}}}}
| data1        = {{{show_name|}}}
| caption      = {{{caption|}}}


| 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|}}}}}}}}
| label1      = Also known as
| caption      = {{{caption|}}}
| label1style  = font-style: italic;
| imagestyle  = {{{imagestyle|}}}
| data1        = {{{alt_name|}}}


| label2       = Also known as
| class2       = description
| labe21style  = font-style: italic;
| data2        = {{{native_name|}}}
| data2        = {{{alt_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
| class17      = attendee
| data17       = {{{narrated|}}}
 
| label18      = {{#if: {{{music|}}} | Music by | Theme music composer }}
| data18      = {{If empty |{{{theme_music_composer|}}} |{{{music|}}} }}


| label19     = Opening theme
| label17     = {{#if: {{{music|}}} | Music by | Theme music composer }}
| data19       = {{{opentheme|}}}
| data17       = {{If empty |{{{theme_music_composer|}}} |{{{music|}}} }}


| label20     = Ending theme
| label18     = Opening theme
| data20       = {{{endtheme|}}}
| data18       = {{If empty |{{{open_theme|}}} |{{{opentheme|}}} }}


| label21     = {{#if: {{Detect singular|{{{composer|}}}}} | Composer | Composers }}
| label19     = Ending theme
| data22      = {{{composer|}}}
| data19      = {{If empty |{{{end_theme|}}} |{{{endtheme|}}} }}


| label22     = Country of origin
| label20     = Composer{{Pluralize from text|{{{composer|}}}|plural=s}}
| data22       = {{{country|}}}
| data20       = {{{composer|}}}


| label23     = Original {{#if: {{Detect singular|{{{language|}}}}} | language | languages }}
| label21     = Country of origin
| data23       = {{{language|}}}
| data21       = {{{country|}}}


| label24     = {{Abbr|No.|Number}} of {{#if: {{{num_seasons|}}} | seasons | series }}
| label22     = Original language{{Pluralize from text|{{{language|}}}|plural=s}}
| data24       = {{If empty |{{{num_seasons|}}} |{{{num_series|}}} }}
| data22       = {{{language|}}}


| label25     = {{#ifeq: {{{name|}}} | Doctor Who | {{Abbr|No.|Number}} of series }}
| label23     = {{Abbr|No.|Number}} of {{#if: {{{num_seasons|}}} | seasons | series }}
| data25       = {{#ifeq: {{{name|}}} | Doctor Who | {{{num_series|}}} }}
| data23       = {{If empty |{{{num_seasons|}}} |{{{num_series|}}} }}


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


| header27    = Production
| label25      = {{Abbr|No.|Number}} of episodes
| data25      = {{{num_episodes|}}} {{#if: {{{list_episodes|}}} | {{Nowrap|([[{{{list_episodes}}}|list of episodes]])}} }}


| label28      = Executive {{#if: {{Detect singular|{{{executive_producer|}}}}} | producer | producers }}
| header26    = Production
| data28      = {{{executive_producer|}}}


| label29     = {{#if: {{Detect singular|{{{producer|}}}}} | Producer | Producers }}
| label27     = Executive producer{{Pluralize from text|{{{executive_producer|}}}|plural=s}}
| data29       = {{{producer|}}}
| data27       = {{{executive_producer|}}}


| label30     = {{#if: {{Detect singular|{{{news_editor|}}}}} | News editor | News editors }}
| label28     = Producer{{Pluralize from text|{{{producer|}}}|plural=s}}
| data30       = {{{news_editor|}}}
| data28       = {{{producer|}}}


| label31     = Production {{#if: {{Detect singular|{{{location|}}}}} | location | locations }}
| label29     = News editor{{Pluralize from text|{{{news_editor|}}}|plural=s}}
| data31       = {{{location|}}}
| data29       = {{{news_editor|}}}


| label32     = Cinematography
| label30     = Production location{{Pluralize from text|{{{location|}}}|plural=s}}
| data32       = {{{cinematography|}}}
| data30       = {{{location|}}}


| label33     = {{#if: {{Detect singular|{{{animator|}}}}} | Animator | Animators }}
| label31     = Cinematography
| data33       = {{{animator|}}}
| data31       = {{{cinematography|}}}


| label34     = {{#if: {{Detect singular|{{{editor|}}}}} | Editor | Editors }}
| label32     = Animator{{Pluralize from text|{{{animator|}}}|plural=s}}
| data34       = {{{editor|}}}
| data32       = {{{animator|}}}


| label35     = Camera setup
| label33     = Editor{{Pluralize from text|{{{editor|}}}|plural=s}}
| data35       = {{{camera|}}}
| data33       = {{{editor|}}}


| label36     = Running time
| label34     = Camera setup
| data36       = {{{runtime|}}}
| data34       = {{{camera|}}}


| label37     = Production {{#if: {{Detect singular|{{If empty |{{{company|}}} |{{{studio|}}} }}}} | company | companies }}
| label35     = Running time
| data37       = {{If empty |{{{company|}}} |{{{studio|}}} }}
| data35       = {{{runtime|}}}


| label38     = Distributor
| label36     = Production {{Pluralize from text|{{If empty |{{{company|}}} |{{{studio|}}} }}|singular=company|plural=companies}}
| data38       = {{{distributor|}}}
| data36       = {{If empty |{{{company|}}} |{{{studio|}}} }}


| label39     = Budget
| label37     = Distributor
| data39       = {{{budget|}}}
| data37       = {{{distributor|}}}


| header40    = Release
| label38      = Budget
| data38      = {{{budget|}}}


| label41      = Original network
| header39    = Release
| data41      = {{If empty |{{{network|}}} |{{{channel|}}} }}


| label42     = Picture format
| label40     = Original network
| data42       = {{{picture_format|}}}
| data40       = {{If empty |{{{network|}}} |{{{channel|}}} }}


| label43     = Audio format
| label41     = Picture format
| data43       = {{{audio_format|}}}
| data41       = {{{picture_format|}}}


| label44     = First shown in
| label42     = Audio format
| data44       = {{{first_run|}}}
| data42       = {{{audio_format|}}}


| label45     = Original release
| label44     = Original release
| data45       = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}
| data44       = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}


| header46     = Chronology
| header45     = Chronology


| label47     = Preceded by
| label46     = Preceded by
| data47       = {{{preceded_by|}}}
| data46       = {{{preceded_by|}}}


| label48     = Followed by
| label47     = Followed by
| data48       = {{{followed_by|}}}
| data47       = {{{followed_by|}}}


| label49     = Related shows
| label48     = Related shows
| data49       = {{{related|}}}
| data48       = {{{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