<dfl:part name="Pic-Werkinfo">
<dfl:choose>
<!-- Spalte D -->
<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
<br/>
<br/>
<dfl:for-each select="..">
<dfl:variable name="output1">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Pic-Bezug-Darstellung" forcedSelect="true"/>
</dfl:variable>
<!--<dfl:variable name="output2">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Themen" forcedSelect="true"/>
</dfl:variable>-->
<dfl:value-of select="$output1"/>
<!--<dfl:if test="normalize-space($output1) and normalize-space($output2)">
<dfl:text> - </dfl:text>
</dfl:if>
<dfl:value-of select="$output2"/>-->
</dfl:for-each>
</dfl:when>
<!-- Spalte E -->
<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
<br/>
<br/>
<dfl:for-each select="..">
<dfl:variable name="o1">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Hersteller" forcedSelect="true"/>
</dfl:variable>
<dfl:variable name="o2">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Standort-kurz" forcedSelect="true"/>
</dfl:variable>
<dfl:variable name="o3">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Datierung-lang" forcedSelect="true"/>
</dfl:variable>
<dfl:value-of select="$o1"/>
<dfl:if test="normalize-space($o1) and (normalize-space($o2) or normalize-space($o3))">
<dfl:text> - </dfl:text>
</dfl:if>
<dfl:value-of select="$o2"/>
<dfl:if test="normalize-space($o2) and normalize-space($o3)">
<dfl:text> - </dfl:text>
</dfl:if>
<dfl:value-of select="$o3"/>
</dfl:for-each>
</dfl:when>
<!-- Spalte F -->
<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
<br/>
<br/>
<dfl:for-each select="..">
<dfl:variable name="o1">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Hersteller" forcedSelect="true"/>
</dfl:variable>
<dfl:variable name="o2">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Standort-kurz" forcedSelect="true"/>
</dfl:variable>
<dfl:variable name="o3">
<dfl:apply-templates select="self::obj" template="Bausteine" part="Werk-Unformated-Datierung-lang" forcedSelect="true"/>
</dfl:variable>
<dfl:value-of select="$o1"/>
<dfl:if test="normalize-space($o1) and (normalize-space($o2) or normalize-space($o3))">
<dfl:text> - </dfl:text>
</dfl:if>
<dfl:value-of select="$o2"/>
<dfl:if test="normalize-space($o2) and normalize-space($o3)">
<dfl:text> - </dfl:text>
</dfl:if>
<dfl:value-of select="$o3"/>
</dfl:for-each>
</dfl:when>
<!-- Spalte G -->
<dfl:when test="ancestor-or-self::que">
<br/>
<br/>
<dfl:for-each select="..">
<dfl:variable name="output1">
<dfl:apply-templates select="self::que" template="Bausteine" part="Pic-Bezug-Vollständig" forcedSelect="true"/>
</dfl:variable>
<!--<dfl:variable name="output2">
<dfl:apply-templates select="self::que" template="Bausteine" part="Werk-Unformated-Themen" forcedSelect="true"/>
</dfl:variable>-->
<dfl:value-of select="$output1"/>
<!--
<dfl:if test="normalize-space($output1) and normalize-space($output2)">
<dfl:text> - </dfl:text>
</dfl:if>
<dfl:value-of select="$output2"/>-->
</dfl:for-each>
</dfl:when>
</dfl:choose>
</dfl:part>