FANDOM

 
34,789 Pages


Template-info Template documentation

This documentation is transcluded from Template:StarTable/doc. (edit | history)

 

Usage

This template can be used to provide up to 10 star ratings.

The first, third, fifth, etc. arguments indicate the field names for the table. The second, fourth, sixth, etc. indicate the number of stars.

This template uses {{stars}}, so any valid argument to {{stars}} is a valid number of stars.

This table has been programmed to hold up to 10 ratings. In most cases, you won't need more, but if you must, use multiple StarTables.

Example

{{StarTable
|Value for Money: |3
|Other text:      |2.5
|Overall:         |2
}}

produces:

Value for Money:
Star yellow Star yellow Star yellow Star gray Star gray 3 / 5
Other text:
Star yellow Star yellow Star half Star gray Star gray 2½ / 5
Overall:
Star yellow Star yellow Star gray Star gray Star gray 2 / 5


Community content is available under CC-BY-SA unless otherwise noted.