Pic-Werklink

Aus Data-Wiki
<dfl:part name="Pic-Werklink">
			<dfl:choose>
				<!-- Spalte D -->
				<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
					<dfl:if test="(../a5007[=Darstellung])[1]/a5008">
						<dfl:ifsearchresultcount chapter="obj-obj_id_ref" descriptor="(../a5007[=Darstellung])[1]/a5008" count="1">
							<dfl:action action="queryGallery" class="ssy_detail_inline">
								<dfl:actionParam name="index" value="obj-obj_id_ref"/>
								<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign((../a5007[=Darstellung])[1]/a5008)"/>
								<dfl:actionParam name="Status.SearchMode" value="obj"/> Mehr Informationen zum Werk und weitere Abbildungen </dfl:action>
						</dfl:ifsearchresultcount>
					</dfl:if>
				</dfl:when>
				<!-- Spalte E -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
					<dfl:if test="(../a5000|../a5001|../a5002|../a5003|../a5004)[1]">
						<dfl:ifsearchresultcount chapter="obj-obj_id_ref" descriptor="(../a5000|../a5001|../a5002|../a5003|../a5004)[1]" count="1">
							<dfl:action action="queryGallery" class="ssy_detail_inline">
								<dfl:actionParam name="index" value="obj-obj_id_ref"/>
								<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign((../a5000|../a5001|../a5002|../a5003|../a5004)[1])"/>
								<dfl:actionParam name="Status.SearchMode" value="obj"/> Mehr Informationen zum Werk und weitere Abbildungen </dfl:action>
						</dfl:ifsearchresultcount>
					</dfl:if>
				</dfl:when>
				<!-- Spalte F -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
					<dfl:if test="(../a5000|../a5001|../a5002|../a5003|../a5004)[1]">
						<dfl:ifsearchresultcount chapter="obj-obj_id_ref" descriptor="(../a5000|../a5001|../a5002|../a5003|../a5004)[1]" count="1">
							<dfl:action action="queryGallery" class="ssy_detail_inline">
								<dfl:actionParam name="index" value="obj-obj_id_ref"/>
								<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign((../a5000|../a5001|../a5002|../a5003|../a5004)[1])"/>
								<dfl:actionParam name="Status.SearchMode" value="obj"/> Mehr Informationen zum Werk und weitere Abbildungen </dfl:action>
						</dfl:ifsearchresultcount>
					</dfl:if>
				</dfl:when>
				<!-- Spalte G -->
				<dfl:when test="ancestor::que">
					<dfl:if test="(../a8000|../a8001|../a8002|../a8003|../a8004)[1]">
						<dfl:action action="queryGallery" class="ssy_detail_inline">
							<dfl:actionParam name="index" value="obj-que_id_ref"/>
							<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign((../a8000|../a8001|../a8002|../a8003|../a8004)[1])"/>
							<dfl:actionParam name="Status.SearchMode" value="obj"/> Mehr Informationen zum Konvolut und weitere Abbildungen</dfl:action>
					</dfl:if>
				</dfl:when>
			</dfl:choose>
		</dfl:part>