Foto-Lichtbild-BezugOtherFto

Aus Data-Wiki
<dfl:part name="Foto-Lichtbild-BezugOtherFto">
			<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: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[a84007]">
						<li>
							<span class="gridLeft">Bezug zu anderen Fotografien:</span>
							<span class="gridRight">
								<dfl:for-each select="a84007">
									<dfl:choose>
										<dfl:whensearchresultcount chapter="pic-ref-fto" descriptor="a84008" count="1">
											<dfl:action action="queryGallery">
												<dfl:actionParam name="index" value="pic-ref-fto"/>
												<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a84008)"/>
												<dfl:wrap>{{self::a84007}: {a84008}}</dfl:wrap>
											</dfl:action>
										</dfl:whensearchresultcount>
										<dfl:otherwise>
											<dfl:wrap>{{self::a84007}: {a84008}}</dfl:wrap>
										</dfl:otherwise>
									</dfl:choose>
									<dfl:if test="a84007 and a84009|a84009a|a84013|a84010|a84011|a8401t">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:wrap>{{a84009}, {a84009a}, {a84013}, {a84010}, {a84011}, {a8401t}}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<br/>
									</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>