Standort-Bauwerk-lang: Unterschied zwischen den Versionen

Aus Data-Wiki
imported>Glorius
Keine Bearbeitungszusammenfassung
imported>Glorius
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<code>
<pre>
<dfl:part name="Standort-Bauwerk-lang">
<dfl:part name="Standort-Bauwerk-lang">
<dfl:if test="self::obj/a5108 or self::obj/aob26[=Standort*] or self::obj/aob26[=Zusammenhang*] or self::obj/aob26[=Teil*]">
<dfl:if test="self::obj/a5108 or self::obj/aob26[=Standort*] or self::obj/aob26[=Zusammenhang*] or self::obj/aob26[=Teil*]">
Zeile 119: Zeile 119:
</dfl:for-each>
</dfl:for-each>


</code>
</pre>

Version vom 24. August 2022, 15:06 Uhr

<dfl:part name="Standort-Bauwerk-lang">
			<dfl:if test="self::obj/a5108 or self::obj/aob26[=Standort*] or self::obj/aob26[=Zusammenhang*] or self::obj/aob26[=Teil*]">
				<dfl:li class="Bausteine Standort-Bauwerk-lang">
					<!-- |a5122|a5210 denke die sind sinnlos im foreach -->
					<dfl:for-each select="(self::obj[a5108])[last()]/a5108">
						<span class="gridLeft">
							<dfl:text>Standort:</dfl:text>
							<!--<dfl:wrap>{self::a5108}</dfl:wrap>-->
						</span>
						<span class="gridRight">
							<!-- Kailus 20160914: Normdatenausgabe entfernt -->
							<dfl:wrap>{{self::a5108}, {a5110}, {a5116} {a5117}}</dfl:wrap>
							<dfl:if test="position()!=last()">
								<br/>
							</dfl:if>
							<dfl:if test="position()=last()">
								<dfl:if test="(self::obj[a5120])[last()]/a5120 or (self::obj[a5122])[last()]/a5122 or (self::obj[a5210])[last()]/a5210">
									<br/>
								</dfl:if>
								<dfl:wrap>{{(self::obj[a5120])[last()]/a5120::JOIN::,}, {(self::obj[a5122])[last()]/a5122::JOIN::,}}</dfl:wrap>
								<br/>
							</dfl:if>
						</span>
					</dfl:for-each>
					<dfl:for-each select="(self::obj[aob26])[last()]/aob26[=Standort*]|(self::obj[aob26])[last()]/aob26[=Zusammenhang*]|(self::obj[aob26])[last()]/aob26[=Teil*]">
						<span class="gridLeft">
							<dfl:wrap>{self::aob26}</dfl:wrap>
							<dfl:if test="self::aob26">
								<dfl:text>:</dfl:text>
							</dfl:if>
						</span>
						<span class="gridRight">
							<dfl:choose>
								<dfl:when test="a27gn[=gnd*]">
									<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
									<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:action action="queryGallery" class="ssy_detail_inline">
										<dfl:actionParam name="index" value="obj-obj_id_ref"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a27gn)"/>
										<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
									</dfl:action>
									<dfl:if test="(a2700|a2690|a2606) and (a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<!-- Kailus 20160914: Normdatenausgabe entfernt -->
									<dfl:wrap>{{a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
								</dfl:when>
								<dfl:when test="a26gn[=gnd*]">
									<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
									<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:action action="queryGallery" class="ssy_detail_inline">
										<dfl:actionParam name="index" value="obj-obj_id_ref"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a26gn)"/>
										<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
									</dfl:action>
									<!-- Kailus 20160914: Normdatenausgabe entfernt -->
									<dfl:if test="(a2700|a2690|a2606) and (a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:wrap>{{a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
								</dfl:when>
								<dfl:when test="a2606">
									<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
									<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:action action="queryGallery" class="ssy_detail_inline">
										<dfl:actionParam name="index" value="obj-obj_id_ref"/>
										<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a2606)"/>
										<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
									</dfl:action>
									<!-- Kailus 20160914: Normdatenausgabe entfernt -->
									<dfl:if test="(a2700|a2690|a2606) and (a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:wrap>{{a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
								</dfl:when>
								<!--<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a2606">
									<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
									<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<a class="ssy_detail_inline">
										<dfl:attribute name="href">
											<dfl:webrootbaseurl/>
											<dfl:text>document/obj</dfl:text>
											<dfl:wrap>{a2606}</dfl:wrap>
											<dfl:text>?medium=</dfl:text>
											<dfl:call-template selectdoctype="'obj'" selectdocnumber="a2606" template="getMedium"/>
										</dfl:attribute>
										<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
									</a>
									<!-\- Kailus 20160914: Normdatenausgabe entfernt -\->
									<dfl:if test="(a2700|a2690|a2606) and (a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
										<dfl:text>, </dfl:text>
									</dfl:if>
									<dfl:wrap>{{a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
								</dfl:whendocumentavailable>-->
								<dfl:otherwise>
									<dfl:wrap>{{a2664}, {a2662}, {a2700>>a2690>>a2606}, {a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
								</dfl:otherwise>
							</dfl:choose>
							<dfl:if test="position()!=last()">
								<br/>
							</dfl:if>
							<!-- FM20170517:  vorige Version:
								<dfl:if test="position()=last()">
								<dfl:if test="self::obj/a5125 or self::obj/a5235">
									<br/>
								</dfl:if>
								<dfl:wrap>{{(self::obj[a5125])[last()]/a5125::JOIN::,}, {(self::obj[a5235])[last()]/a5235}}</dfl:wrap>
							</dfl:if -->
						</span>
					</dfl:for-each>