Template:Australian television episode ratings/doc

Purpose
The purpose of the Australian television episode ratings template is to add a consistent and formatted ratings table to pages for television seasons, listing the overnight and consolidated ratings figures for each episode within a season. It can be added to either the main program article, list of episodes article, or individual season articles (which ever is most appropriate). This template can display the ratings for each episode of a season, for up to 40 episodes or entries.

Note that a custom table may be more beneficial for some programs, and this table isn't required where timeshifted ratings aren't readily available.

Please report any bugs or technical errors to the template talk page.

Full table with dummy data
Note the coloured background and text colour in the headers, and reduced font size.

Change history

 * 1 November 2016 — Update to automatically select optimal text colour when background colour used, depreciating textcolour and use warning when colours not optimal.
 * 16 March 2018 — Limit extended to 40 rows

Supporting templates

 * Greater color contrast ratio
 * Ensure AAA contrast ratio