Difference between revisions of "Template:Infobox television season"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
| aboveclass    = summary
 
| aboveclass    = summary
 
| 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;
 
| 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|}}} |#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%;
 
| 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      = {{{season_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;

Latest revision as of 16:05, 6 May 2021