Template:Television critical response/doc

From IxWiki
Jump to navigation Jump to search

Usage

The purpose of the {{Television critical response}} template is to easily add a formatted critical response table to pages for television series, specifically the main article, displaying the Rotten Tomatoes and Metacritic scores for each season, should they be available.

Syntax and examples

Basic example

Code
{{Television critical response
| link1             = The Flash (season 1)#Critical response
| rotten_tomatoes1  = 92% (63 reviews){{dummyref|1}}
| metacritic1       = 73 (27 reviews){{dummyref|2}}

| link2             = The Flash (season 2)#Critical response
| rotten_tomatoes2  = 94% (24 reviews){{dummyref|3}}
| metacritic2       = 81 (14 reviews){{dummyref|4}}

| link3             = The Flash (season 3)#Critical response
| rotten_tomatoes3  = 85% (23 reviews){{dummyref|5}}
| metacritic3       = 
}}
Critical response of Template:Television critical response/doc
SeasonRotten TomatoesMetacritic
192% (63 reviews)[1]73 (27 reviews)[2]
294% (24 reviews)[3]81 (14 reviews)[4]
385% (23 reviews)[5]

Alternate link text with custom title, custom season/series text, caption, and raw link text

Code
{{Television critical response
| title             = Show
| seasonT           = Part
| show_caption      = y
| caption           = ''Reception''

| link1             = The Flash (season 1)#Critical response
| linkT1            = Chapter One
| rotten_tomatoes1  = 92% (63 reviews){{dummyref|1}}
| metacritic1       = 73 (27 reviews){{dummyref|2}}

| link2             = The Flash (season 2)#Critical response
| linkT2            = Chapter Two
| rotten_tomatoes2  = 94% (24 reviews){{dummyref|3}}
| metacritic2       = 81 (14 reviews){{dummyref|4}}

| link3             = The Flash (season 3)#Critical response
| linkT3            = Chapter Three
| linkR3            = {{dummy ref|5}}
| rotten_tomatoes3  = 85% (23 reviews){{dummyref|6}}
| metacritic3       = 
}}
Reception
PartRotten TomatoesMetacritic
Chapter One92% (63 reviews)[1]73 (27 reviews)[2]
Chapter Two94% (24 reviews)[3]81 (14 reviews)[4]
Chapter Three[5]85% (23 reviews)[6]

Specials

Code
{{Television critical response
| link1             = The Flash (season 1)#Critical response
| rotten_tomatoes1  = 92% (63 reviews){{dummyref|1}}
| metacritic1       = 73 (27 reviews){{dummyref|2}}

| link2             = The Flash (season 2)#Critical response
| rotten_tomatoes2  = 94% (24 reviews){{dummyref|3}}
| metacritic2       = 81 (14 reviews){{dummyref|4}}

| link3             = The Flash (season 3)#Critical response
| rotten_tomatoes3  = 85% (23 reviews){{dummyref|5}}
| metacritic3       = 

| link3S            = #Special
| linkT3S           = S
| rotten_tomatoes3S = 89% (18 reviews){{dummyref|6}}
| metacritic3S      = 83 (13 reviews){{dummyref|7}}
}}
Critical response of Template:Television critical response/doc
SeasonRotten TomatoesMetacritic
192% (63 reviews)[1]73 (27 reviews)[2]
294% (24 reviews)[3]81 (14 reviews)[4]
385% (23 reviews)[5]
S89% (18 reviews)[6]83 (13 reviews)[7]

Special first, followed by season one

Code
{{Television critical response
| link0S            = #Special
| linkT0S           = S
| rotten_tomatoes0S = 89% (18 reviews){{dummyref|1}}
| metacritic0S      = 83 (13 reviews){{dummyref|2}}

| link1             = The Flash (season 1)#Critical response
| rotten_tomatoes1  = 92% (63 reviews){{dummyref|3}}
| metacritic1       = 73 (27 reviews){{dummyref|4}}

| link2             = The Flash (season 2)#Critical response
| rotten_tomatoes2  = 94% (24 reviews){{dummyref|5}}
| metacritic2       = 81 (14 reviews){{dummyref|6}}

| link3             = The Flash (season 3)#Critical response
| rotten_tomatoes3  = 85% (23 reviews){{dummyref|7}}
| metacritic3       = 
}}
Critical response of Template:Television critical response/doc
SeasonRotten TomatoesMetacritic
S89% (18 reviews)[1]83 (13 reviews)[2]
192% (63 reviews)[3]73 (27 reviews)[4]
294% (24 reviews)[5]81 (14 reviews)[6]
385% (23 reviews)[7]

Multi-series franchise

Code
{{Television critical response
| width             = 75%
| title             = Franchise
| multiseries       = 
{{Television critical response
| series            = ''Series A''

| link1             = The Flash (season 1)#Critical response
| rotten_tomatoes1  = 92% (63 reviews){{dummyref|1}}
| metacritic1       = 73 (27 reviews){{dummyref|2}}

| link2             = The Flash (season 2)#Critical response
| rotten_tomatoes2  = 94% (24 reviews){{dummyref|3}}
| metacritic2       = 81 (14 reviews){{dummyref|4}}

| link3             = The Flash (season 3)#Critical response
| rotten_tomatoes3  = 85% (23 reviews){{dummyref|5}}
| metacritic3       = 
}}
{{Television critical response
| series            = ''Series B''

| link1             = Arrow (season 1)#Critical response
| rotten_tomatoes1  = 85% (36 reviews){{dummyref|7}}
| metacritic1       = 73 (30 reviews){{dummyref|8}}

| link2             = Arrow (season 2)#Critical response
| rotten_tomatoes2  = 95% (12 reviews){{dummyref|9}}
| metacritic2       = 
}}
}}
Critical response of Franchise
TitleSeasonRotten TomatoesMetacritic
Series A192% (63 reviews)[1]73 (27 reviews)[2]
294% (24 reviews)[3]81 (14 reviews)[4]
385% (23 reviews)[5]
Series B185% (36 reviews)[7]73 (30 reviews)[8]
295% (12 reviews)[9]

Parameters

A template for adding a critical response table to the main article for a television series

Template parameters

ParameterDescriptionTypeStatus
TitleTitle

The title of the television series in the table's caption, defaults to the page name. Set this parameter (in plain text) to change the series' title if it should not be the page name. Using the title parameter is redundent if the caption parameter is used.

Stringoptional
seasonTseasonT

Set to change custom text in the cell where Series/Season is typically displayed.

Stringoptional
multiseriesmultiseries

The individual critical response tables that make up a multi-series franchise critical response table. Use in the first critical response table that declares the headers. The parameter value should be the separate critical response tables.

Stringoptional
seriesseries

The linked, italicized title of the series when used in a multi-series franchise. Use in each separate critical response table. Required when multiseries is set.

Unknownoptional
captioncaption

Setting a custom caption to override the automatic caption provided by the |title= parameter and/or article title.

Stringoptional
show_captionshow_caption

The caption uses {{tc|Screen reader-only}} by default to not be displayed in a browser but be voiced by a screen reader; toggling this flag will display the caption as visible text.

Stringoptional
link*link*

The link to the critical response section of the season in question on the season page or main article, without square brackets.

Example
The Flash (season 1)#Critical response
Stringoptional
linkT*linkT*

Alternate text to display in the season link rather than the season number.

Example
Special
Stringoptional
linkR*linkR*

Additional text to display next to the season link, outside of the link itself. Good for references or notes.

Example
{{tl|efn}}
Stringoptional
rotten_tomatoes*rotten_tomatoes*

The Rotten Tomatoes rating of the season in question, sourced accordingly. This parameter or the Metacritic parameter is required for the row of the table to appear.

Default
{{tl|N/A}}
Example
92% (63 reviews)
Stringoptional
metacritic*metacritic*

The Metacritic score of the season in question, sourced accordingly. This parameter or the Rotten Tomatoes parameter is required for the row of the table to appear.

Default
{{N/A}}
Example
73 (27 reviews)
Stringoptional
hide_rotten_tomatoeshide_rotten_tomatoes

Whether or not to hide the Rotten Tomatoes column, if it is not required (e.g. no values are available for all seasons).

Example
y
Stringoptional
hide_metacritichide_metacritic

Whether or not to hide the Metacritic column, if it is not required (e.g. no values are available for all seasons).

Example
y
Stringoptional

* indicates any number that is a positive integer, starting from one for seasons, and zero for specials.

Tracking category

See also