Template:Stars/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Set {{{1}}} to a number from 0 to 100.

Usage

{{Stars|48}} will produce:

StarRating.png

The {{{1}}} or {{{score}}} parameter is out of 100, so if you are basing the total on a 1-5 system, you'll have to do something like this:

{{Stars|score={{#expr:{{{total|1}}}*20}}}}, which will produce:

StarRating.png

Notice how you needed to multiply the total by 20 to convert a 1-5 star system into 1-100 score? Because ? Is math scaring you right now???