Pic-Treffergalerie-Bild-kurz

Aus Data-Wiki
<dfl:part name="Pic-Treffergalerie-Bild-kurz">
			<dfl:choose>
				<!-- Spalte D -->
				<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
					<dfl:text>Foto: </dfl:text>
					<dfl:wrap>{{../aob30/a31nn>>../aob30/a3100}, {../aob30/a3470}, {../aob35/a36nn>>../aob35/a3600}, {../aob35/a3970}, {../a5060/a5064}, {../aob28[=Verwalter]/a2900}, {../aob28[=Verwalter]/a2930}}</dfl:wrap>
				</dfl:when>
				<!-- Spalte E -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
					<dfl:text>Foto: </dfl:text>
					<dfl:wrap>{{a8490}, {a8494}, {a8460}}</dfl:wrap>
				</dfl:when>
				<!-- Spalte F -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
					<dfl:text>Foto: </dfl:text>
					<dfl:choose>
						<dfl:when test="fto//fto[a8450/a8540]/aft28[=Verwalter]/a2900 or fto//fto[a8450/a8540]/aft28[=Verwalter]/a2930">
							<!-- ABKA3-1028 -->
							<dfl:wrap>{{fto/aft30/a31nn>>fto/aft30/a3100}, {fto/aft30/a3470}, {fto/aft35/a36nn>>fto/aft35/a3600}, {fto/aft35/a3970}, {fto/a84060/a84064}, {fto//fto[a8450/a8540]/aft28[=Verwalter]/a2900}, {fto//fto[a8450/a8540]/aft28[=Verwalter]/a2930}}</dfl:wrap>
						</dfl:when>
						<dfl:otherwise>
							<dfl:wrap>{{fto/aft30/a31nn>>fto/aft30/a3100}, {fto/aft30/a3470}, {fto/aft35/a36nn>>fto/aft35/a3600}, {fto/aft35/a3970}, {fto/a84060/a84064}, {fto//fto/aft28[=Verwalter]/a2900}, {fto//fto/aft28[=Verwalter]/a2930}}</dfl:wrap>
						</dfl:otherwise>
					</dfl:choose>
				</dfl:when>
				<!-- Spalte G -->
				<dfl:when test="ancestor::que">
					<dfl:if test="../aqu40[=Person (von)]">
						<dfl:text>Foto: </dfl:text>
						<dfl:wrap>{../aqu40[=Person (von)]/a41nn>>../aqu40[=Person (von)]/a4100}</dfl:wrap>
					</dfl:if>
					<dfl:if test="(../aqu40[=Person (von)]/a41nn or ../aqu40[=Person (von)]/a4100) and (../a810a/a8100 or ../aqu28[=Verwalter][a2900 or a2930])">
						<dfl:text>, </dfl:text>
					</dfl:if>
					<dfl:wrap>{{../a810a/a8100}, {../aqu28[=Verwalter]/a2900}, {../aqu28[=Verwalter]/a2930}}</dfl:wrap>
				</dfl:when>
			</dfl:choose>
		</dfl:part>