Template:Infobox television season: Difference between revisions
From Good Old TV Fan Wiki
Adminpeter (talk | contribs) m (1 revision imported) |
Adminpeter (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
|italic title = {{#ifeq:{{Str left|{{PAGENAMEBASE}}|7}}|List of|no|{{{italic_title|<noinclude>no</noinclude>}}}}} | | italic title = {{#ifeq: {{Str left|{{PAGENAMEBASE}}|7}} | List of | no | {{{italic_title|<noinclude>no</noinclude>}}} }} | ||
|bodyclass = vevent | | bodyclass = vevent | ||
|abovestyle = background: {{ | | 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; | ||
| above = {{#if: {{{season_name|}}} | {{{season_name|}}} | <includeonly>''{{PAGENAMEBASE}}''</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; line-height: 1.5em; font-weight: bold; font-size: 120%; | |||
| subheader = {{#invoke:Infobox television season name|getInfoboxSubHeader|{{{season_number|}}}|{{{series_number|}}}}} | |||
| captionstyle = font-size: 95%; line-height: 1.5em; | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{image_alt|{{{alt|}}}}}}}} | |||
| caption = {{{caption|}}} | |||
| 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; | |||
| autoheaders = y | |||
| labelstyle = white-space: nowrap; | |||
| label1 = Native name | |||
| data1 = {{{native_name|}}} | |||
| label2 = Starring | |||
| data2 = {{{starring|}}} | |||
| data3 = {{{module1|}}} | |||
| label4 = Country of origin | |||
| data4 = {{{country|}}} | |||
| label5 = {{Abbr|No.|Number}} of stories | |||
| data5 = {{#ifeq: {{PAGENAMEBASE}} | Doctor Who | {{{num_stories|}}} }} | |||
| label6 = {{Abbr|No.|Number}} of episodes | |||
| data6 = {{{num_episodes|}}} | |||
| header8 = Release | |||
| label9 = Original network | |||
| data9 = {{{network|}}} | |||
| label10 = Original release | |||
| data10 = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}} | |||
| data11 = {{{module|}}} | |||
| header12 = Additional information | |||
| label13 = Filming dates | |||
| data13 = {{#invoke:Infobox/dates|dates|{{{film_start|}}}|{{{film_end|}}}}} | |||
| label16 = Website | |||
| data16 = {{{website|}}} | |||
}}<!-- | | header17 = {{If empty |{{ucfirst:{{#invoke:Infobox television season name|getSeasonWord}} }} |Season }} chronology | ||
| rowclass18 = noprint | |||
| data18 = <!-- | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{ | ### PREVIOUS SEASON LINK ### | ||
-->{{#if: {{{prev_season|}}} {{{prev_series|}}} | {{Align|left|← '''Previous'''<br />{{If empty |{{{prev_season|}}} |{{{prev_series|}}} }} }} | <!-- | |||
-->{{#if: {{#invoke:Infobox television season name|checkPrevSeason}} | {{align|left|<!-- | |||
-->← '''Previous'''<br />{{#invoke:Infobox television season name|getPrevSeasonArticle}}<!-- | |||
-->}} }} }}<!-- | |||
### NEXT SEASON LINK ### | |||
-->{{#if: {{{next_season|}}} {{{next_series|}}} | {{Align|right|'''Next''' →<br />{{If empty |{{{next_season|}}} |{{{next_series|}}} }} }} |<!-- | |||
-->{{#if: {{#invoke:Infobox television season name|checkNextSeason}} | {{align|right|<!-- | |||
-->'''Next''' →<br />{{#invoke:Infobox television season name|getNextSeasonArticle}}<!-- | |||
-->}} }} }} | |||
| belowclass = noprint | |||
| 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}} | {{Documentation}} | ||
</noinclude> | </noinclude> |