Hersteller-lang: Unterschied zwischen den Versionen

Aus Data-Wiki
imported>Glorius
(Die Seite wurde neu angelegt: „<dfl:part name="Hersteller-lang"> <dfl:if test="self::obj/aob30[a3100] or self::obj/a309a[a3090] or self::obj/aob35[a3600] or self::obj/a5130 or self::que/a…“)
 
imported>Glorius
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
<dfl:part name="Hersteller-lang">
<pre><dfl:part name="Hersteller-lang">
<dfl:if test="self::obj/aob30[a3100] or self::obj/a309a[a3090] or self::obj/aob35[a3600] or self::obj/a5130 or self::que/aqu40[=Person (von)*]">
<dfl:if test="self::obj/aob30[a3100] or self::obj/a309a[a3090] or self::obj/aob35[a3600] or self::obj/a5130 or self::que/aqu40[=Person (von)*]">
<dfl:li class="Bausteine Hersteller-lang">
<dfl:li class="Bausteine Hersteller-lang">
Zeile 157: Zeile 157:
</dfl:if>
</dfl:if>
</dfl:part>
</dfl:part>
</pre>

Aktuelle Version vom 25. August 2022, 07:57 Uhr

<dfl:part name="Hersteller-lang">
			<dfl:if test="self::obj/aob30[a3100] or self::obj/a309a[a3090] or self::obj/aob35[a3600] or self::obj/a5130 or self::que/aqu40[=Person (von)*]">
				<dfl:li class="Bausteine Hersteller-lang">
					<!--<span class="gridLeft">
						<dfl:text>Hersteller:</dfl:text>
					</span>
					<span class="gridRight">-->
					<dfl:if test="self::obj/aob30[a3100] or self::obj/a309a[a3090] or self::obj/aob35[a3600] or self::que/aqu40[=Person (von)*]">
						<span class="gridLeft">
							<dfl:choose>
								<dfl:when test="self::que/aqu40[=Person (von)*]">
									<dfl:text>Person (von):</dfl:text>
								</dfl:when>
								<dfl:otherwise>
									<dfl:text>Hersteller:</dfl:text>
								</dfl:otherwise>
							</dfl:choose>
						</span>
						<span class="gridRight">
							<dfl:if test="self::obj/aob30[a3100]">
								<dfl:for-each select="(self::obj[aob30/a3100])[last()]/aob30[a3100]">
									<dfl:wrap>{self::aob30[!=Herstell*]}</dfl:wrap>
									<dfl:if test="self::aob30[!=Herstell*] and (a31nn or a3100 or a3470 or a3475 or a3496 or a3498)">
										<dfl:text>:</dfl:text>
										<dfl:space/>
									</dfl:if>
									<dfl:choose>
										<dfl:when test="$Status.SearchMode='pic'">
											<!-- Link zum Künstlerdokument in Lightbox, wenn eines vorhanden ist (=augmentierte KUE-Nr. in Feld a3000 vorhanden. Sonst Anzeige von a3100 ohne Link. -->
											<dfl:augmentableDetail detail="kuedocument1pic" select="a3000" action="toggleDetailMedium" class="ssy_detail_inline detail_doc">
												<dfl:actionParam name="part" select="$ETEVariables/part"/>
												<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
												<dfl:actionParam name="id" select="$ETEVariables/id"/>
												<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
											</dfl:augmentableDetail>
										</dfl:when>
										<dfl:otherwise>
											<!-- Link zum Künstlerdokument in Lightbox, wenn eines vorhanden ist (=augmentierte KUE-Nr. in Feld a3000 vorhanden. Sonst Anzeige von a3100 ohne Link. -->
											<dfl:augmentableDetail detail="kuedocument1" select="a3000" action="toggleDetail" class="ssy_detail_inline detail_doc">
												<dfl:actionParam name="part" select="$ETEVariables/part"/>
												<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
												<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
											</dfl:augmentableDetail>
										</dfl:otherwise>
									</dfl:choose>
									<!-- FM20170517: Zusatz a3496 -->
									<dfl:if test="a31nn|a3100 and a3470|a3475|a3496|a3498">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:wrap>{({a3470}), {a3475}, {a3496}, {a3498}}</dfl:wrap>
									<dfl:augmentedDetail detail="kuedocument1" select="a3000" template="Kuenstler-Dokument" jump="no"/>
									<dfl:augmentedDetail detail="kuedocument1pic" select="a3000" template="Kuenstler-Dokument" jump="no"/>
									<dfl:if test="position()!=last()">
										<dfl:if test="not(preceding-sibling::aob30[1]/aob30rl[text()[1]=current()/aob30rl])">
											<dfl:space/>
											<dfl:value-of select="aob30rl"/>
										</dfl:if>
										<br/>
									</dfl:if>
								</dfl:for-each>
							</dfl:if>
							<dfl:if test="self::obj/aob30[a3100] and (self::obj/aob35[a3600] or self::obj/a5130[not(aob30 or aob35)] or self::obj/a309a[a3090])">
								<br/>
							</dfl:if>
							<dfl:for-each select="(self::obj[aob35/a3600])[last()]/aob35[a3600]">
								<dfl:wrap>{self::aob35[!=Herstell*]}</dfl:wrap>
								<dfl:if test="self::aob35[!=Herstell*] and (a3970 or a3975 or a3996 or a3998 or a36nn or a3600 or a3500)">
									<dfl:text>:</dfl:text>
									<dfl:space/>
								</dfl:if>
								<dfl:choose>
									<dfl:when test="$Status.SearchMode='pic'">
										<!-- Link zum Werkstattdokument in Lightbox, wenn eines vorhanden ist (=augmentierte WER-Nr. in Feld a3500 vorhanden. Sonst Anzeige von a3600 ohne Link. -->
										<dfl:augmentableDetail detail="werdocument1pic" select="a3500" action="toggleDetailMedium" class="ssy_detail_inline detail_doc">
											<dfl:actionParam name="part" select="$ETEVariables/part"/>
											<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
											<dfl:actionParam name="id" select="$ETEVariables/id"/>
											<dfl:wrap>{a36nn>>a3600}</dfl:wrap>
										</dfl:augmentableDetail>
									</dfl:when>
									<dfl:otherwise>
										<!-- Link zum Werkstattdokument in Lightbox, wenn eines vorhanden ist (=augmentierte WER-Nr. in Feld a3500 vorhanden. Sonst Anzeige von a3600 ohne Link. -->
										<dfl:augmentableDetail detail="werdocument1" select="a3500" action="toggleDetail" class="ssy_detail_inline detail_doc">
											<dfl:actionParam name="part" select="$ETEVariables/part"/>
											<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
											<dfl:wrap>{a36nn>>a3600}</dfl:wrap>
										</dfl:augmentableDetail>
									</dfl:otherwise>
								</dfl:choose>

								<dfl:if test="a36nn|a3600 and a3970|a3975|a3998">
									<dfl:text>, </dfl:text>
								</dfl:if>
								<dfl:wrap>{({a3970}), {a3975}, {a3998}}</dfl:wrap>
								<dfl:augmentedDetail detail="werdocument1" select="a3500" template="Werkstatt-Dokument" jump="no"/>
								<dfl:augmentedDetail detail="werdocument1pic" select="a3500" template="Werkstatt-Dokument" jump="no"/>
								<dfl:if test="position()!=last()">
									<dfl:if test="not(preceding-sibling::aob35[1]/aob35rl[text()[1]=current()/aob35rl])">
										<dfl:space/>
										<dfl:value-of select="aob35rl"/>
									</dfl:if>
									<br/>
								</dfl:if>
							</dfl:for-each>
							<!--<dfl:if
								test="(self::obj/aob35[a3600]) and (self::obj/a5130[not(aob30 or aob35)] or self::obj/a309a[a3090])">
								<br/>
							</dfl:if>-->
							<dfl:if test="self::obj/a309a[a3090]">
								<dfl:for-each select="(self::obj[a309a/a3090])[last()]/a309a[a3090]">
									<dfl:wrap>{{self::a309a}: {a3090} ({a3094}), {Quelle: {a3092}}}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<dfl:if test="not(preceding-sibling::a309a[1]/a3090rl[text()[1]=current()/a3090rl])">
											<dfl:space/>
											<dfl:value-of select="a3090rl"/>
										</dfl:if>
										<br/>
									</dfl:if>
								</dfl:for-each>
							</dfl:if>
							<dfl:if test="(self::que/aqu40[=Person (von)*])[last()]">
								<dfl:for-each select="(self::que[aqu40[=Person (von)*]])[last()]/aqu40[=Person (von)*]">
									<dfl:wrap>{von: {a41nn>>a4100}}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<br/>
									</dfl:if>
								</dfl:for-each>
							</dfl:if>
							<dfl:space nbsp="yes"/>
						</span>
					</dfl:if>
					<dfl:if test="self::obj/a5130[not(../aob30 or ../aob35)]">
						<span class="gridLeft">
							<dfl:text>stilistisch-geographische Zuordnung:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:for-each select="self::obj/a5130[not(../aob30 or ../aob35)]">
								<dfl:wrap>{self::a5130}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<dfl:choose>
										<dfl:when test="self::a5130[=*/]">
											<dfl:space/>
											<dfl:text>oder</dfl:text>
										</dfl:when>
										<dfl:otherwise>
											<dfl:text>;</dfl:text>
										</dfl:otherwise>
									</dfl:choose>
									<dfl:space/>
								</dfl:if>
							</dfl:for-each>
							<br/>
						</span>
					</dfl:if>
					<!--</span>-->
				</dfl:li>
			</dfl:if>
		</dfl:part>