Pic-Trefferliste-Bild-kurz

Aus Data-Wiki
<dfl:part name="Pic-Trefferliste-Bild-kurz">
			<dfl:choose>
				<!-- Spalte D -->
				<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="../aob30/a31nn or ../aob30/a3100 or ../aob30/a3470 or ../aob35/a36nn or ../aob35/a3600 or ../aob35/a3970">
								<dfl:text>Fotograf:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{../aob30/a31nn>>../aob30/a3100}\n{../aob30/a3470}\n{../aob35/a36nn>>../aob35/a3600}\n{../aob35/a3970}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="../a5060/a5064">
								<dfl:wrap>{{../a5060}}</dfl:wrap>
								<dfl:text>:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{../a5060/a5064}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="../aob28[=Verwalt*]/a2900 or ../aob28[=Verwalt*]/a2930">
								<dfl:text>Bildanbieter:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{../aob28[=Verwalt*]/a2900}\n{../aob28[=Verwalt*]/a2930}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
				</dfl:when>
				<!-- Spalte E -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="a8490">
								<dfl:text>Fotograf:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{a8490}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="a8494">
								<dfl:text>Aufnahme:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{a8494}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="a8460">
								<dfl:text>Bildanbieter:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{a8460}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
				</dfl:when>
				<!-- Spalte F -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="fto/aft30/a31nn or fto/aft30/a3100 or fto/aft30/a3470 or fto/aft35/a36nn or fto/aft35/a3600 or fto/aft35/a3970">
								<dfl:text>Fotograf:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{fto/aft30/a31nn>>fto/aft30/a3100}\n{fto/aft30/a3470}\n{fto/aft35/a36nn>>fto/aft35/a3600}\n{fto/aft35/a3970}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="fto/a84060/a84064">
								<dfl:text>Aufnahme:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{fto/a84060/a84064}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:choose>							
							<dfl:when test="fto//fto[a8450/a8540]/aft28[=Verwalter]/a2900 or fto//fto[a8450/a8540]/aft28[=Verwalter]/a2930">
								<!-- ABKA3-1028 -->
								<dfl:span class="gridLeft">
									<dfl:text>Bildanbieter:</dfl:text>
								</dfl:span>
								<dfl:span class="gridRight">
									<dfl:wrap>{{fto//fto[a8450/a8540]/aft28[=Verwalter]/a2900}\n{fto//fto[a8450/a8540]/aft28[=Verwalter]/a2930}}</dfl:wrap>
								</dfl:span>
							</dfl:when>
							<dfl:when test="fto//fto/aft28[=Verwalter]/a2900 or fto//fto/aft28[=Verwalter]/a2930">
								<dfl:span class="gridLeft">
									<dfl:text>Bildanbieter:</dfl:text>
								</dfl:span>
								<dfl:span class="gridRight">
									<dfl:wrap>{{fto//fto/aft28[=Verwalter]/a2900}\n{fto//fto/aft28[=Verwalter]/a2930}}</dfl:wrap>
								</dfl:span>
							</dfl:when>
							<dfl:otherwise>
								<dfl:span class="gridLeft"/>
								<dfl:span class="gridRight">
									<dfl:wrap>{{fto//fto/aft28[=Verwalter]/a2900}\n{fto//fto/aft28[=Verwalter]/a2930}}</dfl:wrap>								
								</dfl:span>
							</dfl:otherwise>
						</dfl:choose>
					</dfl:li>
				</dfl:when>
				<!-- Spalte G -->
				<dfl:when test="ancestor::que">
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="../aqu40[=Person (von)]/a4100 or ../aqu40[=Person (von)]/a41nn">
								<dfl:text>Fotograf:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{../aqu40[=Person (von)]/a41nn>>../aqu40[=Person (von)]/a4100}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="../a810a/a8100">
								<dfl:text>Datierung:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{../a810a/a8100}}</dfl:wrap>
						</dfl:span>
					</dfl:li>
					<dfl:li>
						<dfl:span class="gridLeft">
							<dfl:if test="../aqu28[=Verwalt*]/a2900 or ../aqu28[=Verwalt*]/a2940">
								<dfl:text>Bildanbieter:</dfl:text>
							</dfl:if>
						</dfl:span>
						<dfl:span class="gridRight">
							<dfl:wrap>{{../aqu28[=Verwalt*]/a2900}}</dfl:wrap>
							<dfl:if test="../aqu28[=Verwalt*]/a2900 and ../aqu28[=Verwalt*]/a2940">
								<br/>
								<dfl:value-of select="../aqu28[=Verwalt*]/a2940"/>
							</dfl:if>
						</dfl:span>
					</dfl:li>
				</dfl:when>
			</dfl:choose>
		</dfl:part>