Foto-Siehe-auch-Suche

Aus Data-Wiki
Version vom 25. August 2022, 10:31 Uhr von imported>Glorius (Die Seite wurde neu angelegt: „<pre> <dfl:part name="Foto-Siehe-auch-Suche"> <dfl:when test="fto/aft30[=Herstell*]/a3100 or fto//fto/aft28[=Verwalt*]/a2900 or fto/a84060/a8464 or fto//fto…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
<dfl:part name="Foto-Siehe-auch-Suche">
			<dfl:when test="fto/aft30[=Herstell*]/a3100 or fto//fto/aft28[=Verwalt*]/a2900 or fto/a84060/a8464 or fto//fto/a8430 or fto//fto/a8426 or a99ga or a8460 or a8489 or a8490 or a8494">
				<dfl:div class="Bausteine Foto-Siehe-auch-Suche">
					<h4>
						<dfl:text>Siehe auch</dfl:text>
					</h4>
					<ul>
						<dfl:when test="fto/aft30[=Herstell*][fto/aft30/a3100[!=unbekannt*]][fto/aft30/a3475[=Fotograf*]]" distinct="a3100">
							<dfl:for-each select="fto/aft30[=Herstell*]" distinct="a3100">
								<dfl:choose>
									<dfl:when test="$Status.SearchMode='pic'">
										<li>
											<dfl:action action="queryGallery">
												<dfl:actionParam name="index" value="pic-photographer"/>
												<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a3100)"/>
												<dfl:text>Mehr Fotos von </dfl:text>
												<dfl:wrap>{fto/aft30/a31nn>>fto/aft30/a3100}</dfl:wrap>
											</dfl:action>
										</li>
									</dfl:when>
								</dfl:choose>
							</dfl:for-each>
						</dfl:when>
						<dfl:when test="fto/aft35[=Herstell*][fto/aft35/a3600[!=unbekannt*]][fto//aft35/a3975[=Fotogr*]]" distinct="a3600">
							<dfl:for-each select="fto/aft35[=Herstell*]" distinct="a3600">
								<li>
									<dfl:action action="queryGallery">
										<dfl:actionParam name="index" value="pic-photographer"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a3600)"/>
										<dfl:text>Mehr Fotos von </dfl:text>
										<dfl:wrap>{fto/aft35/a36nn>>fto/aft35/a3600}</dfl:wrap>
									</dfl:action>
								</li>
							</dfl:for-each>
						</dfl:when>
						<dfl:when test="a8490">
							<dfl:for-each select="a8490">
								<li>
									<dfl:action action="queryGallery">
										<dfl:actionParam name="index" value="pic-photographer"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a8490)"/>
										<dfl:text>Mehr Fotos von </dfl:text>
										<dfl:wrap>{a8490}</dfl:wrap>
									</dfl:action>
								</li>
							</dfl:for-each>
						</dfl:when>
						<dfl:when test="fto/a84060[=Aufnahme*]/a84064">
							<li>
								<a href="#">
									<!-- Wenn erster und letzter Wert gleich sind: nur einen Wert ausgeben -->
									<dfl:action action="timelineQueryDocument">
										<dfl:actionParam name="fromDate" select="fto/a84060[=Aufnahme*]/a84071"/>
										<dfl:actionParam name="toDate" select="fto/a84060[=Aufnahme*]/a84077"/>
										<dfl:actionParam name="filter" value="pic-pic-timeline"/>
										<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
										<dfl:choose>
											<dfl:when test="fto/a84060[=Aufnahme*]/a84071 = fto/a84060[=Aufnahme*]/a84077">
												<dfl:wrap>{{fto/a84060[=Aufnahme*]/a84071}}</dfl:wrap>
											</dfl:when>
											<dfl:otherwise>
												<dfl:wrap>{{fto/a84060[=Aufnahme*]/a84071} - {fto/a84060[=Aufnahme*]/a84077}}</dfl:wrap>
											</dfl:otherwise>
										</dfl:choose>
									</dfl:action>
								</a>
							</li>
						</dfl:when>
						<dfl:when test="a8494">
							<li>
								<dfl:choose>
									<dfl:when test="a8494/a8494a and a8494/a8494e ">
										<dfl:action action="timelineQueryDocument">
											<dfl:actionParam name="fromDate" select="a8494a"/>
											<dfl:actionParam name="toDate" select="a8494e"/>
											<dfl:actionParam name="filter" value="pic-pic-timeline"/>
											<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
											<dfl:choose>
												<dfl:when test="a8494a = a8494e">
													<dfl:wrap>{{a8494a}}</dfl:wrap>
												</dfl:when>
												<dfl:otherwise>
													<dfl:wrap>{{a8494a} - {a8494e}}</dfl:wrap>
												</dfl:otherwise>
											</dfl:choose>
										</dfl:action>
									</dfl:when>
									<dfl:otherwise>
										<dfl:action action="timelineQueryDocument">
											<dfl:actionParam name="fromDate" select="a8494"/>
											<dfl:actionParam name="toDate" select="''"/>
											<dfl:actionParam name="filter" value="pic-pic-timeline"/>
											<dfl:text>Mehr Fotos aus der Zeit von </dfl:text>
											<dfl:choose>
												<dfl:when test="a8494 = a8494">
													<dfl:wrap>{{a8494}}</dfl:wrap>
												</dfl:when>
											</dfl:choose>
										</dfl:action>
									</dfl:otherwise>
								</dfl:choose>
							</li>
						</dfl:when>
						<dfl:when test="fto//fto/aft28[=Verwalt*]/a2900">
							<dfl:for-each select="fto//fto/aft28[=Verwalt*]/a2900">
								<li>
									<dfl:action action="queryGallery">
										<dfl:actionParam name="index" value="pic-partner-inst"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(self::a2900)"/>
										<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
										<dfl:wrap>{../a2864}, {self::a2900}</dfl:wrap>
									</dfl:action>
								</li>
							</dfl:for-each>
						</dfl:when>
						<dfl:when test="a8460">
							<dfl:for-each select="a8460">
								<li>
									<dfl:action action="queryGallery">
										<dfl:actionParam name="index" value="pic-partner-inst"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a8460)"/>
										<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
										<dfl:wrap>{a8460}</dfl:wrap>
									</dfl:action>
								</li>
							</dfl:for-each>
						</dfl:when>
						<!--	<dfl:when test="a8460">
							<li>
								<a href="#">
									<dfl:text>Mehr Fotos aus der Sammlung </dfl:text>
									<dfl:wrap>{a8450/a8460}</dfl:wrap>
								</a>
							</li>
						</dfl:when>-->
						<dfl:when test="fto//fto/a84300">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-pic-mat-tech"/>
									<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign((fto//fto/a84300)[1])"/>
									<dfl:text>Mehr Fotos zu </dfl:text>
									<dfl:wrap>{fto//fto/a84300}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:when>
						<dfl:when test="a8489">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-pic-mat-tech"/>
									<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a8489)"/>
									<dfl:text>Mehr Fotos zu </dfl:text>
									<dfl:wrap>{a8489}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:when>
						<dfl:when test="a99ga[=ÖNB*] or a99ga[=PartagePlus-Projek*] or a99ga[=WRM*] or a99ga[=Unesco Weltkulturerbe] or a99ga[=Mittelalterliche Retabel*]">
							<dfl:for-each select="a99ga[=ÖNB*] | a99ga[=PartagePlus-Projek*] | a99ga[=WRM*] | a99ga[=Unesco Weltkulturerbe] | a99ga[=Mittelalterliche Retabel*]">
								<dfl:if test="position()=1">
									<li>
										<dfl:action action="queryGallery">
											<dfl:actionParam name="index" value="pic-sub-stock"/>
											<dfl:actionParam name="desc" select="concat('%22',edps:Xslt2EncodeForURIPlusSign(self::a99ga),'%22')"/>
											<dfl:text>Mehr Fotos zum Bestand </dfl:text>
											<dfl:wrap>{self::a99ga}</dfl:wrap>
										</dfl:action>
									</li>
								</dfl:if>
							</dfl:for-each>
						</dfl:when>
						<dfl:when test="fto//fto/aft28/a85fm">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:actionParam name="desc" select="concat('%22',edps:Xslt2EncodeForURIPlusSign((fto//fto/aft28/a85fm)[1]),'%22')"/>
									<dfl:text>Mehr Fotos zum Bestand </dfl:text>
									<dfl:wrap>{fto//fto/aft28/a85fm}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:when>
						<dfl:when test="a85fm">
							<li>
								<dfl:action action="queryGallery">
									<dfl:actionParam name="index" value="pic-sub-stock"/>
									<dfl:actionParam name="desc" select="concat('%22',edps:Xslt2EncodeForURIPlusSign(a85fm),'%22')"/>
									<dfl:text>Mehr Fotos zum Bestand </dfl:text>
									<dfl:wrap>{a85fm}</dfl:wrap>
								</dfl:action>
							</li>
						</dfl:when>
					</ul>
				</dfl:div>
			</dfl:when>
		</dfl:part>