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">[% label | html %]</span>[% END %]
15 <span class="heading">
16 [% IF ( linkpath && search ) %]<a href="[% link | url %][% search | url %]">[% heading | html %]</a>
17 [% ELSE %][% heading | html %][% END %]
19 [% UNLESS ( type=='seefrom' || type=='seealso' ) %]<span class="type">[% SWITCH type %]
20 [% CASE 'earlier' %](Earlier heading)
21 [% CASE 'later' %](Later heading)
22 [% CASE 'acronym' %](Acronym)
23 [% CASE 'musical' %](Musical composition)
24 [% CASE 'broader' %](Broader heading)
25 [% CASE 'narrower' %](Narrower heading)
26 [% CASE 'parent' %](Immediate parent body)
27 [% CASE %][% IF type %]([% type | html %])[% END %]
28 [% END %]</span>[% END %]
31 [% BLOCK authresult %]
32 [% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
33 [% UNLESS ( summary.summaryonly ) %]
34 <div class="authorizedheading">
35 [% FOREACH authorize IN summary.authorized %]
36 <span class="authorizedheading">[% authorize.heading | html %]</span>
39 [% IF ( marcflavour == 'UNIMARC' ) %]
40 [% IF summary.notes %]
41 <div class="authres_notes">
42 [% FOREACH note IN summary.notes %]
43 [% note.note | html %]</span>
47 [% IF summary.seealso %]
48 <div class="authres_seealso">
49 [% FOREACH see IN summary.seealso %]
50 [% PROCESS showreference heading=see.heading label="" type=see.type search='' %]
51 [% IF ! loop.last %] ; [% END %]
55 [% IF summary.otherscript %]
56 <div class="authres_otherscript">
57 [% FOREACH other IN summary.otherscript %]
58 [% PROCESS language lang=other.lang | trim %]:
60 [% IF ! loop.last %] ; [% END %]
66 [% IF ( summary.seefrom ) %]
67 [% FOREACH seefro IN summary.seefrom %]
68 <div class="seefrom authref">
69 [% PROCESS showreference heading=seefro.heading label="used for/see from:" type=seefro.type search='' %]
73 [% IF ( summary.seealso ) %]
74 [% FOREACH seeals IN summary.seealso %]
75 <div class="seealso authref">
76 [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type linkpath=link search=seeals.search %]
85 [% CASE ['en', 'eng'] %]English
86 [% CASE ['fr', 'fre'] %]French
87 [% CASE ['it', 'ita'] %]Italian
88 [% CASE ['de', 'ger', 'deu'] %]German
89 [% CASE ['es', 'spa'] %]Spanish