{{$reactionItem = $content;}}
{{if $content::$firstCommentRequired}}
{{$reactionItem = $content->firstComment();}}
{{endif}}
{{if ( $content instanceof \IPS\Content\Ratings and $content->averageRating() ) || ( isset( $content::$reviewClass ) AND $content->averageReviewRating() ) || $content::$commentClass || ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $reactionItem, 'IPS\Content\Reactable' ) and \count( $reactionItem->reactions() ) )}}
{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $reactionItem, 'IPS\Content\Reactable' ) and \count( $reactionItem->reactions() )}}
-
{template="reactionOverview" app="core" group="global" params="$reactionItem, TRUE, 'small'"}
{{endif}}
{{if $content instanceof \IPS\Content\Ratings and $rating = $content->averageRating()}}
- {template="rating" app="core" params="'large', $rating, 5" group="global"}
{{elseif isset( $content::$reviewClass ) AND $rating = $content->averageReviewRating()}}
- {template="rating" app="core" params="'large', $rating, \IPS\Settings::i()->reviews_rating_out_of" group="global"}{{if $content->mapped('num_reviews')}}({lang="from_num_reviews" pluralize="$content->mapped('num_reviews')"}){{else}}{lang="no_reviews_yet"}{{endif}}
{{endif}}
{{if $content::$commentClass AND $commentsEnabled}}
-
{{if $content::$firstCommentRequired}}
{lang="num_replies" pluralize="$content->mapped('num_comments') - 1"}
{{else}}
{lang="num_comments" pluralize="$content->mapped('num_comments')"}
{{endif}}
{{endif}}
{{endif}}