[% UNLESS noby %][% "BY" | string %] [% END %] [%- FILTER null %] [% contributorsHTML = [] %] [% contributors = item.artistsWithAttributes || itemobj.artistsWithAttributes %] [% FOREACH contributorTuple IN contributors %] [% IF maxContributors && loop.count > maxContributors; contributorsHTML.push("..."); LAST; END %] [% attrs = contributorTuple.attributes | html %] [% target = notarget ? '' : 'target="browser"' %] [% contrib = contributorTuple.name | html %] [% IF artwork || artwork == 0; artparam = "&artwork=$artwork"; END %] [% contributorHTMLFrag = "$contrib" %] [% contributorsHTML.push(contributorHTMLFrag) %] [% END %] [% END -%] [% contributorsHTML.join(', ') %]