Foto-Lichtbild-Old

Aus Data-Wiki
<dfl:part name="Foto-Lichtbild-Old" style="padding-bottom: 15px;">
			<!-- Aus dem an a8450/fto eingespielten FTO-Dokument wird nur Ebene 1 berücksichtigt: -->
			<dfl:if test="self::a8450/a8470 or self::a8450/a8472 or self::a8450/a8540 or self::a8450/a8555">
				<h3>
					<dfl:choose>
						<dfl:when test="fto/a8510 or fto/a8504">
							<dfl:wrap>{{fto/a8510}; {fto/a8504}}</dfl:wrap>
						</dfl:when>
						<dfl:when test="not(fto) and (a8510 or a8504)">
							<dfl:wrap>{{a8510}; {a8504}}</dfl:wrap>
						</dfl:when>
					</dfl:choose>
				</h3>
				<li class="Bausteine Foto-Lichtbild" style="padding-bottom: 30px;">
					<dfl:if test="fto/a84230 or fto/a84220 or fto/a84226 or fto/a84495 or fto/a84gn">
						<span class="gridLeft">
							<dfl:text>Klassifikation:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:choose>
								<dfl:when test="fto">
									<dfl:if test="fto/a84230">
										<dfl:for-each select="fto/a84230">
											<dfl:wrap>{self::a84230}</dfl:wrap>
											<dfl:if test="position()!=last()">
												<br/>
											</dfl:if>
										</dfl:for-each>
									</dfl:if>
									<br/>
									<dfl:if test="fto/a84220">
										<dfl:for-each select="fto/a84220">
											<dfl:wrap>{self::a84220}</dfl:wrap>
											<dfl:if test="position()!=last()">
												<br/>
											</dfl:if>
										</dfl:for-each>
									</dfl:if>
									<br/>
									<dfl:if test="fto/a84226">
										<dfl:for-each select="fto/a84226">
											<dfl:wrap>{self::a84226}</dfl:wrap>
											<dfl:if test="position()!=last()">
												<br/>
											</dfl:if>
										</dfl:for-each>
									</dfl:if>
									<br/>
									<dfl:if test="fto/a84495">
										<dfl:for-each select="fto/a84495">
											<dfl:wrap>{self::a84495}</dfl:wrap>
											<dfl:if test="position()!=last()">
												<br/>
											</dfl:if>
										</dfl:for-each>
									</dfl:if>
									<br/>
								</dfl:when>
								<dfl:otherwise>
									<dfl:text>Lichtbild</dfl:text>
								</dfl:otherwise>
							</dfl:choose>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft30/a3100 or fto/aft35/a3600 or a8490">
						<span class="gridLeft">
							<dfl:text>Fotograf:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:choose>
								<dfl:when test="fto/aft30/a3100 or fto/aft35/a3600">
									<dfl:if test="fto/aft30/a3100">
										<dfl:for-each select="fto/aft30/a3100">
											<dfl:wrap>{parent::aft30[!=Herstell*]}</dfl:wrap>
											<dfl:text>:</dfl:text>
											<dfl:space/>
											<dfl:choose>
												<dfl:when test="$Status.SearchMode='pic'">
													<!-- Link zum Künstlerdokument in Lightbox, wenn eines vorhanden ist (=augmentierte KUE-Nr. in Feld a3000 vorhanden. Sonst Anzeige von a3100 ohne Link. -->
													<dfl:augmentableDetail detail="kuedocument2pic" select="../a3000" action="toggleDetailMedium" class="detail_doc">
														<dfl:actionParam name="part" select="$ETEVariables/part"/>
														<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
														<dfl:actionParam name="id" select="$ETEVariables/id"/>
														<dfl:wrap>{../a31nn>>self::a3100}</dfl:wrap>
													</dfl:augmentableDetail>
												</dfl:when>
												<dfl:otherwise>
													<!-- Link zum Künstlerdokument in Lightbox, wenn eines vorhanden ist (=augmentierte KUE-Nr. in Feld a3000 vorhanden. Sonst Anzeige von a3100 ohne Link. -->
													<dfl:augmentableDetail detail="kuedocument2" select="../a3000" action="toggleDetail" class="detail_doc">
														<dfl:actionParam name="part" select="$ETEVariables/part"/>
														<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
														<dfl:wrap>{../a31nn>>self::a3100}</dfl:wrap>
													</dfl:augmentableDetail>
												</dfl:otherwise>
											</dfl:choose>

											<dfl:space/>
											<dfl:wrap>{{({../a3470})}, {../a3475[!=Fotograf*]}, {../a3496}, {../a3498}}</dfl:wrap>
											<dfl:augmentedDetail detail="kuedocument2" select="../a3000" template="Kuenstler-Dokument" jump="no"/>
											<dfl:augmentedDetail detail="kuedocument2pic" select="../a3000" template="Kuenstler-Dokument" jump="no"/>
											<dfl:if test="position()!=last()">
												<br/>
											</dfl:if>
										</dfl:for-each>
									</dfl:if>
									<br/>
									<dfl:if test="fto/aft35/a3600">
										<dfl:for-each select="fto/aft35/a3600">
											<dfl:wrap>{parent::aft35[!=Herstell*]} <dfl:text>:</dfl:text>
												<dfl:space/>
											</dfl:wrap>
											<dfl:choose>
												<dfl:when test="$Status.SearchMode='pic'">
													<!-- Link zum Werkstattdokument in Lightbox, wenn eines vorhanden ist (=augmentierte WER-Nr. in Feld a3500 vorhanden. Sonst Anzeige von a3600 ohne Link. -->
													<dfl:augmentableDetail detail="werdocument2pic" select="../a3500" action="toggleDetailMedium" class="detail_doc">
														<dfl:actionParam name="part" select="$ETEVariables/part"/>
														<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
														<dfl:actionParam name="id" select="$ETEVariables/id"/>
														<dfl:wrap>{../a36nn>>self::a3600}</dfl:wrap>
													</dfl:augmentableDetail>
												</dfl:when>
												<dfl:otherwise>
													<!-- Link zum Werkstattdokument in Lightbox, wenn eines vorhanden ist (=augmentierte WER-Nr. in Feld a3500 vorhanden. Sonst Anzeige von a3600 ohne Link. -->
													<dfl:augmentableDetail detail="werdocument2" select="../a3500" action="toggleDetail" class="detail_doc">
														<dfl:actionParam name="part" select="$ETEVariables/part"/>
														<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
														<dfl:wrap>{../a36nn>>self::a3600}</dfl:wrap>
													</dfl:augmentableDetail>
												</dfl:otherwise>
											</dfl:choose>

											<dfl:space/>
											<dfl:wrap>{{({../a3970})}, {../a3975}, {../a3996}, {../a3998}}</dfl:wrap>
											<dfl:augmentedDetail detail="werdocument2" select="../a3500" template="Werkstatt-Dokument" jump="no"/>
											<dfl:augmentedDetail detail="werdocument2pic" select="../a3500" template="Werkstatt-Dokument" jump="no"/>
											<dfl:if test="position()!=last()">
												<br/>
											</dfl:if>
										</dfl:for-each>
									</dfl:if>
								</dfl:when>
								<dfl:when test="a8490">
									<dfl:for-each select="a8490">
										<dfl:wrap>{self::a8490}</dfl:wrap>
										<dfl:if test="position()!=last()">
											<br/>
										</dfl:if>
									</dfl:for-each>
								</dfl:when>
								<dfl:otherwise>
									<dfl:text>[unbekannt]</dfl:text>
									<dfl:if test="position()!=last()">
										<br/>
									</dfl:if>
								</dfl:otherwise>
							</dfl:choose>
						</span>
					</dfl:if>
					<dfl:if test="fto/a84060/a84064 or a8494">
						<span class="gridLeft">
							<dfl:text>Aufnahmedatum:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:choose>
								<dfl:when test="fto/a84060/a84064">
									<dfl:for-each select="fto/a84060/a84064">
										<dfl:wrap>{{parent::a84060[!=Aufnahme]}: {../a84066>>self::a84064} {[{../../aft30/a3180[not(../../a84060[1]/a84064)]}, {Quelle: {../a84061}}}}</dfl:wrap>
										<dfl:if test="position()!=last()">
											<br/>
										</dfl:if>
									</dfl:for-each>
								</dfl:when>
								<dfl:when test="a8494">
									<dfl:for-each select="a8494">
										<dfl:wrap>{self::a8494}</dfl:wrap>
										<dfl:if test="position()!=last()">
											<br/>
										</dfl:if>
									</dfl:for-each>
								</dfl:when>
								<!-- FM20180823: Ausgabe a8494b eingefügt. -->
								<dfl:when test="a8494b">
									<dfl:for-each select="a8494b">
										<dfl:wrap>{Repro-Datum: {self::a8494b}}</dfl:wrap>
										<dfl:if test="position()!=last()">
											<br/>
										</dfl:if>
									</dfl:for-each>
								</dfl:when>
							</dfl:choose>
						</span>
					</dfl:if>
					<dfl:if test="fto/a84260 or fto/a84300 or fto/a84358">
						<span class="gridLeft">
							<dfl:text>Material/Verfahren:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/a84358">
								<dfl:wrap>{self::a84358}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
							<dfl:for-each select="fto/a84260">
								<dfl:wrap>{self::a84260}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
							<dfl:for-each select="fto/a84300">
								<dfl:wrap>{self::a84300}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/a5500 or fto/a5550 or fto/a5560">
						<span class="gridLeft">
							<dfl:text>Themen:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:if test="fto/a5500">
								<dfl:for-each select="fto/a5500">
									<dfl:wrap>{{Ikonographie: {self::a5500}} * {../a5502}}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<br/>
									</dfl:if>
								</dfl:for-each>
							</dfl:if>
							<br/>
							<dfl:if test="fto/a5550">
								<dfl:for-each select="fto/a5550">
									<dfl:wrap>{{Zeitbezug: {self::a5550}} * {../a5552}}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<br/>
									</dfl:if>
								</dfl:for-each>
							</dfl:if>
							<br/>
							<dfl:if test="fto/a5560">
								<dfl:for-each select="fto/a5560">
									<dfl:wrap>{{Lokalbezug: {self::a5560}} * {../a5562}}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<br/>
									</dfl:if>
								</dfl:for-each>
							</dfl:if>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft50">
						<span class="gridLeft">
							<dfl:text>Bezugswerk:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/aft50">
								<dfl:choose>
									<!-- Link zum OBJ-Block. Ausgangswert: aft50/a5008 der aktuellen Fotogruppe referenziert auf a5000|a5001|a5002|a5003|a5004 des OBJ -->
									<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a5008">
										<a>
											<dfl:attribute name="href">
												<dfl:webrootbaseurl/>
												<dfl:text>document/obj</dfl:text>
												<dfl:wrap>{a5008}</dfl:wrap>
												<dfl:text>?medium=</dfl:text>
												<dfl:call-template selectdoctype="'obj'" selectdocnumber="a5008" template="getMedium"/>
											</dfl:attribute>
											<dfl:wrap>{{self::aft50}: {a5008}, {a8401t}}</dfl:wrap>
										</a>
									</dfl:whendocumentavailable>
									<dfl:otherwise>
										<!-- Einfügen: Link auf die Detailanzeige des OBJ-Blocks, zu dem die aktuelle Fotogruppe gehört-->
										<!-- ... -->
									</dfl:otherwise>
								</dfl:choose>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft26">
						<span class="gridLeft">
							<dfl:text>Bezugswerk:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/aft26">
								<dfl:choose>
									<!-- Link zum OBJ-Block. Ausgangswert: aft50/a2606 der aktuellen Fotogruppe referenziert auf a5000|a5001|a5002|a5003|a5004 des OBJ -->
									<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a2606">
										<a>
											<dfl:attribute name="href">
												<dfl:webrootbaseurl/>
												<dfl:text>document/obj</dfl:text>
												<dfl:wrap>{a2606}</dfl:wrap>
												<dfl:text>?medium=</dfl:text>
												<dfl:call-template selectdoctype="'obj'" selectdocnumber="a2606" template="getMedium"/>
											</dfl:attribute>
											<dfl:wrap>{{self::aft26}: {a2606}}</dfl:wrap>
										</a>
									</dfl:whendocumentavailable>
									<dfl:otherwise>
										<!-- Einfügen: Link auf die Detailanzeige des aktuellen OBJ-Blocks, der eine Gruppe aob26 enthält oder für den aus einem Parent-Element eine Gruppe aob26 gilt.-->
										<!-- ... -->
									</dfl:otherwise>
								</dfl:choose>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft40/a4100">
						<span class="gridLeft">
							<dfl:text>Bezugsperson:</dfl:text>
						</span>
						<!-- Kailus 20160914: Normdatenausgabe entfernt -->
						<span class="gridRight">
							<dfl:for-each select="fto/aft40">
								<dfl:wrap>{{self::aft40}: {a4100} ({a4475}), {a4498}}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft45/a4600">
						<span class="gridLeft">
							<dfl:text>Bezugskörperschaft:</dfl:text>
						</span>
						<!-- Kailus 20160914: Normdatenausgabe entfernt -->
						<span class="gridRight">
							<dfl:for-each select="fto/aft45">
								<dfl:wrap>{{self::aft45}: {a4600} ({a4975}), {a4998}}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft20/a84145">
						<span class="gridLeft">
							<dfl:text>Bezugsort:</dfl:text>
						</span>
						<!-- Kailus 20160914: Normdatenausgabe entfernt -->
						<span class="gridRight">
							<dfl:for-each select="fto/aft20">
								<dfl:wrap>{{self::aft20}: {a84145}}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/aft70">
						<span class="gridLeft">
							<dfl:text>Bezugsereignis:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/aft70">
								<dfl:wrap>{{self::aft70}: {a7110} ({a7100}), {a7060}, {a7070}}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/a84007[!=Doppelerfassung*] or fto/a84007[!=(Rbz)*]">
						<span class="gridLeft">
							<dfl:text>Bezug zu anderen Fotografien:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/a84007[!=Doppelerfassung*]|fto/a84007[!=(Rbz)*]">
								<dfl:choose>
									<!-- Link zur anderen Bild-Detailanzeige: Ausgangswert: a84007/a84008 der aktuellen Fotogruppe referenziert auf a8450/fto der Ziel-Fotogruppe -->
									<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a84008">
										<a>
											<dfl:attribute name="href">
												<dfl:webrootbaseurl/>
												<dfl:text>document/obj</dfl:text>
												<dfl:wrap>{a84008}</dfl:wrap>
												<dfl:text>?medium=</dfl:text>
												<dfl:call-template selectdoctype="'obj'" selectdocnumber="a84008" template="getMedium"/>
											</dfl:attribute>
											<dfl:wrap>{{self::a84007}: {a84009} ({a8409a}), {a84013}, ({a84010}, {a84011}, {a8401t}}</dfl:wrap>
										</a>
									</dfl:whendocumentavailable>
								</dfl:choose>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<!-- Link zum Ausstellungsdokument in Lightbox, wenn eines vorhanden ist (=augmentierte AUS-Nr. in Feld a7600 vorhanden. Sonst Anzeige von a7790 ohne Link. -->
					<dfl:if test="(fto/a7990 or fto/a7795)">
						<span class="gridLeft">
							<dfl:text>Ausstellungen:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/a7790">
								<dfl:choose>
									<dfl:when test="$Status.SearchMode='pic'">
										<dfl:augmentableDetail detail="ausdocument2pic" select="a7600" action="toggleDetailMedium" class="detail_doc">
											<dfl:actionParam name="part" select="$ETEVariables/part"/>
											<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
											<dfl:actionParam name="id" select="$ETEVariables/id"/>{a7600}</dfl:augmentableDetail>
									</dfl:when>
									<dfl:otherwise>
										<dfl:augmentableDetail detail="ausdocument2" select="a7600" action="toggleDetail" class="detail_doc">
											<dfl:actionParam name="part" select="$ETEVariables/part"/>
											<dfl:actionParam name="medium" select="$ETEVariables/medium"/>{a7600}</dfl:augmentableDetail>
									</dfl:otherwise>
								</dfl:choose>

								<dfl:when test="a7798">
									<dfl:text>;</dfl:text>
								</dfl:when>
								<dfl:wrap>{a7798[!=-]}</dfl:wrap>
								<dfl:when test="position()=last() and ../a7795">
									<dfl:text>;</dfl:text>
									<dfl:wrap>{../a7795}</dfl:wrap>
								</dfl:when>
								<dfl:augmentedDetail detail="ausdocument2" select="a7600" template="Ausstellungs-Dokument" jump="no"/>
								<dfl:augmentedDetail detail="ausdocument2pic" select="a7600" template="Ausstellungs-Dokument" jump="no"/>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<!-- Link zum Literaturdokument in Lightbox, wenn eines vorhanden ist (=augmentierte LIT-Nr. in Feld a8200 vorhanden. Sonst Anzeige von a8330 ohne Link. -->
					<dfl:if test="(fto/a8330 or fto/a8350)">
						<span class="gridLeft">
							<dfl:text>Literatur:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/a8330">
								<dfl:choose>
									<dfl:when test="$Status.SearchMode='pic'">
										<dfl:augmentableDetail detail="litdocument2pic" select="a8200" action="toggleDetailMedium" class="detail_doc">
											<dfl:actionParam name="part" select="$ETEVariables/part"/>
											<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
											<dfl:actionParam name="id" select="$ETEVariables/id"/>{a8200}</dfl:augmentableDetail>
									</dfl:when>
									<dfl:otherwise>
										<dfl:augmentableDetail detail="litdocument2" select="a8200" action="toggleDetail" class="detail_doc">
											<dfl:actionParam name="part" select="$ETEVariables/part"/>
											<dfl:actionParam name="medium" select="$ETEVariables/medium"/>{a8200}</dfl:augmentableDetail>
									</dfl:otherwise>
								</dfl:choose>

								<dfl:when test="a8334">
									<dfl:text>;</dfl:text>
								</dfl:when>
								<dfl:wrap>{a8334}</dfl:wrap>
								<dfl:when test="position()=last() and ../a8350">
									<dfl:text>;</dfl:text>
									<dfl:wrap>{../a8350}</dfl:wrap>
								</dfl:when>
								<dfl:augmentedDetail detail="litdocument2" select="a8200" template="Literatur-Dokument" jump="no"/>
								<dfl:augmentedDetail detail="litdocument2pic" select="a8200" template="Literatur-Dokument" jump="no"/>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="(fto/a9990 or fto/a599a)">
						<span class="gridLeft">
							<dfl:text>Beschreibung:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/a599a">
								<dfl:wrap>{{self::a599a}: {a599d}}</dfl:wrap>
								<br/>
								<dfl:wrap>{a599e}</dfl:wrap>
								<br/>
								<dfl:wrap>{a599g}</dfl:wrap>
								<br/>
								<dfl:wrap>{Autor: {a599n}}, {a599p}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
							<br/>
							<dfl:for-each select="fto/a9990">
								<dfl:wrap>{self::a9990}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
					<dfl:if test="fto/a9902">
						<span class="gridLeft">
							<dfl:text>Datensatz von: </dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="fto/a9902">
								<dfl:wrap>{self::a9902}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</dfl:for-each>
						</span>
					</dfl:if>
				</li>
			</dfl:if>
		</dfl:part>