Pic-Bezug-Vollständig

Aus Data-Wiki
<dfl:part name="Pic-Bezug-Vollständig">
			<dfl:for-each select="(self::que[aqu50])[last()]/aqu50[!=Doppelerfassung*][!=(Rbz)*]">
				<dfl:choose>
					<!-- Kailus 20160914: Normdatenausgabe entfernt -->
					<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a5008">
						<dfl:wrap>{{self::aqu50}: {a5009} ({a509a})}</dfl:wrap>
						<dfl:if test="self::aqu50|a5009|a509a and a5013|a5014|a5010|a501b|a501c|a501d|a501a|a5011|a5012|a5015|a5016|a5017|a5018|a501s|a501k|a501m|a501p|a501n|a5019|a5018|a501s|a501t">
							<dfl:text>, </dfl:text>
						</dfl:if>
						<a>
							<dfl:attribute name="href" class="ssy_detail_inline">
								<dfl:webrootbaseurl/>
								<dfl:text>document/obj</dfl:text>
								<dfl:wrap>{a5008}</dfl:wrap>
								<dfl:text>?medium=</dfl:text>
								<dfl:call-template selectdoctype="'obj'" selectdocnumber="a5008" template="getMedium"/>
							</dfl:attribute>
							<!-- {a5013>>a5014>>a5010>>a501b},  -->
							<dfl:choose>
								<dfl:when test="a5010 or a5013 or a5014">
									<dfl:wrap>{{a5013>>a5014>>a501b}, {a5010}}</dfl:wrap>
								</dfl:when>
								<dfl:otherwise>
									<dfl:wrap>{a5008}</dfl:wrap>
								</dfl:otherwise>
							</dfl:choose>
						</a>
						<dfl:if test="a5013|a5014|a5010|a501b|a5008 and a501c|a501d|a501a|a5011|a5012|a5015|a5016|a5017|a5018|a501s|a501k|a501m|a501p|a501n|a5019|a5018|a501s|a501t|a5017gn">
							<dfl:text>, </dfl:text>
						</dfl:if>
						<dfl:wrap>{{a501c}, {a501d}, {a501a}, {a5011}, {a5012}, {Standort: {a5015}}, {a5016}, {a5017}, {a5018}, {a501s}, {a501k}, {a501r}, {a501m}, {a501p}, {Sachtitel: {a501n}}, {a5019}, {a501s}, {a501t}}</dfl:wrap>
					</dfl:whendocumentavailable>
					<dfl:otherwise>
						<dfl:wrap>{{self::aqu50}: {a5009} ({a509a}), {a5013>>a5014>>a5010>>a501b}, {a501c}, {a501d}, {a501a}, {a5011}, {a5012}, {Standort: {a5015}}, {a5016}, {a5017}, {a5018}, {a501s}, {a501k}, {a501r}, {a501m}, {a501p}, {Sachtitel: {a501n}}, {a5019}, {a501s}, {a501t}}</dfl:wrap>
					</dfl:otherwise>
				</dfl:choose>
				<dfl:if test="position()!=last()">
					<br/>
				</dfl:if>
			</dfl:for-each>
			<dfl:for-each select="(self::que[aqu50])[last()]/aqu50[=Doppelerfassung*]">
				<dfl:choose>
					<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a5008">
						<a>
							<dfl:attribute name="href" class="ssy_detail_inline">
								<dfl:webrootbaseurl/>
								<dfl:text>document/obj</dfl:text>
								<dfl:wrap>{a5008}</dfl:wrap>
								<dfl:text>?medium=</dfl:text>
								<dfl:call-template selectdoctype="'obj'" selectdocnumber="a5008" template="getMedium"/>
							</dfl:attribute>
							<dfl:text>Weiterer Datensatz zu diesem Werk</dfl:text>
						</a>
					</dfl:whendocumentavailable>
					<dfl:otherwise>
						<dfl:text>Weiterer Datensatz zu diesem Werk</dfl:text>
					</dfl:otherwise>
				</dfl:choose>
				<dfl:if test="position()!=last()">
					<br/>
				</dfl:if>
			</dfl:for-each>
		</dfl:part>