Шаблон:Television Rotten Tomatoes scores
Usage
уредиThe purpose of the {{Television Rotten Tomatoes scores}} template is to add a formatted graph to display the Rotten Tomatoes score for each episode of a season of a television series, should they be available. This template accommodates seasons with up to twenty-five episodes.
Syntax
уреди{{Television Rotten Tomatoes scores | title = TEXT | label = TEXT | year = NUMBER | color = COLOR | ref = REFERENCE | align = left/right | {1–25} = NUMBER | nolower = yes/no }}
Example
уредиCode |
---|
{{Television Rotten Tomatoes scores | title = Game of Thrones | label = Season 1 | year = 2011 | color = #295354 | ref = {{dummy ref}} | 100 | 100 | 80 | 100 | 92 | 100 | 100 | 100 | 100 | 100 }} |
|
Parameters
уредиParameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The title of the series that the season being graphed belongs to. | Text | Required |
Label | label | The label of the season, including season/series/cycle/etc, and the number. If not included, will default to the title parameter. Format: Season 1 |
Text | Optional |
Year | year | The year(s) that the season in question being graphed was aired. | Number | Required |
Color | color | The color for the text and the graph in question. This should conform to the color used for the season in other articles. Format should be in either three- or six-digit hexadecimal format, hash optional. Format: #295354 |
Hex Color | Required |
Reference | ref | The reference for the scores, in regular reference format. Required to verify scores. | Reference | Required |
Align | align | Direction to align the table (left or right). Aligning will float the table, excluding will center the table. | Text | Optional |
Scores | {1–25} | Unnamed/numbered parameters for the scores. One parameter for each episode, and parameters may be included but not set - these will include an entry on the episode axis for the episode, but the entry for the episode will remain empty (i.e. for currently-airing seasons). | Number | Required |
No lower | nolower | Removes the Title/|label= text at the bottom next to the reference text.
|
"yes" / "no" | Optional |