addratings — makes a little HTML table with the ratings icons in
use Wacs;
use Wacs::WacsUI;
addratings( | ...) ; |
parameter | description |
---|---|
overall | The overall rating for the set (1 to 5) |
variety | How unusual the content or action of the set is |
techqual | The technical quality of the photography, lighting and set |
size | How big the icons should be: normal or small |
orientation | whether the table should be vertical or horizontal |
title | display title on table: y for yes, n for no. |
The addratings
function is similar to
addkeyicons
in that it outputs an HTML table with
icons in. In this case, it's the ratings icons for each of the three
main set ratings: overall, variety and techqual. It can display the
table in two sizes, with or without a title and in a horizontal or
vertical orientation.