{% if people %} {% if role %}{{ role }}:{% endif %} {% for p in people %} {% if forloop.counter <= max %} {% if not forloop.first %}、{% endif %} {{ p.name }} {% if p.role.strip %}(饰{{ p.role }}){% endif %} {% elif forloop.last %} 等 {% endif %} {% endfor %} {% endif %}