Html-title

Aus Data-Wiki
<dfl:part name="html-title">
			<dfl:if test="###BLOCKNUMBER### = $ETEVariables/part">
				<dfl:for-each select="self::kur">
					<dfl:apply-templates template="Bausteine" part="Werkteile-Titel" select="self::kur"/>
					<dfl:space/>
				</dfl:for-each>
				<dfl:if test="not(self::kur)">
					<dfl:for-each select="self::a8450/parent::*|self::*[not(self::a8450)]">
						<dfl:choose>
							<dfl:when test="a5200">
								<dfl:wrap>{a5200}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<dfl:text>, </dfl:text>
								</dfl:if>
							</dfl:when>
							<dfl:when test="a5202">
								<dfl:wrap>{a5202}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<dfl:text>, </dfl:text>
								</dfl:if>
							</dfl:when>
							<dfl:when test="a5230">
								<dfl:for-each select="a5230">
									<dfl:wrap>{self::a5230}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<dfl:choose>
											<dfl:when test="self::a5230[=*/]">
												<dfl:text> oder </dfl:text>
											</dfl:when>
											<dfl:otherwise>
												<dfl:text>, </dfl:text>
											</dfl:otherwise>
										</dfl:choose>
									</dfl:if>
								</dfl:for-each>
							</dfl:when>
							<dfl:when test="a99fm[=MiFi-Bestand, n. erfasst*]">
								<dfl:wrap>{{(self::obj[a8450/asr02])[last()]/a8450/asr02::JOIN:: -}- {(self::obj[a8450/asr03])[last()]/a8450/asr03::JOIN:: -}- {(self::obj[a8450/asr04])[last()]/a8450/asr04}}</dfl:wrap>
							</dfl:when>
							<dfl:when test="aqu28/a2940[=Bildnachlass Reinhart Koselleck*]">
								<dfl:wrap>{{(self::que[aqu28/a2940])[last()]/aqu28/a2940::JOIN:::}: {(self::que[a809a])[last()]/a809a::JOIN::,}, {(self::que[a8090])[last()]/a8090}}</dfl:wrap>
							</dfl:when>
							<dfl:when test="a809a or a8090">
								<dfl:wrap>{{(self::que[a809a])[last()]/a809a::JOIN::,}, {(self::que[a8090])[last()]/a8090::JOIN::,}}</dfl:wrap>
							</dfl:when>
							<dfl:when test="a8064 or a8062">
								<dfl:wrap>{{(self::que[a8064 or a8062])[last()]/a8064>>a8062}}</dfl:wrap>
							</dfl:when>
							<dfl:otherwise>
								<dfl:text>[Kein Titel]</dfl:text>
								<dfl:if test="position()!=last()">
									<dfl:text>, </dfl:text>
								</dfl:if>
							</dfl:otherwise>
						</dfl:choose>
						<dfl:if test="position()=last()">
							<dfl:text> | </dfl:text>
						</dfl:if>
					</dfl:for-each>
					<dfl:for-each select="(self::obj[a5108])[last()]/a5108">
						<dfl:if test="position()=1">
							<dfl:wrap>{{self::a5108}, {a5110}, {a5116} {a5117}}</dfl:wrap>
							<dfl:text> | </dfl:text>
						</dfl:if>
					</dfl:for-each>
					<dfl:for-each select="self::a8450/parent::*|self::*[not(self::a8450)]">
						<dfl:choose>
							<dfl:when test="self::obj/aob30[a3100] or self::obj/aob35[a3600] or self::obj/a5130 or self::que/aqu40[=Person (von)*]">
								<dfl:if test="self::obj/aob30[a3100]">
									<dfl:for-each select="(self::obj[aob30/a3100])[last()]/aob30[a3100]">
										<dfl:if test="position()=1">
											<dfl:wrap>{{self::aob30[!=Herstell*]}: {a31nn>>a3100} {({a3470})}}</dfl:wrap>
										</dfl:if>
									</dfl:for-each>
								</dfl:if>
								<dfl:if test="self::obj/aob30[a3100] and (self::obj/aob35[a3600] or self::obj/a5130)">
									<dfl:text>, </dfl:text>
								</dfl:if>
								<dfl:if test="self::obj/aob35[a3600]">
									<dfl:for-each select="(self::obj[aob35/a3600])[last()]/aob35[a3600]">
										<dfl:if test="position()=1">
											<dfl:wrap>{{self::aob35[!=Herstell*]}: {a36nn>>a3600} {({a3970})}}</dfl:wrap>
										</dfl:if>
									</dfl:for-each>
								</dfl:if>
								<dfl:if test="self::obj/aob35[a3600] and self::obj/a5130">
									<dfl:text>, </dfl:text>
								</dfl:if>
								<dfl:if test="self::obj/a5130">
									<dfl:wrap>{self::obj/a5130}</dfl:wrap>
								</dfl:if>
								<dfl:if test="self::que/aqu40">
									<dfl:for-each select="aqu40[=Person (von)*]">
										<dfl:if test="position()=1">
											<dfl:wrap>{von: {a41nn>>a4100}}</dfl:wrap>
										</dfl:if>
									</dfl:for-each>
								</dfl:if>
								<dfl:text> | </dfl:text>
							</dfl:when>
						</dfl:choose>
					</dfl:for-each>
				</dfl:if>
				<dfl:text>Bildindex der Kunst & Architektur</dfl:text>
			</dfl:if>
			<dfl:if test="###BLOCKNUMBER### != $ETEVariables/part">
				<dfl:apply-templates/>
			</dfl:if>
		</dfl:part>