[% BLOCK showreference %] [% IF marcflavour == 'UNIMARC' %] [% SWITCH type %] [% CASE 'broader' %] [% heading %] -- [% CASE 'narrower' %] [% heading %] -- [% CASE 'narrower' %] [% heading %] -- [% CASE 'seefrom' %] [% heading %] -- [% CASE 'seealso' %] [% heading %] -- [% END %] [% ELSE %] [% IF ( label ) %][% label %][% END %] [% heading %] [% UNLESS ( type=='seefrom' || type=='seealso' ) %][% SWITCH type %] [% CASE 'earlier' %](Earlier heading) [% CASE 'later' %](Later heading) [% CASE 'acronym' %](Acronym) [% CASE 'musical' %](Musical composition) [% CASE 'broader' %](Broader heading) [% CASE 'narrower' %](Narrower heading) [% CASE %]([% type %]) [% END %][% END %] [% END %] [% END %] [% BLOCK authresult %] [% IF ( summary.summary ) %][% summary.summary %]:[% END %] [% UNLESS ( summary.summaryonly ) %] [% FOREACH authorize IN summary.authorized %] [% END %] [% IF ( marcflavour == 'UNIMARC' ) %] [% FOREACH note IN summary.notes %] [% note %] [% END %] [% FOREACH seefro IN summary.seefrom %] [% PROCESS showreference heading=seefro.heading label="" type=seefro.type %] [% END %] [% ELSE %] [% IF ( summary.seefrom ) %] [% FOREACH seefro IN summary.seefrom %]