Bild-kurz: Unterschied zwischen den Versionen

Aus Data-Wiki
imported>Glorius
KKeine Bearbeitungszusammenfassung
imported>Glorius
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<code>
<pre>
<dfl:part name="Bild-kurz">
<dfl:part name="Bild-kurz">
<dfl:div class="Bausteine Bild-kurz">
<dfl:div class="Bausteine Bild-kurz">
Zeile 1.450: Zeile 1.450:
</dfl:choose>
</dfl:choose>
</dfl:part>
</dfl:part>
</code>
</pre>

Version vom 16. Februar 2022, 18:05 Uhr

<dfl:part name="Bild-kurz">
	<dfl:div class="Bausteine Bild-kurz">
		<dfl:wrap>{a8510}</dfl:wrap>
		<!--Kailus 20160914: augmentiertes a8510 aus FTO berücksichtigt -->
		<dfl:if test="fto">
			<dfl:wrap>{fto//a8510}</dfl:wrap>
		</dfl:if>
		<dfl:if test="a8510 and (a8470 or .//aft28[=Verwalter]/a2950 or a8472 or a8540 or a8555 or a8460 or a8490 or .//aft30/a3100 or a8494 or .//a84060[=Aufnahme]/a84064 or a8577)">
			<br/>
		</dfl:if>
		<dfl:if test="fto and (a8470 or .//aft28[=Verwalter]/a2950 or a8472 or a8540 or a8555 or a8460 or a8490 or .//aft30/a3100 or a8494 or .//a84060[=Aufnahme]/a84064 or a8577)">
			<br/>
		</dfl:if>
		<!--<dfl:wrap>{{Aufnahme-Nr. {a8470>>a8472>>.//aft28[=Verwalter]/a2950}}, {Bilddatei: {a8540>>a8555}}}</dfl:wrap>-->
		<!-- 
			Siehe Kommentar Issue BKA3-211
		-->
		<dfl:choose>
			<dfl:when test="(not(a8540) and not(a8555)) and (a8470 or a8472 or a84fl)">
				<dfl:if test="a8510">
					<br/>
				</dfl:if>
				<dfl:text>Dieses Bild wurde noch nicht digitalisiert.</dfl:text>
				<br/>
			</dfl:when>
			<dfl:when test="not(a8540) and not(a8555) and not(a8470) and not(a8472) and not(a84fl)">
				<dfl:if test="a8510">
					<br/>
				</dfl:if>
				<dfl:text>Dieses Werk / dieser Werkteil ist unbebildert.</dfl:text>
				<br/>
			</dfl:when>
		</dfl:choose>
		<dfl:choose>
			<dfl:when test="a8540">
				<dfl:wrap>{Bilddatei-Nr. {a8540}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="a84fl">
				<dfl:wrap>{KHI-Nr. {a84fl}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="a8470 or a8472 or .//aft28[=Verwalter]/a2950 or a8555">
				<dfl:wrap>{Aufnahme-Nr. {a8470>>a8472>>.//aft28[=Verwalter]/a2950>>a8555}}</dfl:wrap>
			</dfl:when>
		</dfl:choose>
		<dfl:if test="a8555 and not(a8540)">
			<dfl:space/>
			<dfl:text>(Vorschaubild)</dfl:text>
		</dfl:if>
		<!--<dfl:choose>
			<dfl:when test="(a8470 and not(a8555)) or .//aft28[=Verwalter]/a2950">
				<dfl:wrap>{Aufnahme-Nr.
					{a8470>>.//aft28[=Verwalter]/a2950}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="a8472">
				<dfl:wrap>{Positiv-Nr. {a8472}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="a8540">
				<dfl:wrap>{Bilddatei {a8540}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="a8555">
				<dfl:wrap>{Bilddatei {a8555} (Vorschaubild)}</dfl:wrap>
			</dfl:when>
		</dfl:choose>-->
		<dfl:if test="(a8470 or .//aft28[=Verwalter]/a2950 or a8472 or a8540 or a8555) and (a8460 or a8490 or .//aft30/a3100 or a8494 or .//a84060[=Aufnahme]/a84064 or a8577)">
			<br/>
		</dfl:if>
		<dfl:wrap>{© {a8577>>a8460}}</dfl:wrap>
		<dfl:if test="not(a8577)">
			<dfl:space/>
			<dfl:if test="a8490">
				<dfl:text>/</dfl:text>
				<dfl:space/>
			</dfl:if>
			<dfl:wrap>{Foto: {a8490>>.//aft30/a3100}}</dfl:wrap>
			<dfl:if test="a8490">
				<dfl:text>;</dfl:text>
			</dfl:if>
			<dfl:space/>
		</dfl:if>
		<dfl:if test="a8577">
			<dfl:text>;</dfl:text>
			<dfl:space/>
		</dfl:if>
		<!--				<dfl:wrap>{/ Foto: {a8490>>.//aft30/a3100}}; </dfl:wrap>-->
		<dfl:wrap>{Aufn.-Datum: {a8494>>.//a84060[=Aufnahme]/a84064}}</dfl:wrap>
		<dfl:if test="not(a8577)">
			<dfl:text> - Rechte vorbehalten</dfl:text>
		</dfl:if>
		<dfl:if test="(a8541[=gesperrt*] or .//a926a/a8541[=gesperrt*])">
			<dfl:text> - Dieses Bild wird aus rechtlichen Gründen nicht angezeigt</dfl:text>
		</dfl:if>
		<dfl:if test="a8541c[=*keine Bestellung*]">
			<dfl:text>- Keine Bestellung</dfl:text>
		</dfl:if>
		<dfl:if test="a8541a[ri=.*kein download.*] or a8541[ri=.*(kein download|gesperrt|fehlt).*] or .//a926a/a8541a[ri=.*kein download.*] or .//a926a/a8541[ri=.*(kein download|gesperrt|fehlt).*]">
			<dfl:text> - kein Download.</dfl:text>
		</dfl:if>
		<dfl:if test="not(fto) and self::a8450">
			<!-- FM20170517: vorher: {Zugang: {a8496}}, {a8497} -->
			<!-- FM20170823: a8478a, a8494b, a8487a, a8489a, a8479 eingefügt; festen Text vor a85fm geändert, vorher 'Teilbestand'. -->
			<dfl:if test="(a8461|a8482|a8480|a8478|a8478a|a8494b|a8479|a8487|a8487a|a8489|a8489a|a8504|a85fl|a84bh|a85bh|a84gm|a85zi|a8515|a8476|a8498|a8496|a8497|a8499|a8596|a85fm)">
				<dfl:text>; </dfl:text>
			</dfl:if>
			<dfl:wrap>{{a8461}; {a8482}; {a8480}; {a8478}; {a8478a}; {Repro-Datum: {a8494b}}; {Vorlage: {a8479}}; {a8487}; {a8487a}; {a8489}; {a8489a}; {a8504}}</dfl:wrap>
			<dfl:if test="(a8461|a8482|a8480|a8478|a8478a|a8494b|a8479|a8487|a8487a|a8489|a8489a|a8504) and (a85fl|a84bh|a85bh|a84gm|a85zi|a8515|a8476|a8498|a8496|a8497|a8499|a8596|a85fm)">
				<dfl:br/>
			</dfl:if>
			<!-- ABKA3-796 - Punkt3 -->
			<dfl:wrap>{\n{Nr.des KHI Florenz: {a85fl}}, {Bibliotheca Hertziana-Nr. {a84bh}, {a85bh}}, {GNM-Nr. {a84gm}}, {ZI-Inventar-Nr. {a85zi}}, {Signatur: {a8515}}, {ehem. Aufnahme-Nr. {a8476}}, {Herkunft: {a8498}}, {Zugang: {a8496}, {a8497}}, {Literaturnachweis: {a8499}}, {a8596}, {Fotokonvolut: {a85fm}}}</dfl:wrap>
		</dfl:if>
		<dfl:if test="fto">
			<!-- ABKA3-796 - Punkt3, ABKA3-1026 ($ETE_Variables/medium zur Ausführungszeit nicht immer gesetzt!) -->
			<dfl:choose>
				<dfl:when test="$ETEVariables/medium">
					<!-- Direkt addressiertes Medium. Verwende ETE-Medium-Variable zur Auswahl des fto-Knotens. Entspricht Aufruf aus Trefferliste oder Aufruf über "Bildlink" in Detailanzeige. -->
					<dfl:if test="(fto//aft28/a2951|fto//a8482|fto//a84360|fto//a84230|fto//a84260|fto//a84300|fto//a8504) and (//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a85fl|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a84bh|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a85bh|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a84gm|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a85zi|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a8515|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a2952|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a9020|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a9022|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a8596|//fto[a8450/a8540 = $ETEVariables/medium]/aft28/a85fm|//fto[a8450/a8540 = $ETEVariables/medium]/a8350|//fto[a8450/a8540 = $ETEVariables/medium]/a99ga)">
						<dfl:br/>
					</dfl:if>				
					<dfl:wrap>{\n{Nr.des KHI Florenz: {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a85fl}}, {Bibliotheca Hertziana-Nr. {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a84bh}, {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a85bh}}, {GNM-Nr. {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a84gm}}, {ZI-Inventar-Nr. {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a85zi}}, {Signatur: {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a8515}}, {ehem. Aufnahme-Nr. {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a2952}}, {Zugang: {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a9020}, {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a9022}}, {Literaturnachweis: {//fto[a8450/a8540 = $ETEVariables/medium][1]/a8350}}, {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a8596}, {Fotokonvolut: {//fto[a8450/a8540 = $ETEVariables/medium][1]/aft28/a85fm}}, {//fto[a8450/a8540 = $ETEVariables/medium][1]/a99ga}}</dfl:wrap>							
				</dfl:when>
				<dfl:otherwise>			
					<dfl:variable name="curDID" select="@did"/>
					<dfl:choose>
						<!-- Kein direkt addressiertes Medium, verwende Leitbild aus edpmedium aus dem _source mit passender did aus dem ElasticSearch Result zur Auswahl des fto-Knotens -->
						<dfl:when test="a8450[a8540=ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium or a8555=ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]">
							<dfl:if test="(fto//aft28/a2951|fto//a8482|fto//a84360|fto//a84230|fto//a84260|fto//a84300|fto//a8504) and (//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a85fl|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a84bh|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a85bh|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a84gm|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a85zi|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a8515|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a2952|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a9020|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a9022|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a8596|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/aft28/a85fm|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/a8350|//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium]/a99ga)">
								<dfl:br/>
							</dfl:if>				
							<dfl:br/><dfl:wrap>{\n{Nr.des KHI Florenz: {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a85fl}}, {Bibliotheca Hertziana-Nr. {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a84bh}, {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a85bh}}, {GNM-Nr. {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a84gm}}, {ZI-Inventar-Nr. {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a85zi}}, {Signatur: {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a8515}}, {ehem. Aufnahme-Nr. {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a2952}}, {Zugang: {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a9020}, {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a9022}}, {Literaturnachweis: {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/a8350}}, {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a8596}, {Fotokonvolut: {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/aft28/a85fm}}, {//fto[a8450/a8540 = ancestor::root/remoteMethodResult/hits/hits/item/_source[did=$curDID]/cc/edpmedium][1]/a99ga}}</dfl:wrap>
						</dfl:when>
						<!-- Keine Informationen zum Medium vorhanden oder did findet keine Entsprechung in ElasticSearch Result. -->
						<dfl:otherwise>
							<dfl:mediaiterator context="document">
								<dfl:if test="position()=1">
									<!-- Verwende 1. Bild des Blocks zur Auswahl des fto-Knotens -->
									<dfl:if test="(fto//aft28/a2951|fto//a8482|fto//a84360|fto//a84230|fto//a84260|fto//a84300|fto//a8504) and (//fto[a8450/a8540][1]/aft28/a85fl|//fto[a8450/a8540][1]/aft28/a84bh|//fto[a8450/a8540][1]/aft28/a85bh|//fto[a8450/a8540][1]/aft28/a84gm|//fto[a8450/a8540][1]/aft28/a85zi|//fto[a8450/a8540][1]/aft28/a8515|//fto[a8450/a8540][1]/aft28/a2952|//fto[a8450/a8540][1]/aft28/a9020|//fto[a8450/a8540][1]/aft28/a9022|//fto[a8450/a8540][1]/aft28/a8596|//fto[a8450/a8540][1]/aft28/a85fm|//fto[a8450/a8540][1]/a8350|//fto[a8450/a8540][1]/a99ga)">
										<dfl:br/>
									</dfl:if>				
									<dfl:wrap>{\n{Nr.des KHI Florenz: {//fto[a8450/a8540][1]/aft28/a85fl}}, {Bibliotheca Hertziana-Nr. {//fto[a8450/a8540][1]/aft28/a84bh}, {//fto[a8450/a8540][1]/aft28/a85bh}}, {GNM-Nr. {//fto[a8450/a8540][1]/aft28/a84gm}}, {ZI-Inventar-Nr. {//fto[a8450/a8540][1]/aft28/a85zi}}, {Signatur: {//fto[a8450/a8540][1]/aft28/a8515}}, {ehem. Aufnahme-Nr. {//fto[a8450/a8540][1]/aft28/a2952}}, {Zugang: {//fto[a8450/a8540][1]/aft28/a9020}, {//fto[a8450/a8540][1]/aft28/a9022}}, {Literaturnachweis: {//fto[a8450/a8540][1]/a8350}}, {//fto[a8450/a8540][1]/aft28/a8596}, {Fotokonvolut: {//fto[a8450/a8540][1]/aft28/a85fm}}, {//fto[a8450/a8540][1]/a99ga}}</dfl:wrap>																		
								</dfl:if>
							</dfl:mediaiterator>
							<dfl:ifnothasmedia context="document">
								<!-- Es gibt kein Medium oder kein aft28 im Dokument. Keine Ausgabe. -->
								<dfl:if test="(fto//aft28/a2951|fto//a8482|fto//a84360|fto//a84230|fto//a84260|fto//a84300|fto//a8504)">
									<dfl:br/>
								</dfl:if>
							</dfl:ifnothasmedia>
						</dfl:otherwise>
					</dfl:choose>
				</dfl:otherwise>
			</dfl:choose>
		</dfl:if>
		<dfl:if test="self::kur">
			<!-- FM20170517: vorher: {Zugang: {self::kur//a8496}}, {self::kur//a8497} -->
			<dfl:wrap>{{self::kur//a8461}, {self::kur//a8482}, {self::kur//a8480}, {self::kur//a8478}, {self::kur//a8487}, {self::kur//a8489}, {self::kur//a8504}}</dfl:wrap>
			<!-- ABKA3-796 - Punkt3 -->
			<dfl:if test="(self::kur//a8461 or self::kur//a8482 or self::kur//a8480 or self::kur//a8478 or self::kur//a8487 or self::kur//a8489 or self::kur//a8504) and (self::kur//a85fl or self::kur//a84bh or self::kur//a85bh or self::kur//a84gm or self::kur//a85zi or self::kur//a8515 or self::kur//a8476 or self::kur//a8498 or self::kur//a8496 or self::kur//a8497 or self::kur//a8499 or self::kur//a8596 or self::kur//a85fm)">
				<dfl:br/>
			</dfl:if>
			<dfl:wrap>{\n{Nr.des KHI Florenz: {self::kur//a85fl}}, {Bibliotheca Hertziana-Nr. {self::kur//a84bh}, {self::kur//a85bh}}, {GNM-Nr. {self::kur//a84gm}}, {ZI-Inventar-Nr. {self::kur//a85zi}}, {Signatur: {self::kur//a8515}}, {ehem. Aufnahme-Nr. {self::kur//a8476}}, {Herkunft: {self::kur//a8498}}, {Zugang: {self::kur//a8496}, {self::kur//a8497}}, {Literaturnachweis: {self::kur//a8499}}, {self::kur//a8596}, {Fotokonvolut: {self::kur//a85fm}}}</dfl:wrap>
		</dfl:if>
		<dfl:if test="position()!=last()">
			<dfl:br/>
		</dfl:if>
	</dfl:div>
	<dfl:if test="self::kur">
		<!--				<dfl:copy-of select="."/>-->
		<dfl:wrap>{self::kur//a8510}</dfl:wrap>
		<br/>
		<dfl:choose>
			<dfl:when test="self::kur//a8470 or self::kur//aft28[=Verwalter]/a2950">
				<dfl:wrap>{Aufnahme-Nr. {self::kur//a8470>>self::kur//aft28[=Verwalter]/a2950}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="self::kur//a8472">
				<dfl:wrap>{Positiv-Nr. {self::kur//a8472}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="self::kur//a8540">
				<dfl:wrap>{Bilddatei {self::kur//a8540}}</dfl:wrap>
			</dfl:when>
			<dfl:when test="self::kur//a8555">
				<dfl:wrap>{Bilddatei {self::kur//a8555} (Vorschaubild)}</dfl:wrap>
			</dfl:when>
		</dfl:choose>
		<br/>
		<dfl:wrap> {{© {self::kur//a8460}} / {Foto: {self::kur//a8490}}; {Aufn.-Datum: {self::kur//a8494>>self::kur//a84060[=Aufnahme]/a84064}}}</dfl:wrap>
		<dfl:if test="a8450[not(../a8577)]">
			<dfl:text> - Rechte vorbehalten</dfl:text>
		</dfl:if>
		<dfl:if test="(a8541[=gesperrt*])">
			<dfl:text> - Dieses Bild wird aus rechtlichen Gründen nicht angezeigt.</dfl:text>
		</dfl:if>
		<dfl:if test="not(fto) and self::a8450">
			<!-- FM20170517: vorher: {Zugang: {a8496}}, {a8497} -->
			<!-- FM20170823: a8478a, a8494b, a8487a, a8489a, a8479 eingefügt; festen Text vor a85fm geändert, vorher 'Teilbestand'. -->
			<dfl:if test="(a8461|a8482|a8480|a8478|a8478a|a8494b|a8479|a8487|a8487a|a8489|a8489a|a8504|a85fl|a84bh|a85bh|a84gm|a85zi|a8515|a8476|a8498|a8496|a8497|a8499|a8596|a85fm)">
				<dfl:text>; </dfl:text>
			</dfl:if>
			<dfl:wrap>{{a8461}; {a8482}; {a8480}; {a8478}; {a8478a}; {Repro-Datum: {a8494b}}; {Vorlage: {a8479}}; {a8487}; {a8487a}; {a8489}; {a8489a}; {a8504}}</dfl:wrap>
			<dfl:if test="(a8461|a8482|a8480|a8478|a8478a|a8494b|a8479|a8487|a8487a|a8489|a8489a|a8504) and (a85fl|a84bh|a85bh|a84gm|a85zi|a8515|a8476|a8498|a8496|a8497|a8499|a8596|a85fm)">
				<dfl:br/>
			</dfl:if>
			<!-- ABKA3-796 - Punkt3 -->
			<dfl:wrap>{\n{Nr.des KHI Florenz: {a85fl}}, {Bibliotheca Hertziana-Nr. {a84bh}, {a85bh}}, {GNM-Nr. {a84gm}}, {ZI-Inventar-Nr. {a85zi}}, {Signatur: {a8515}}, {ehem. Aufnahme-Nr. {a8476}}, {Herkunft: {a8498}}, {Zugang: {a8496}, {a8497}}, {Literaturnachweis: {a8499}}, {a8596}, {Fotokonvolut: {a85fm}}}</dfl:wrap>
		</dfl:if>
		<dfl:if test="fto">
			<!-- ABKA3-796 - Punkt3 -->
			<dfl:if test="(fto//aft28/a2951|fto//a8482|fto//a84360|fto//a84230|fto//a84260|fto//a84300|fto//a8504) and (fto//aft28/a85fl|fto//aft28/a84bh|fto//aft28/a85bh|fto//aft28/a84gm|fto//aft28/a85zi|fto//aft28/a8515|fto//aft28/a2952|fto//aft28/a9020|fto//aft28/a9022|fto//a8350|fto//aft28/a8596|fto//aft28/a85fm|fto//a99ga)">
				<dfl:br/>
			</dfl:if>
			<dfl:wrap>{\n{Nr.des KHI Florenz: {fto//aft28/a85fl}}, {Bibliotheca Hertziana-Nr. {fto//aft28/a84bh}, {fto//aft28/a85bh}}, {GNM-Nr. {fto//aft28/a84gm}}, {ZI-Inventar-Nr. {fto//aft28/a85zi}}, {Signatur: {fto//aft28/a8515}}, {ehem. Aufnahme-Nr. {fto//aft28/a2952}}, {Zugang: {fto//aft28/a9020}, {fto//aft28/a9022}}, {Literaturnachweis: {fto//a8350}}, {fto//aft28/a8596}, {Fotokonvolut: {fto//aft28/a85fm}}, {fto//a99ga}}</dfl:wrap>
		</dfl:if>
		<dfl:if test="self::kur">
			<!-- FM20170517: vorher: {Zugang: {self::kur//a8496}}, {self::kur//a8497} -->
			<dfl:wrap>{{self::kur//a8461}, {self::kur//a8482}, {self::kur//a8480}, {self::kur//a8478}, {self::kur//a8487}, {self::kur//a8489}, {self::kur//a8504}}</dfl:wrap>
			<!-- ABKA3-796 - Punkt3 -->
			<dfl:if test="(self::kur//a8461 or self::kur//a8482 or self::kur//a8480 or self::kur//a8478 or self::kur//a8487 or self::kur//a8489 or self::kur//a8504) and (self::kur//a85fl or self::kur//a84bh or self::kur//a85bh or self::kur//a84gm or self::kur//a85zi or self::kur//a8515 or self::kur//a8476 or self::kur//a8498 or self::kur//a8496 or self::kur//a8497 or self::kur//a8499 or self::kur//a8596 or self::kur//a85fm)">
				<dfl:br/>
			</dfl:if>
			<dfl:wrap>{\n{Nr.des KHI Florenz: {self::kur//a85fl}}, {Bibliotheca Hertziana-Nr. {self::kur//a84bh}, {self::kur//a85bh}}, {GNM-Nr. {self::kur//a84gm}}, {ZI-Inventar-Nr. {self::kur//a85zi}}, {Signatur: {self::kur//a8515}}, {ehem. Aufnahme-Nr. {self::kur//a8476}}, {Herkunft: {self::kur//a8498}}, {Zugang: {self::kur//a8496}, {self::kur//a8497}}, {Literaturnachweis: {self::kur//a8499}}, {self::kur//a8596}, {Fotokonvolut: {self::kur//a85fm}}}</dfl:wrap>
		</dfl:if>
	</dfl:if>
</dfl:part>
<dfl:part name="Bild-lang">
	<dfl:div class="Bausteine Bild-lang">
<!--				<dfl:if test="not(fto) and self::a8450">
			<!-\- FM20170517: vorher: {Zugang: {a8496}}, {a8497} -\->
			<!-\- FM20170823: a8478a, a8494b, a8487a, a8489a, a8479 eingefügt; festen Text vor a85fm geändert, vorher 'Teilbestand'. -\->
			<dfl:wrap>{{a8461}, {a8482}, {a8480}, {a8478}, {a8478a}, {Repro-Datum: {a8494b}}, {Vorlage: {a8479}}, {a8487}, {a8487a}, {a8489}, {a8489a}, {a8504}}</dfl:wrap>
			<dfl:if test="(a8461|a8482|a8480|a8478|a8478a|a8494b|a8479|a8487|a8487a|a8489|a8489a|a8504) and (a85fl|a84bh|a85bh|a84gm|a85zi|a8515|a8476|a8498|a8496|a8497|a8499|a8596|a85fm)">
				<dfl:br/>
			</dfl:if>
			<!-\- ABKA3-796 - Punkt3 -\->
			<dfl:wrap>{\n{Nr.des KHI Florenz: {a85fl}}, {Bibliotheca Hertziana-Nr. {a84bh}, {a85bh}}, {GNM-Nr. {a84gm}}, {ZI-Inventar-Nr. {a85zi}}, {Signatur: {a8515}}, {ehem. Aufnahme-Nr. {a8476}}, {Herkunft: {a8498}}, {Zugang: {a8496}, {a8497}}, {Literaturnachweis: {a8499}}, {a8596}, {Fotokonvolut: {a85fm}}}</dfl:wrap>
		</dfl:if>
		<dfl:if test="fto">
			<!-\- ABKA3-796 - Punkt3 -\->
			<dfl:if test="(fto//aft28/a2951|fto//a8482|fto//a84360|fto//a84230|fto//a84260|fto//a84300|fto//a8504) and (fto//aft28/a85fl|fto//aft28/a84bh|fto//aft28/a85bh|fto//aft28/a84gm|fto//aft28/a85zi|fto//aft28/a8515|fto//aft28/a2952|fto//aft28/a9020|fto//aft28/a9022|fto//a8350|fto//aft28/a8596|fto//aft28/a85fm|fto//a99ga)">
				<dfl:br/>
			</dfl:if>
			<dfl:wrap>{\n{Nr.des KHI Florenz: {fto//aft28/a85fl}}, {Bibliotheca Hertziana-Nr. {fto//aft28/a84bh}, {fto//aft28/a85bh}}, {GNM-Nr. {fto//aft28/a84gm}}, {ZI-Inventar-Nr. {fto//aft28/a85zi}}, {Signatur: {fto//aft28/a8515}}, {ehem. Aufnahme-Nr. {fto//aft28/a2952}}, {Zugang: {fto//aft28/a9020}, {fto//aft28/a9022}}, {Literaturnachweis: {fto//a8350}}, {fto//aft28/a8596}, {Fotokonvolut: {fto//aft28/a85fm}}, {fto//a99ga}}</dfl:wrap>
		</dfl:if>
		<dfl:if test="self::kur">
			<!-\- FM20170517: vorher: {Zugang: {self::kur//a8496}}, {self::kur//a8497} -\->
			<dfl:wrap>{{self::kur//a8461}, {self::kur//a8482}, {self::kur//a8480}, {self::kur//a8478}, {self::kur//a8487}, {self::kur//a8489}, {self::kur//a8504}}</dfl:wrap>
			<!-\- ABKA3-796 - Punkt3 -\->
			<dfl:if test="(self::kur//a8461 or self::kur//a8482 or self::kur//a8480 or self::kur//a8478 or self::kur//a8487 or self::kur//a8489 or self::kur//a8504) and (self::kur//a85fl or self::kur//a84bh or self::kur//a85bh or self::kur//a84gm or self::kur//a85zi or self::kur//a8515 or self::kur//a8476 or self::kur//a8498 or self::kur//a8496 or self::kur//a8497 or self::kur//a8499 or self::kur//a8596 or self::kur//a85fm)">
				<dfl:br/>
			</dfl:if>
			<dfl:wrap>{\n{Nr.des KHI Florenz: {self::kur//a85fl}}, {Bibliotheca Hertziana-Nr. {self::kur//a84bh}, {self::kur//a85bh}}, {GNM-Nr. {self::kur//a84gm}}, {ZI-Inventar-Nr. {self::kur//a85zi}}, {Signatur: {self::kur//a8515}}, {ehem. Aufnahme-Nr. {self::kur//a8476}}, {Herkunft: {self::kur//a8498}}, {Zugang: {self::kur//a8496}, {self::kur//a8497}}, {Literaturnachweis: {self::kur//a8499}}, {self::kur//a8596}, {Fotokonvolut: {self::kur//a85fm}}}</dfl:wrap>
		</dfl:if>-->
	</dfl:div>
</dfl:part>
<dfl:part name="Weblinks">
	<!-- QUE DOKUMENTE -->
	<dfl:if test="(self::que[aqu30])[last()]/aqu30[a3100[!=Unbekannt*]][a30gn[=*gnd*]]                 or (self::que[aqu35])[last()]/aqu35[a3600[!=Unbekannt*]][a35gn[=*gnd*]]                 or (self::que[aqu40])[last()]/aqu40[a4100[!=Unbekannt*]][a40gn[=*gnd*]]                 or (self::que[aqu45])[last()]/aqu45[a4600[!=Unbekannt*]][a45gn[=*gnd*]]     or (self::que[aqu26])[last()]/aqu26[a2700[!=Unbekannt*]][a26gn[=*gnd*] or a27gn[=*gnd*]]">
		<dfl:div class="Bausteine Weblinks">
			<h3>
				<dfl:text>Weblinks </dfl:text>
			</h3>
			<ul>
				<dfl:for-each select="(self::que[aqu30])[last()]/aqu30[a3100[!=Unbekannt*]][a30gn[=*gnd*]]">
					<li>
						<h5>
							<!-- FM20170517: Bausteine Weblinks: Überall die Ausgabe 'Weblinks zu' zu 'zu geändert. -->
							<dfl:wrap>{zu {a31nn>>a3100}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a30gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::que[aqu35])[last()]/aqu35[a3600[!=Unbekannt*]][a35gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a36nn>>a3600}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a35gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::que[aqu40])[last()]/aqu40[a4100[!=Unbekannt*]][a40gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a41nn>>a4100}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a40gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::que[aqu45])[last()]/aqu45[a4600[!=Unbekannt*]][a45gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a46nn>>a4600}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a45gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::que[aqu26])[last()]/aqu26[a2700[!=Unbekannt*]][a26gn[=*gnd*] or a27gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:choose>
								<dfl:when test="a27gn[=*gnd*]">
									<dfl:text>zu</dfl:text>
									<dfl:space/>
									<dfl:choose>
										<dfl:when test="a2700">
											<dfl:wrap>{a2700}</dfl:wrap>
										</dfl:when>
										<dfl:when test="a2690">
											<dfl:wrap>{{a2690}, {a2750}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{a2740}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:when>
								<dfl:otherwise>
									<!-- 26gn -->
									<dfl:wrap>{zu {a2700>>a2690}}</dfl:wrap>
								</dfl:otherwise>
							</dfl:choose>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<li>
								<dfl:choose>
									<dfl:when test="a27gn[=*gnd*]">
										<dfl:for-each-token select="a27gn" distinct="true" separator="\s&\s">
											<dfl:if test="starts-with(., 'gnd')">
												<!-- 26gn -->
												<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
													<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
												</dfl:a>
												<!-- GNDBeacon Links -->
												<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
											</dfl:if>
										</dfl:for-each-token>
									</dfl:when>
									<dfl:otherwise>
										<dfl:for-each-token select="a26gn" distinct="true" separator="\s&\s">
											<dfl:if test="starts-with(., 'gnd')">
												<!-- 26gn -->
												<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
													<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
												</dfl:a>
												<!-- GNDBeacon Links -->
												<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
											</dfl:if>
										</dfl:for-each-token>
									</dfl:otherwise>
								</dfl:choose>
							</li>
						</ul>
					</li>
				</dfl:for-each>
			</ul>
		</dfl:div>
	</dfl:if>
	<!-- OBJ DOKUMENTE -->
	<dfl:if test="(self::obj[aob30])[last()]/aob30[a3100[!=Unbekannt*]][a30gn[=*gnd*]]                     or (self::obj[aob35])[last()]/aob35[a3600[!=Unbekannt*]][a35gn[=*gnd*]]                     or (self::obj[aob40])[last()]/aob40[a4100[!=Unbekannt*]][a40gn[=*gnd*]]                     or (self::obj[aob45])[last()]/aob45[a4600[!=Unbekannt*]][a45gn[=*gnd*]]         or (self::obj[a50gn[=gnd*]])[last()]/a50gn[=*gnd*]         or (self::obj[aob26])[last()]/aob26[a2700[!=Unbekannt*]][a26gn[=*gnd*] or a27gn[=*gnd*]]">
		<dfl:div class="Bausteine Weblinks">
			<h3>
				<dfl:text>Weblinks </dfl:text>
			</h3>
			<ul>
				<dfl:for-each select="(self::obj[aob30])[last()]/aob30[a3100[!=Unbekannt*]][a30gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a31nn>>a3100}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a30gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob35])[last()]/aob35[a3600[!=Unbekannt*]][a35gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a36nn>>a3600}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a35gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob40])[last()]/aob40[a4100[!=Unbekannt*]][a40gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a41nn>>a4100}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a40gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob45])[last()]/aob45[a4600[!=Unbekannt*]][a45gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:wrap>{zu {a46nn>>a4600}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="a45gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[a50gn[=gnd*]])[last()]/a50gn[=*gnd*]">
					<li>
						<h5>
							<dfl:wrap>{zu {../a5200>>../a5202>>../a5230}}</dfl:wrap>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<dfl:for-each-token select="self::a50gn" distinct="true" separator="\s&\s">
								<dfl:if test="starts-with(., 'gnd')">
									<li>
										<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
											<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
										</dfl:a>
									</li>
									<!-- GNDBeacon Links -->
									<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
								</dfl:if>
							</dfl:for-each-token>
						</ul>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob26])[last()]/aob26[a2700[!=Unbekannt*]][a26gn[=*gnd*] or a27gn[=*gnd*]]">
					<li>
						<h5>
							<dfl:choose>
								<dfl:when test="a27gn[=gnd*]">
									<dfl:text>zu</dfl:text>
									<dfl:space/>
									<dfl:choose>
										<dfl:when test="a2700">
											<dfl:wrap>{a2700}</dfl:wrap>
										</dfl:when>
										<dfl:when test="a2690">
											<dfl:wrap>{{a2690}, {a2750}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{a2740}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:when>
								<dfl:otherwise>
									<!-- 26gn -->
									<dfl:wrap>{zu {a2700>>a2690}}</dfl:wrap>
								</dfl:otherwise>
							</dfl:choose>
						</h5>
						<ul class="noList noPadding noMargin detailsLinks">
							<li>
								<dfl:choose>
									<dfl:when test="a27gn[=*gnd*]">
										<dfl:for-each-token select="a27gn" distinct="true" separator="\s&\s">
											<dfl:if test="starts-with(., 'gnd')">
												<!-- 26gn -->
												<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
													<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
												</dfl:a>
												<!-- GNDBeacon Links -->
												<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
											</dfl:if>
										</dfl:for-each-token>
									</dfl:when>
									<dfl:otherwise>
										<dfl:for-each-token select="a26gn" distinct="true" separator="\s&\s">
											<dfl:if test="starts-with(., 'gnd')">
												<!-- 26gn -->
												<dfl:a href="http://d-nb.info/gnd/{substring-after(.,'gnd')}" target="_blank">
													<dfl:text>Deutsche Nationalbibliothek (DNB)</dfl:text>
												</dfl:a>
												<!-- GNDBeacon Links -->
												<dfl:call-template selectdoctype="'pndref'" selectdocnumber="substring-after(.,'gnd')" template="pndref-Dokument"/>
											</dfl:if>
										</dfl:for-each-token>
									</dfl:otherwise>
								</dfl:choose>
							</li>
						</ul>
					</li>
				</dfl:for-each>
			</ul>
		</dfl:div>
	</dfl:if>
</dfl:part>
<dfl:part name="Siehe-auch-Suche">
	<!-- Kailus 20160914: Siehe-auch-Suchen auf Gattung (a5220), Sachbegriff (a5230), Technik (a5300), Material (a5260) entfernt, auf 99ga zugesetzt. -->
	<!-- Kailus 20160914: Einleitende Phrasen für bildbezogene Suchen angepasst. -->
	<!-- FotoSuche -->
	<dfl:if test="self::a8450">
		<!-- ABKA3-796 Punkt 6 -->
		<dfl:div class="Bausteine Siehe-auch-Suche">
			<h3>
				<dfl:text>Siehe auch </dfl:text>
			</h3>
			<ul>
				<dfl:choose>
					<!-- Spalte D -->
					<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
						<!-- Zeile 201 -->
						<dfl:for-each select="(ancestor::obj[aob30[=Herstell*]])[last()]/aob30[=Herstell*]" distinct="a3100">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-photographer"/>
									<dfl:actionParam name="desc" select="translate(a3100, '?', '')"/>
									<dfl:text>Mehr Fotos von </dfl:text>
									<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 202 -->
						<dfl:for-each select="(ancestor::obj[aob35[=Herstell*]])[last()]/aob35[=Herstell*]" distinct="a3600">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-photographer"/>
									<dfl:actionParam name="desc" select="translate(a3600, '?', '')"/>
									<dfl:text>Mehr Fotos von </dfl:text>
									<dfl:wrap>{a36nn>>a3600}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 203 -->
						<dfl:for-each select="(ancestor::obj[a5060[a5064 and a5071 and a5077 and text()[1]='Aufnahme']])[last()]/a5060[a5064 and a5071 and a5077 and text()[1]='Aufnahme']">
							<li>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a5071"/>
									<dfl:actionParam name="toDate" select="a5077"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a5071 = a5077">
											<dfl:wrap>{{a5071}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a5071} - {a5077}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 204: Datierung als Alternative falls es keines mit Aufnahme gibt -->
						<dfl:for-each select="(ancestor::obj[a5060[a5064 and a5071 and a5077 and text()[1]='Datierung' and not(../a5060[a5064 and a5071 and a5077 and text()[1]='Aufnahme'])]])[last()]/a5060[a5064 and a5071 and a5077 and text()[1]='Datierung' and not(../a5060[a5064 and a5071 and a5077 and text()[1]='Aufnahme'])]">
							<li>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a5071"/>
									<dfl:actionParam name="toDate" select="a5077"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a5071 = a5077">
											<dfl:wrap>{{a5071}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a5071} - {a5077}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 205 -->
						<dfl:for-each select="a8460">
							<li>
								<dfl:variable name="sammlung">
									<dfl:choose>
										<dfl:when test="self::a8460[=Frankfurter Goethe-Haus*]">
											<dfl:value-of select="'Frankfurter Goethe-Haus'"/>
										</dfl:when>
										<dfl:when test="self::a8460[=Bibliotheca Hertziana] or self::a8460[=(Bibliotheca Hertziana)]">
											<dfl:value-of select="'Bibliotheca Hertziana OR (Bibliotheca Hertziana)'"/>
										</dfl:when>
										<dfl:otherwise>
											<dfl:value-of select="self::a8460"/>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:variable>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',$sammlung,'%22')"/>
									<dfl:actionParam name="index" value="pic-partner-inst_unmapped"/>
									<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
									<dfl:wrap>{self::a8460}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 206 -->
						<dfl:for-each-token select="a85fm" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<!-- 207 -->
						<dfl:for-each-token select="a85rb" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<!-- 208 -->
						<dfl:for-each-token select="ancestor::obj/a99ga" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
					</dfl:when>
					<!-- Spalte G -->
					<dfl:when test="ancestor::que">
						<dfl:for-each select="parent::que[aqu40[=Person (von)][a4100]]/aqu40[=Person (von)][a4100]">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="a4100"/>
									<dfl:actionParam name="index" value="pic-photographer"/>
									<dfl:text>Mehr Fotos von </dfl:text>
									<dfl:wrap>{a41nn>>a4100}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<dfl:for-each select="parent::que[a810a[a8101]]/a810a[a8101]">
							<li>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a8101a"/>
									<dfl:actionParam name="toDate" select="a8101e"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a8101a = a8101e">
											<dfl:wrap>{{a8101a}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a8101a} - {a8101e}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</li>
						</dfl:for-each>
						<dfl:for-each select="a8460">
							<li>
								<dfl:variable name="sammlung">
									<dfl:choose>
										<dfl:when test="self::a8460[=Frankfurter Goethe-Haus*]">
											<dfl:value-of select="'Frankfurter Goethe-Haus'"/>
										</dfl:when>
										<dfl:when test="self::a8460[=Bibliotheca Hertziana] or self::a8460[=(Bibliotheca Hertziana)]">
											<dfl:value-of select="'Bibliotheca Hertziana OR (Bibliotheca Hertziana)'"/>
										</dfl:when>
										<dfl:otherwise>
											<dfl:value-of select="self::a8460"/>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:variable>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',$sammlung,'%22')"/>
									<dfl:actionParam name="index" value="pic-partner-inst_unmapped"/>
									<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
									<dfl:wrap>{self::a8460}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 206 -->
						<dfl:for-each-token select="a85fm" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<!-- 207 -->
						<dfl:for-each-token select="parent::que[aqu28[a2940]]/aqu28[a2940]/a2940" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<!-- 208 -->
						<dfl:for-each-token select="parent::que/a99ga" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<dfl:for-each select="parent::que/a8094" distinct="self::a8094">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="self::a8094"/>
									<dfl:actionParam name="index" value="pic-sub-category"/>
									<dfl:text>Mehr Fotos zur Kategorie </dfl:text>
									<dfl:wrap>{self::a8094}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
					</dfl:when>
					<!-- Spalte E -->
					<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
						<dfl:for-each-token select="a8490" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="."/>
									<dfl:actionParam name="index" value="pic-photographer"/>
									<dfl:text>Mehr Fotos von </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<dfl:for-each select="a8494[../a8494a and ../a8494e]">
							<li>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="../a8494a"/>
									<dfl:actionParam name="toDate" select="../a8494e"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="../a8494a = ../a8494e">
											<dfl:wrap>{{../a8494a}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{../a8494a} - {../a8494e}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</li>
						</dfl:for-each>
						<dfl:for-each select="a8460">
							<li>
								<dfl:variable name="sammlung">
									<dfl:choose>
										<dfl:when test="self::a8460[=Frankfurter Goethe-Haus*]">
											<dfl:value-of select="'Frankfurter Goethe-Haus'"/>
										</dfl:when>
										<dfl:when test="self::a8460[=Bibliotheca Hertziana] or self::a8460[=(Bibliotheca Hertziana)]">
											<dfl:value-of select="'Bibliotheca Hertziana OR (Bibliotheca Hertziana)'"/>
										</dfl:when>
										<dfl:otherwise>
											<dfl:value-of select="self::a8460"/>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:variable>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',$sammlung,'%22')"/>
									<dfl:actionParam name="index" value="pic-partner-inst_unmapped"/>
									<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
									<dfl:wrap>{self::a8460}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 206 -->
						<dfl:for-each-token select="a85fm" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<!-- 207 -->
						<dfl:for-each-token select="a85rb" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
						<!-- 208 -->
						<dfl:for-each-token select="ancestor::obj/a99ga" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
					</dfl:when>
					<!-- Spalte F -->
					<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
						<!-- Zeile 201 -->
						<dfl:for-each select="self::a8450/fto/aft30[=Herstell*]" distinct="a3100">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-photographer"/>
									<dfl:actionParam name="desc" select="translate(a3100, '?', '')"/>
									<dfl:text>Mehr Fotos von </dfl:text>
									<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 202 -->
						<dfl:for-each select="self::a8450/fto/aft35[=Herstell*]" distinct="a3600">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-photographer"/>
									<dfl:actionParam name="desc" select="translate(a3600, '?', '')"/>
									<dfl:text>Mehr Fotos von </dfl:text>
									<dfl:wrap>{a36nn>>a3600}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 203 -->
						<dfl:for-each select="./fto/a84060[a84064 and a84064a and a84064e]">
							<li>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a84064a"/>
									<dfl:actionParam name="toDate" select="a84064e"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a84064a = a84064e">
											<dfl:wrap>{{a84064a}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a84064a} - {a84064e}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</li>
						</dfl:for-each>
						<!-- 204: Datierung als Alternative falls es keines mit Aufnahme gibt -->
						<dfl:for-each select="./fto/aft30[a3100 and not(../a84060[a84064 and a84064a and a84064e])]">
							<dfl:for-each-searchresult chapter="sys_xda_kue" descriptor="a3100" max="1">
								<dfl:variable name="kueDoc" select="edpt:getDoc('kue', string(docnumber))/kue"/>
								<dfl:if test="$kueDoc/a3181 and $kueDoc/a3187">
									<li>
										<dfl:action action="timelineQueryDocument">
											<dfl:actionParam name="fromDate" select="$kueDoc/a3181"/>
											<dfl:actionParam name="toDate" select="$kueDoc/a3187"/>
											<dfl:actionParam name="filter" value="pic-obj-timeline"/>
											<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
											<dfl:choose>
												<dfl:when test="$kueDoc/a3181 = $kueDoc/a3187">
													<dfl:wrap>{{$kueDoc/a3181}}</dfl:wrap>
												</dfl:when>
												<dfl:otherwise>
													<dfl:wrap>{{$kueDoc/a3181} - {$kueDoc/a3187}}</dfl:wrap>
												</dfl:otherwise>
											</dfl:choose>
										</dfl:action>
									</li>
								</dfl:if>
							</dfl:for-each-searchresult>
						</dfl:for-each>
						<dfl:for-each select="self::a8450//fto">
							<dfl:if test="position() = (number($ETEVariables/part) + 2)">
								<!-- 205 -->
								<dfl:for-each select="aft28[=Verwalt*][a2900]">
									<li>
										<dfl:variable name="sammlung">
											<dfl:choose>
												<dfl:when test="a2900[=Frankfurter Goethe-Haus*]">
													<dfl:value-of select="'Frankfurter Goethe-Haus'"/>
												</dfl:when>
												<dfl:when test="a2900[=Bibliotheca Hertziana] or a2900[=(Bibliotheca Hertziana)]">
													<dfl:value-of select="'Bibliotheca Hertziana OR (Bibliotheca Hertziana)'"/>
												</dfl:when>
												<dfl:otherwise>
													<dfl:value-of select="a2900"/>
												</dfl:otherwise>
											</dfl:choose>
										</dfl:variable>
										<dfl:action action="queryGallery">
											<dfl:actionParam name="desc" select="concat('%22',$sammlung,'%22')"/>
											<dfl:actionParam name="index" value="pic-partner-inst_unmapped"/>
											<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
											<dfl:wrap>{a2900}</dfl:wrap>
										</dfl:action>
									</li>
								</dfl:for-each>
								<!-- 206 -->
								<dfl:for-each-token select="aft28[=Verwalt*][a85fm]/a85fm" separator="\s[&|/]\s" distinct="true">
									<li>
										<dfl:action action="queryGallery">
											<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
											<dfl:actionParam name="index" value="pic-sub-stock"/>
											<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
											<dfl:value-of select="."/>
										</dfl:action>
									</li>
								</dfl:for-each-token>
								<!-- 207 -->
								<dfl:for-each-token select="aft28[=Verwalt*][a85rb]/a85rb" separator="\s[&|/]\s" distinct="true">
									<li>
										<dfl:action action="queryGallery">
											<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
											<dfl:actionParam name="index" value="pic-sub-stock"/>
											<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
											<dfl:value-of select="."/>
										</dfl:action>
									</li>
								</dfl:for-each-token>
							</dfl:if>
						</dfl:for-each>
						<!-- 208 -->
						<dfl:for-each-token select="ancestor::obj/a99ga" separator="\s[&|/]\s" distinct="true">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="desc" select="concat('%22',.,'%22')"/>
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:text>Mehr Fotos des Konvoluts </dfl:text>
									<dfl:value-of select="."/>
								</dfl:action>
							</li>
						</dfl:for-each-token>
					</dfl:when>
				</dfl:choose>
			</ul>
		</dfl:div>
	</dfl:if>
	<!-- WerkSuche -->
	<dfl:if test="self::obj/aob30[=Herstell*]/a3100           
		or self::obj/a5060[a5064 and a5071 and a5077]               
		or self::obj/aob26[text()[1]='Standort' or text()[1]='Zusammenhang']/a2664         
		or self::obj/aob28[=Verwalt*]/a2864          
		or self::obj/a5108
		or self::obj/aob28[=Verwalt*]/a2900         
		or self::obj/a99ga
		or self::obj/a50gn">
		<dfl:div class="Bausteine Siehe-auch-Suche">
			<h3>
				<dfl:text>Siehe auch </dfl:text>
			</h3>
			<ul>
				<dfl:for-each select="(self::obj[aob30])[last()]/aob30[=Herstell*]" distinct="a3100">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-artist"/>
									<dfl:actionParam name="desc" select="translate(a3100, '?', '')"/>
									<dfl:text>Mehr Bilder zu Werken von </dfl:text>
									<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-artist"/>
									<dfl:actionParam name="desc" select="translate(a3100, '?', '')"/>
									<dfl:text>Mehr Werke von </dfl:text>
									<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[a5060[a5064 and a5071 and a5077]])[last()]/a5060[a5064 and a5071 and a5077]">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a5071"/>
									<dfl:actionParam name="toDate" select="a5077"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Bilder zu Werken aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a5071 = a5077">
											<dfl:wrap>{{a5071}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a5071} - {a5077}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a5071"/>
									<dfl:actionParam name="toDate" select="a5077"/>
									<dfl:actionParam name="filter" value="obj-obj-timeline"/>
									<dfl:text>Mehr Werke aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a5071 = a5077">
											<dfl:wrap>{{a5071}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a5071} - {a5077}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob26[text()[1]='Standort' or text()[1]='Zusammenhang']/a2664])[last()]/aob26/a2664">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-loc"/>
									<dfl:actionParam name="desc" select="translate(text()[1], '?', '')"/>
									<dfl:text>Mehr Bilder zu Werken in </dfl:text>
									<dfl:wrap>{self::a2664}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-loc"/>
									<dfl:actionParam name="desc" select="translate(text()[1], '?', '')"/>
									<dfl:text>Mehr Werke in </dfl:text>
									<dfl:wrap>{self::a2664}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob28[=Verwalt*]/a2864])[last()]/aob28[=Verwalt*]/a2864">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-loc"/>
									<dfl:actionParam name="desc" select="translate(self::a2864, '?', '')"/>
									<dfl:text>Mehr Bilder zu Werken in </dfl:text>
									<dfl:wrap>{self::a2864}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-loc"/>
									<dfl:actionParam name="desc" select="translate(self::a2864, '?', '')"/>
									<dfl:text>Mehr Werke in </dfl:text>
									<dfl:wrap>{self::a2864}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[a5108])[last()]/a5108">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-loc"/>
									<dfl:actionParam name="desc" select="translate(self::a5108/text()[1], '?', '')"/>
									<dfl:text>Mehr Bilder zu Werken in </dfl:text>
									<dfl:wrap>{self::a5108}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-loc"/>
									<dfl:actionParam name="desc" select="translate(self::a5108/text()[1], '?', '')"/>
									<dfl:text>Mehr Werke in </dfl:text>
									<dfl:wrap>{self::a5108}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[aob28[=Verwalt*]/a2900])[last()]/aob28[=Verwalt*]/a2900">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-coll"/>
									<dfl:actionParam name="desc" select="translate(self::a2900, '?', '')"/>
									<dfl:text>Mehr Bilder zu Werken der Sammlung </dfl:text>
									<dfl:wrap>{self::a2900}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-coll"/>
									<dfl:actionParam name="desc" select="edps:Xslt2Replace(string(concat('%22',translate(self::a2900, '?', ''), '%22')), '(&|\+)', '%26', 'g')"/>
									<dfl:text>Mehr Werke aus der Sammlung </dfl:text>
									<dfl:wrap>{self::a2900}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[a99ga])[last()]/a99ga" distinct="self::a99ga">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:actionParam name="desc" select="translate(self::a99ga/text()[1], '?', '')"/>
									<dfl:text>Mehr Bilder zum Bestand </dfl:text>
									<dfl:wrap>{self::a99ga}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-sub-stock"/>
									<dfl:actionParam name="desc" select="translate(self::a99ga/text()[1], '?', '')"/>
									<dfl:text>Mehr Werke zum Bestand </dfl:text>
									<dfl:wrap>{self::a99ga}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="(self::obj[a8450/a85fm])[last()]/a8450/a85fm">
					<!-- Kailus 20160914: nur für fotobezogene Suche -->
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:actionParam name="desc" select="translate(self::a85fm/text()[1], '?', '')"/>
									<dfl:text>Mehr Bilder zum Bestand </dfl:text>
									<dfl:wrap>{self::a85fm}</dfl:wrap>
								</dfl:action>
							</dfl:when>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<!-- 
					ABKA3-576 Auskommentiert, da ein Feature aus 2.9 benötigt wird.
					Bis dahin soll diese Funktionalität nicht weiter verwendet werden.
				-->
				<!--<dfl:for-each select="((self::obj[a50gn])[last()]/a50gn|(self::obj[a5000])[last()]/a5000|(self::obj[a5001])[last()]/a5001|(self::obj[a5002])[last()]/a5002|(self::obj[a5003])[last()]/a5003|(self::obj[a5004])[last()]/a5004)[last()]">
					<dfl:variable name="curDesc">
						<dfl:choose>
							<dfl:when test="self::a50gn">
								<dfl:value-of select="self::a50gn"/>
							</dfl:when>
							<dfl:when test="../a5000">
								<dfl:value-of select="../a5000"/>
							</dfl:when>
							<dfl:when test="../a5001">
								<dfl:value-of select="../a5001"/>
							</dfl:when>
							<dfl:when test="../a5002">
								<dfl:value-of select="../a5002"/>
							</dfl:when>
							<dfl:when test="../a5003">
								<dfl:value-of select="../a5003"/>
							</dfl:when>
							<dfl:when test="../a5004">
								<dfl:value-of select="../a5004"/>
							</dfl:when>
						</dfl:choose>
					</dfl:variable>
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-rel_additional"/>
									<dfl:actionParam name="desc" select="translate($curDesc, '?', '')"/>
									<dfl:text>Mehr zu diesem Werk gehörige Werke</dfl:text>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-rel_additional"/>
									<dfl:actionParam name="desc" select="translate($curDesc, '?', '')"/>
									<dfl:text>Mehr zu diesem Werk gehörige Werke</dfl:text>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-rel_depiction"/>
									<dfl:actionParam name="desc" select="translate($curDesc, '?', '')"/>
									<dfl:text>Mehr Werke, die dieses Werk darstellen</dfl:text>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-rel_depiction"/>
									<dfl:actionParam name="desc" select="translate($curDesc, '?', '')"/>
									<dfl:text>Mehr Werke, die dieses Werk darstellen</dfl:text>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-rel_other"/>
									<dfl:actionParam name="desc" select="translate($curDesc, '?', '')"/>
									<dfl:text>Mehr Bezugswerke zu diesem Werk</dfl:text>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-rel_other"/>
									<dfl:actionParam name="desc" select="translate($curDesc, '?', '')"/>
									<dfl:text>Mehr Bezugswerke zu diesem Werk</dfl:text>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>-->
				<!--
			
				<dfl:if
					test="self::obj/a99ga[=ÖNB*] or self::obj/a99ga[=PartagePlus-Projekt*] or  self::obj/a99ga[=WRM*] or self::obj/a99ga[=Unesco Weltkulturerbe*]  or self::obj/a99ga[=Mittelalterliche Retabel*] or self::que/aqu28/a2940[=Bildnachlass Reinhart Koselleck*]">
					<li>
						<a href="#">
							<dfl:text>Mehr Werke zum Thema </dfl:text>
							<dfl:wrap>{a99ga}</dfl:wrap>
							<dfl:wrap>{aqu28/a2940}</dfl:wrap>
						</a>
					</li>
				</dfl:if>-->
			</ul>
		</dfl:div>
	</dfl:if>
	<dfl:if test="self::que[a810a[a8101a and a8101e]] or self::que[aqu28[a2940]] or self::que[a8094]">
		<dfl:div class="Bausteine Siehe-auch-Suche">
			<h3>
				<dfl:text>Siehe auch </dfl:text>
			</h3>
			<ul>
				<dfl:for-each select="(self::que[a810a[a8101a and a8101e]])[last()]/a810a[a8101a and a8101e]">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a8101a"/>
									<dfl:actionParam name="toDate" select="a8101e"/>
									<dfl:actionParam name="filter" value="pic-obj-timeline"/>
									<dfl:text>Mehr Materialien aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a8101a = a8101e">
											<dfl:wrap>{{a8101a}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a8101a} - {a8101e}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="timelineQueryDocument">
									<dfl:actionParam name="fromDate" select="a8101a"/>
									<dfl:actionParam name="toDate" select="a8101e"/>
									<dfl:actionParam name="filter" value="obj-obj-timeline"/>
									<dfl:text>Mehr Materialien aus der Zeit von </dfl:text>
									<dfl:choose>
										<dfl:when test="a8101a = a8101e">
											<dfl:wrap>{{a8101a}}</dfl:wrap>
										</dfl:when>
										<dfl:otherwise>
											<dfl:wrap>{{a8101a} - {a8101e}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="aqu28[a2940]">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:actionParam name="desc" select="concat('%22',a2940,'%22')"/>
									<dfl:text>Mehr Materialien zum Bestand </dfl:text>
									<dfl:wrap>{a2940}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-sub-stock"/>
									<dfl:actionParam name="desc" select="concat('%22',a2940,'%22')"/>
									<dfl:text>Mehr Materialien zum Bestand </dfl:text>
									<dfl:wrap>{a2940}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
				<dfl:for-each select="a8094">
					<li>
						<dfl:choose>
							<dfl:when test="$Status.SearchMode='pic'">
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-sub-category"/>
									<dfl:actionParam name="desc" select="concat('%22',edps:strEscape(edps:Xslt2Replace(string(self::a8094), '\s&\s', '; ', 'g')),'%22')"/>
									<dfl:text>Mehr Materialien zur Katetegorie </dfl:text>
									<dfl:wrap>{self::a8094}</dfl:wrap>
								</dfl:action>
							</dfl:when>
							<dfl:otherwise>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="obj-sub-category"/>
									<dfl:actionParam name="desc" select="concat('%22',edps:strEscape(edps:Xslt2Replace(string(self::a8094), '\s&\s', '; ', 'g')),'%22')"/>
									<dfl:text>Mehr Materialien zur Kategorie </dfl:text>
									<dfl:wrap>{self::a8094}</dfl:wrap>
								</dfl:action>
							</dfl:otherwise>
						</dfl:choose>
					</li>
				</dfl:for-each>
			</ul>
		</dfl:div>
	</dfl:if>
</dfl:part>
<dfl:part name="Werkteile-Titel">
	<dfl:choose>
		<dfl:when test="ancestor-or-self::kur">
			<dfl:choose>
				<dfl:when test="a910e">
					<dfl:wrap>{a910e}</dfl:wrap>
				</dfl:when>
				<dfl:when test="a91ae">
					<dfl:wrap>{a91ae}</dfl:wrap>
				</dfl:when>
				<dfl:when test="a91a2 or a5210">
					<dfl:wrap>{{a5210}, {a91a2}}</dfl:wrap>
				</dfl:when>
			</dfl:choose>
		</dfl:when>
		<dfl:when test="a5200 and (parent::*/a5200!=a5200 or not(parent::*/a5200))">
			<dfl:wrap>{a5200}</dfl:wrap>
		</dfl:when>
		<dfl:when test="a5202 and (parent::*/a5202!=a5202 or not(parent::*/a5202))">
			<dfl:wrap>{a5202}</dfl:wrap>
		</dfl:when>
		<dfl:when test="a5230">
			<dfl:wrap>{a5230}</dfl:wrap>
			<!--dfl:for-each select="a5230">
				<dfl:wrap>{self::a5230}</dfl:wrap>
				<dfl:if test="position()!=last()">
					<dfl:text>, </dfl:text>
				</dfl:if>
			</dfl:for-each-->
		</dfl:when>
		<dfl:when test="a5200">
			<dfl:wrap>{{a5200} - {a5230}}</dfl:wrap>
		</dfl:when>
		<dfl:when test="a5202">
			<dfl:wrap>{{a5202} - {a5230}}</dfl:wrap>
		</dfl:when>
		<dfl:when test="aqu28/a2940[=Bildnachlass Reinhart Koselleck*]">
			<dfl:wrap>{{aqu28/a2940}: {a809a}, {a8090}, {a8064>>a8062}}</dfl:wrap>
		</dfl:when>
		<dfl:otherwise>
			<dfl:text>[Kein Titel]</dfl:text>
		</dfl:otherwise>
	</dfl:choose>
</dfl:part>