Difference between revisions of "Template:Infobox television season"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
MediaWiki>Gonnym
(change release dates to use {{If empty}} consistent with the change done in Template:Infobox television)
 
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
| 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; line-height: 1.5em;
+
| abovestyle    = background: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#3d3d3d }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|white|white}}; padding: 0.25em 1em; line-height: 1.5em;
| above          = {{#if: {{{season_name|}}} | {{{season_name|}}} | <includeonly>''{{PAGENAMEBASE}}''</includeonly> }}
+
| above          = <center>{{#if: {{{season_name|}}} | {{{season_name|}}} | <includeonly>''{{PAGENAMEBASE}}''</includeonly> }}</center>
  
| 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; line-height: 1.5em; font-weight: bold; font-size: 120%;
+
| subheaderstyle = background: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#3d3d3d }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#3d3d3d }}|white|white}}; padding: 0.25em 1em; line-height: 1.5em; font-weight: bold; font-size: 120%;
| subheader      = {{#invoke:Infobox television season name|getInfoboxSubHeader|{{{season_number|}}}|{{{series_number|}}}}}
+
| subheader      = <center>{{#invoke:Infobox television season name|getInfoboxSubHeader|{{{season_number|}}}|{{{series_number|}}}}}</center>
  
 
| captionstyle  = font-size: 95%; line-height: 1.5em;
 
| captionstyle  = font-size: 95%; line-height: 1.5em;
Line 16: Line 16:
  
 
| 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: {{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#3d3d3d }}; color: {{Greater color contrast ratio|{{If empty |{{{bg_colour|}}} |{{{bg_color|}}} |{{{bgcolour|}}} |{{{bgcolor|}}} |#CCCCFF }}|white|white}}; padding: 0.25em 1em; line-height: 1.5em;
 
| autoheaders    = y
 
| autoheaders    = y
  
Line 44: Line 44:
  
 
| label10        = Original release
 
| label10        = Original release
| data10        = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}
+
| data10        = {{{released|}}}
  
 
| data11        = {{{module|}}}
 
| data11        = {{{module|}}}
  
 
| header12      = Additional information
 
| header12      = Additional information
 
| label13        = Filming dates
 
| data13        = {{#invoke:Infobox/dates|dates|{{{film_start|}}}|{{{film_end|}}}}}
 
  
 
| label16        = Website
 
| label16        = Website
Line 84: Line 81:
 
| below          = {{#invoke:Infobox television season name|getListOfEpisodes|link={{{episode_list|}}}}}
 
| below          = {{#invoke:Infobox television season name|getListOfEpisodes|link={{{episode_list|}}}}}
  
}}<!-- Start tracking
+
}}
-->{{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]] }} }}<!--
 
-->{{#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 | website }}<!--
 
-->{{Main other|{{#invoke:Infobox/dates|start_end_date_template_validation}}}}<!--
 
-->{{Main other|{{#invoke:Infobox television season disambiguation check|main|{{PAGENAME}}}}}}<!-- End tracking --><noinclude>
 
{{Documentation}}
 
</noinclude>
 

Latest revision as of 16:05, 6 May 2021