Available Since: V1.0.0
The comments.rating snippet can be placed on any content item to display the current rating for the item.
| Parameter | Description |
|---|---|
| module | The optional module for the content item to show the comments for. |
| id | The option content id of the item to show the comments for. |
| ratings | If given and set to 1 displays the rating for each comment; defaults to 0. |
| wrapperTpl | The template chunk to wrap the comments in; defaults to comments.wrapper. |
| commentTpl | The template chunk to format a single comment; defaults to comments.comment if ratings is 0 or comments.review if ratings is 1. |