Foto-Lichtbild-Fotograf

Aus Data-Wiki
<dfl:part name="Foto-Lichtbild-Fotograf">
			<!-- ABKA3-796 Punkt5 -->
			<dfl:choose>
				<!-- Spalte D -->
				<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)"> </dfl:when>
				<!-- Spalte E -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
					<dfl:if test="a8490">
						<li>
							<span class="gridLeft">Fotograf:</span>
							<span class="gridRight">
								<dfl:variable name="konName" select="a8490"/>
								<dfl:for-each-token select="$konName" distinct="true" separator="\s[&amp;|/]\s">
									<dfl:variable name="curDesc" select="."/>
									<dfl:choose>
										<dfl:whensearchresultcount chapter="sys_xda_kue" descriptor="$curDesc">
											<dfl:for-each-searchresult chapter="sys_xda_kue" descriptor="$curDesc" max="1">
												<dfl:augmentableDetail detail="kuedocument6" dtdn="concat('kue::', docnumber)" action="toggleDetailMedium" class="ssy_detail_inline detail_doc">
													<dfl:actionParam name="part" select="$ETEVariables/part"/>
													<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
													<dfl:actionParam name="id" select="$ETEVariables/id"/>
													<dfl:value-of select="$curDesc"/>
												</dfl:augmentableDetail>
												<dfl:augmentedDetail detail="kuedocument6" select="concat('kue::', docnumber)" template="Kuenstler-Dokument" jump="no"/>
											</dfl:for-each-searchresult>
										</dfl:whensearchresultcount>
										<dfl:otherwise>
											<dfl:value-of select="$curDesc"/>
										</dfl:otherwise>
									</dfl:choose>
									<dfl:br/>
								</dfl:for-each-token>
							</span>
						</li>
					</dfl:if>
				</dfl:when>
				<!-- Spalte F -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
					<dfl:for-each select="./fto">
						<li>
							<span class="gridLeft">Fotograf:</span>
							<span class="gridRight">
								<dfl:for-each select="aft30[a3100]">
									<dfl:if test="a31nn|a3100|a3470|a3475[!=Fotograf*]|a3496|a3498">
										<!-- 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="kuedocument7" select="a3000" action="toggleDetailMedium" class="ssy_detail_inline 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>>a3100}</dfl:wrap>
										</dfl:augmentableDetail>
										<!-- FM20170517: Zusatz a3496 -->
										<dfl:if test="a31nn|a3100 and a3470|a3475[!=Fotograf*]|a3496|a3498">
											<dfl:text>, </dfl:text>
										</dfl:if>
										<dfl:wrap>{({a3470}), {a3475[!=Fotograf*]}, {a3496}, {a3498}}</dfl:wrap>
										<dfl:augmentedDetail detail="kuedocument7" select="a3000" template="Kuenstler-Dokument" jump="no"/>
										<dfl:if test="position()!=last()">
											<dfl:if test="not(preceding-sibling::aft30[1]/aft30rl[text()[1]=current()/aft30rl])">
												<dfl:space/>
												<dfl:value-of select="aob30rl"/>
											</dfl:if>
											<br/>
										</dfl:if>
									</dfl:if>
								</dfl:for-each>
								<dfl:if test="aft30[a3100] and aft35[a3600]">
									<br/>
								</dfl:if>
								<dfl:for-each select="aft35[a3600]">
									<dfl:if test="a36nn|a3600|a3970|a3975[!=Fotograf*]|a3996|a3998">
										<!-- 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="kuedocument8" select="a3500" action="toggleDetailMedium" class="ssy_detail_inline 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>>a3600}</dfl:wrap>
										</dfl:augmentableDetail>
										<!-- FM20170517: Zusatz a3496 -->
										<dfl:if test="a36nn|a3600 and a3970|a3975[!=Fotograf*]|a3996|a3998">
											<dfl:text>, </dfl:text>
										</dfl:if>
										<dfl:wrap>{({a3970}), {a3975[!=Fotograf*]}, {a3996}, {a3998}}</dfl:wrap>
										<dfl:augmentedDetail detail="kuedocument8" select="a3500" template="Kuenstler-Dokument" jump="no"/>
										<dfl:if test="position()!=last()">
											<dfl:if test="not(preceding-sibling::aft35[1]/aft35rl[text()[1]=current()/aft35rl])">
												<dfl:space/>
												<dfl:value-of select="aob35rl"/>
											</dfl:if>
											<br/>
										</dfl:if>
									</dfl:if>
								</dfl:for-each>
							</span>
						</li>
					</dfl:for-each>
				</dfl:when>
				<!-- Spalte G -->
				<dfl:when test="ancestor::que"> </dfl:when>
			</dfl:choose>
		</dfl:part>