Template:StarTable/doc

From Brickipedia, the LEGO Wiki

Usage[edit source]

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 Template:Te, so any valid argument to Template:Te 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[edit source]

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

produces:

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