1 [% BLOCK showreference %]
2 [% IF marcflavour == 'UNIMARC' %]
5 <span class="BT">BT: [% heading | html %]</span>
7 <span class="NT">NT: [% heading | html %]</span>
9 <span class="UF">UF: [% heading | html %]</span>
11 <span class="RT">RT: [% heading | html %]</span>
14 [% IF ( label ) %]<span class="label">[% SWITCH label %]
15 [% CASE 'see also:' %]see also:
16 [% CASE 'used for/see from:' %]used for/see from:
17 [% END %]</span>[% END %]
18 <span class="heading">
19 [% IF ( linkpath && search ) %]<a href="[% link | url %][% search | url %]">[% heading | html %]</a>
20 [% ELSE %][% heading | html %][% END %]
22 [% UNLESS ( type=='seefrom' || type=='seealso' ) %]<span class="type">[% SWITCH type %]
23 [% CASE 'earlier' %](Earlier heading)
24 [% CASE 'later' %](Later heading)
25 [% CASE 'acronym' %](Acronym)
26 [% CASE 'musical' %](Musical composition)
27 [% CASE 'broader' %](Broader heading)
28 [% CASE 'narrower' %](Narrower heading)
29 [% CASE 'parent' %](Immediate parent body)
30 [% CASE %][% IF type %]([% type | html %])[% END %]
31 [% END %]</span>[% END %]
34 [% BLOCK authresult %]
35 [% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
36 [% UNLESS ( summary.summaryonly ) %]
37 <div class="authorizedheading">
38 [% FOREACH authorize IN summary.authorized %]
39 <span class="authorizedheading">[% authorize.heading | html %]</span>
42 [% IF ( marcflavour == 'UNIMARC' ) %]
43 [% IF summary.notes %]
44 <div class="authres_notes">
45 [% FOREACH note IN summary.notes %]
46 [% note.note | html %]</span>
50 [% IF summary.seealso %]
51 <div class="authres_seealso">
52 [% FOREACH see IN summary.seealso %]
53 [% PROCESS showreference heading=see.heading label="" type=see.type search='' %]
54 [% IF ! loop.last %] ; [% END %]
58 [% IF summary.otherscript %]
59 <div class="authres_otherscript">
60 [% FOREACH other IN summary.otherscript %]
61 [% PROCESS language lang=other.lang | trim %]:
63 [% IF ! loop.last %] ; [% END %]
68 [% IF ( summary.seefrom ) %]
69 [% FOREACH seefro IN summary.seefrom %]
70 <div class="seefrom authref">
71 [% PROCESS showreference heading=seefro.heading label="used for/see from:" type=seefro.type search='' %]
75 [% IF ( summary.seealso ) %]
76 [% FOREACH seeals IN summary.seealso %]
77 <div class="seealso authref">
78 [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type linkpath=link search=seeals.search %]