Template:Infobox television season: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{Short description|Season of television series|2=noreplace}}</includeonly>
<includeonly>{{Main other|{{Short description|Season of television series|2=noreplace}}}}<!--
-->{{#invoke:Infobox television season name|getItalicTitle}}</includeonly>
{{Infobox
{{Infobox
| italic title  = {{#ifeq: {{Str left|{{PAGENAMEBASE}}|7}} | List of | no | {{{italic_title|<noinclude>no</noinclude>}}} }}
| bodyclass      = vevent
| bodyclass      = vevent


| aboveclass    = summary
| aboveclass    = summary
| abovestyle    = background: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|black|white}}; padding: 0.25em 1em; font-size: 125%;
| abovestyle    = background-color: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|black|white}}; padding: 0.25em 1em; font-size: 125%;
| above          = {{#if: {{{season_name|}}} | {{{season_name|}}} | <includeonly>''{{PAGENAMEBASE}}''</includeonly> }}
| above          = {{#if: {{{season_name|}}} | {{{season_name|}}} | <includeonly>''{{#invoke:Infobox television season name|getAboveTitle}}''</includeonly> }}


| subheaderstyle = background: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|black|white}}; padding: 0.25em 1em; font-weight: bold; font-size: 125%;
| subheaderstyle = background-color: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|black|white}}; padding: 0.25em 1em; font-weight: bold; font-size: 125%;
| subheader      = {{#invoke:Infobox television season name|getInfoboxSubHeader|{{{season_number|}}}|{{{series_number|}}}}}
| subheader      = {{#invoke:Infobox television season name|getSubHeader|{{{season_number|}}}|{{{series_number|}}}}}


| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{image_alt|{{{alt|}}}}}}}}
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{image_alt|{{{alt|}}}}}}}}
Line 16: Line 15:


| headerclass    = summary
| headerclass    = summary
| headerstyle    = background: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|black|white}}; padding: 0.25em 1em; line-height: 1.5em;
| headerstyle    = background-color: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|black|white}}; padding: 0.25em 1em; line-height: 1.5em;
| autoheaders    = y
| autoheaders    = y


Line 24: Line 23:
| data1          = {{{native_name|}}}
| data1          = {{{native_name|}}}


| label2        = Starring
| label2        = Showrunner{{Pluralize from text|{{{showrunner|}}}|plural=s}}
| data2          = {{{starring|}}}
| data2          = {{{showrunner|}}}


| data3          = {{{module1|}}}
| label3        = Starring
| data3          = {{{starring|}}}


| label4        = Country of origin
| data4          = {{{module1|}}}
| data4          = {{{country|}}}


| label5        = {{Abbr|No.|Number}} of stories
| label5        = {{Abbr|No.|Number}} of stories
| data5          = {{#ifeq: {{PAGENAMEBASE}} | Doctor Who | {{{num_stories|}}} }}
| data5          = {{#ifeq: {{str left|{{PAGENAMEBASE}}|10}} | Doctor Who | {{{num_stories|}}} }}


| label6        = {{Abbr|No.|Number}} of episodes
| label6        = {{Abbr|No.|Number}} of episodes
Line 45: Line 44:
| label10        = Original release
| label10        = Original release
| data10        = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}
| data10        = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}
| label11        = Original release
| data11        = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired2|}}} |{{{released2|}}} }}|{{{last_aired2|}}}}}
| label12        = Original release
| data12        = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired3|}}} |{{{released3|}}} }}|{{{last_aired3|}}}}}


| data11         = {{{module|}}}
| data13         = {{{module|}}}


| header12       = Additional information
| header14       = Additional information


| label13       = Filming dates
| label15       = Filming dates
| data13         = {{#invoke:Infobox/dates|dates|{{{film_start|}}}|{{{film_end|}}}}}
| data15         = {{#invoke:Infobox/dates|dates|{{{film_start|}}}|{{{film_end|}}}}}


| header17      = {{If empty |{{ucfirst:{{#invoke:Infobox television season name|getSeasonWord}} }} |Season }} chronology
| header17      = {{If empty |{{ucfirst:{{#invoke:Infobox television season name|getSeasonWord}} }} |Season }} chronology
Line 82: Line 87:


}}<!-- Tracking categories
}}<!-- Tracking categories
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television season with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television season]] with unknown parameter "_VALUE_"|showblankpositional=1| alt | bg_color | bg_colour | bgcolor | bgcolour | caption | episode_list | film_end | film_start | first_aired | first_aired2 | first_aired3 | image | image_alt | image_size | image_upright | italic_title | last_aired | last_aired2 | last_aired3 | module | module1 | native_name | network | next_season | next_series | num_episodes | num_stories | prev_season | prev_series | released | season_name | season_number | series_number | showrunner | starring }}<!--
-->{{Main other|{{#if: {{{bg_colour|}}} {{{bg_color|}}} {{{bgcolour|}}} {{{bgcolor|}}} | {{Ensure AAA contrast ratio|base={{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|category=[[Category:Pages using infobox television season with invalid colour combination]]}} }}}}<!--
-->{{Main other|{{#if: {{{bg_colour|}}} {{{bg_color|}}} {{{bgcolour|}}} {{{bgcolor|}}} | {{Ensure AAA contrast ratio|base={{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|category=[[Category:Pages using infobox television season with invalid colour combination]]}} }}}}<!--
-->{{Main other|{{#if: {{{season_name|}}} | [[Category:Pages using infobox television season with the season_name parameter]] }} }}<!--
-->{{Main other|{{#if: {{{season_name|}}} | [[Category:Pages using infobox television season with the season_name parameter]] }} }}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television season with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television season]] with unknown parameter "_VALUE_"|showblankpositional=1| alt | bg_color | bg_colour | bgcolor | bgcolour | caption | country | episode_list | film_end | film_start | first_aired | image | image_alt | image_size | image_upright | italic_title | last_aired | module | module1 | native_name | network | next_season | next_series | num_episodes | num_stories | prev_season | prev_series | released | season_name | season_number | season_number | series_number | starring }}<!--
-->{{Main other|{{#ifeq: {{#invoke:String|find|source={{{country|}}}|target=flagicon}} | 0 || [[Category:Pages using infobox television with flag icon]] }}}}<!--
-->{{Main other|{{#invoke:Infobox/dates|start_end_date_template_validation}}}}<!--
-->{{Main other|{{#invoke:Infobox/dates|start_end_date_template_validation}}}}<!--
-->{{Main other|{{#invoke:Infobox television season disambiguation check|main|{{PAGENAME}}}}}}<!--
-->{{Main other|{{#invoke:Infobox television season disambiguation check|main|{{PAGENAME}}}}}}<!--

Latest revision as of 18:31, 18 July 2024