Name

addratings — makes a little HTML table with the ratings icons in

Synopsis

use Wacs;
use Wacs::WacsUI;
addratings(...); 
 

Parameters

parameterdescription
overallThe overall rating for the set (1 to 5)
varietyHow unusual the content or action of the set is
techqualThe technical quality of the photography, lighting and set
sizeHow big the icons should be: normal or small
orientationwhether the table should be vertical or horizontal
titledisplay title on table: y for yes, n for no.

Summary

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.

Availability

addratings is available in both perl and php. This function was introduced in Wacs 0.8.1