{# @description Contributors in a row, each with their avatar and name: the header of a record page. Past max the rest are counted, the count linking to more_url when given. #} {# @prop contributors:text | description:"Contributions or contributors, as a list or queryset." #} {# @prop max:number | default:6 | description:"People shown before the count. 0 shows everyone." #} {# @prop total:number | description:"The real total, when contributors was already cut short." #} {# @prop size:select['xs','sm'] | default:xs | description:"The avatar size." #} {# @prop identifier:boolean | description:"Follow each name with its ORCID iD or ROR icon." #} {# @prop more_url:text | description:"Where the full list lives." #} {# @prop label:text | description:"The list's accessible name. Defaults to Contributors." #} {# @prop class:text | description:"Extra CSS classes on the list." #} {% load i18n contributor_tags %} {% split_contributors contributors max total as group %} {% if group.shown %} {% endif %}