{# # Rating Component (Bootstrap 5) # # Reusable star rating display using Bootstrap Icons. # # Expected context: # rating - Numeric rating (0-5) # review_count - Number of reviews (optional, for display) # # Usage: # {% include 'components/rating.html.twig' with { rating: 4.5, review_count: 12 } %} # # @package WcBootstrap # @since 0.1.0 #} {% if rating is defined and rating > 0 %} {% endif %}