<dfl:part name="Pic-Fotografieobjekt">
<dfl:choose>
<!-- Spalte D -->
<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
<!--<dfl:variable name="picGroup">
<dfl:copy-of select="self::a8450"/>
</dfl:variable>-->
<dfl:variable name="hasFTO">
<dfl:choose>
<dfl:when test="self::a8450/fto">
<dfl:value-of select="string('true')"/>
</dfl:when>
<dfl:otherwise>
<dfl:value-of select="string('false')"/>
</dfl:otherwise>
</dfl:choose>
</dfl:variable>
<dfl:for-each select="..">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Standort-Bauwerk-lang" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Hersteller-lang" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Datierung-lang" forcedSelect="true"/>
<li>
<div class="col-lg-5 col-md-5 col-sm-5" style="
padding-left: 0;
">
<h3 class="border-bottom z5415">
<dfl:space nbsp="yes"/>
</h3>
</div>
</li>
<dfl:if test="$hasFTO='false'">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Klassifikation" forcedSelect="true"/>
</dfl:if>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Material/Technik" forcedSelect="true"/>
<!--dfl:apply-templates select="msxsl:node-set($picGroup)" template="Bausteine" part="Aufnahmeart" forcedSelect="true"/-->
<dfl:apply-templates select="self::obj" template="Bausteine" part="Massangaben" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Status" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Fundort" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Ortsbezug" forcedSelect="true"/>
<dfl:if test="$hasFTO='false'">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Verwalter-lang" forcedSelect="true"/>
</dfl:if>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Folio-Seite" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Link KuR-Dokument" forcedSelect="true"/>
<dfl:if test="a5007[!=Darstellung*]">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Bezug-Objekt" forcedSelect="true"/>
</dfl:if>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Beschreibung" forcedSelect="true"/>
<!--<dfl:apply-templates select="." template="Bausteine" part="Objektlink Wikipedia"/>-->
<dfl:apply-templates select="self::obj" template="Bausteine" part="Nutzungsrechte" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Link-Partnerdatenbank" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Inschrift-Marke-Wappen" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Themen" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Bezug-Werk" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Bezug-Person" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Bezug-Koerperschaft" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Bezug-Ereignis" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Provenienz" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Ausstellung" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Literatur" forcedSelect="true"/>
<dfl:apply-templates select="self::obj" template="Bausteine" part="Quelle" forcedSelect="true"/>
<dfl:if test="$hasFTO='false'">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Datenlieferant" forcedSelect="true"/>
</dfl:if>
</dfl:for-each>
</dfl:when>
<!-- Spalte E -->
<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)"> </dfl:when>
<!-- Spalte F -->
<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)"> </dfl:when>
<!-- Spalte G -->
<dfl:when test="ancestor::que">
<!--<dfl:variable name="picGroup">
<dfl:copy-of select="self::a8450"/>
</dfl:variable>-->
<dfl:for-each select="..">
<dfl:apply-templates select="self::que" template="Bausteine" part="Standort-Bauwerk-lang" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Hersteller-lang" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Datierung-lang" forcedSelect="true"/>
<li>
<div class="col-lg-5 col-md-5 col-sm-5" style="
padding-left: 0;
">
<h3 class="border-bottom z5467">
<dfl:space nbsp="yes"/>
</h3>
</div>
</li>
<dfl:apply-templates select="self::que" template="Bausteine" part="Klassifikation" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Material/Technik" forcedSelect="true"/>
<!--dfl:apply-templates select="msxsl:node-set($picGroup)" template="Bausteine" part="Aufnahmeart" forcedSelect="true"/-->
<dfl:apply-templates select="self::que" template="Bausteine" part="Massangaben" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Status" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Fundort" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Ortsbezug" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Verwalter-lang" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Folio-Seite" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Link KuR-Dokument" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Beschreibung" forcedSelect="true"/>
<!--<dfl:apply-templates select="." template="Bausteine" part="Objektlink Wikipedia"/>-->
<dfl:apply-templates select="self::que" template="Bausteine" part="Nutzungsrechte" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Link-Partnerdatenbank" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Inschrift-Marke-Wappen" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Themen" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Bezug-Werk" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Bezug-Person" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Bezug-Koerperschaft" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Bezug-Ereignis" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Provenienz" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Ausstellung" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Literatur" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Quelle" forcedSelect="true"/>
<dfl:apply-templates select="self::que" template="Bausteine" part="Datenlieferant" forcedSelect="true"/>
</dfl:for-each>
</dfl:when>
</dfl:choose>
</dfl:part>