Vorlage:ARCHIUM TEMPLATE format ul: Unterschied zwischen den Versionen

Aus Artux
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 4: Zeile 4:
which we format with CSS -->
which we format with CSS -->
{{ARCHIUM_HIDE_BEGIN}}
{{ARCHIUM_HIDE_BEGIN}}
<includeonly>
<includeonly>
    <!-- query related pages for dropdown -->
<!-- query related pages for dropdown -->
    {{#vardefine:related_pages|
{{#vardefine:related_pages|
        {{#cargo_query:
    {{#cargo_query:
            tables  =
        tables  =
                ARCHIUM_TABLE_thorax_signature,
            ARCHIUM_TABLE_thorax_signature,
                ARCHIUM_TABLE_thorax_title,
            ARCHIUM_TABLE_thorax_title,
                ARCHIUM_TABLE_thorax_extent_medium,
            ARCHIUM_TABLE_thorax_extent_medium,
                ARCHIUM_TABLE_thorax_level_of_description,
            ARCHIUM_TABLE_thorax_level_of_description,
                ARCHIUM_TABLE_thorax_deposition,
            ARCHIUM_TABLE_thorax_deposition,
                ARCHIUM_TABLE_thorax_signature_old,
            ARCHIUM_TABLE_thorax_signature_old,
                ARCHIUM_TABLE_thorax_creator,
            ARCHIUM_TABLE_thorax_creator,
                ARCHIUM_TABLE_thorax_transferor,
            ARCHIUM_TABLE_thorax_transferor,
                ARCHIUM_TABLE_thorax_editor,
            ARCHIUM_TABLE_thorax_editor,
                ARCHIUM_TABLE_thorax_history,
            ARCHIUM_TABLE_thorax_history,
                ARCHIUM_TABLE_thorax_content_general,
            ARCHIUM_TABLE_thorax_content_general,
                ARCHIUM_TABLE_thorax_content_special,
            ARCHIUM_TABLE_thorax_content_special,
                ARCHIUM_TABLE_thorax_classification,
            ARCHIUM_TABLE_thorax_classification,
                ARCHIUM_TABLE_thorax_main_group,
            ARCHIUM_TABLE_thorax_main_group,
                ARCHIUM_TABLE_thorax_priority,
            ARCHIUM_TABLE_thorax_priority,
                ARCHIUM_TABLE_thorax_coverage_status,
            ARCHIUM_TABLE_thorax_coverage_status,
                ARCHIUM_TABLE_thorax_coverage_level,
            ARCHIUM_TABLE_thorax_coverage_level,
                ARCHIUM_TABLE_thorax_segregation,
            ARCHIUM_TABLE_thorax_segregation,
                ARCHIUM_TABLE_thorax_rules_of_description,
            ARCHIUM_TABLE_thorax_rules_of_description,
                ARCHIUM_TABLE_thorax_clearance_level,
            ARCHIUM_TABLE_thorax_clearance_level,
                ARCHIUM_TABLE_thorax_condition,
            ARCHIUM_TABLE_thorax_condition,
                ARCHIUM_TABLE_thorax_usage_conditions,
            ARCHIUM_TABLE_thorax_usage_conditions,
                ARCHIUM_TABLE_thorax_finding_aids,
            ARCHIUM_TABLE_thorax_finding_aids,
                ARCHIUM_TABLE_thorax_storage_of_originals,
            ARCHIUM_TABLE_thorax_storage_of_originals,
                ARCHIUM_TABLE_thorax_storage_of_copies,
            ARCHIUM_TABLE_thorax_storage_of_copies,
                ARCHIUM_TABLE_thorax_related_fonds,
            ARCHIUM_TABLE_thorax_related_fonds,
                ARCHIUM_TABLE_thorax_link
            ARCHIUM_TABLE_thorax_link
            |join on    =  ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_title._pageName,
        |join on    =  ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_title._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_extent_medium._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_extent_medium._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_level_of_description._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_level_of_description._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_deposition._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_deposition._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_signature_old._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_signature_old._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_creator._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_creator._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_transferor._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_transferor._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_editor._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_editor._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_history._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_history._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_content_general._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_content_general._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_content_special._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_content_special._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_classification._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_classification._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_main_group._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_main_group._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_priority._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_priority._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_coverage_status._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_coverage_status._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_coverage_level._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_coverage_level._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_segregation._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_segregation._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_rules_of_description._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_rules_of_description._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_clearance_level._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_clearance_level._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_condition._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_condition._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_usage_conditions._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_usage_conditions._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_finding_aids._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_finding_aids._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_storage_of_originals._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_storage_of_originals._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_storage_of_copies._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_storage_of_copies._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_related_fonds._pageName,
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_related_fonds._pageName,
                            ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_link._pageName
                        ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_link._pageName
            |fields    =  ARCHIUM_TABLE_thorax_signature._pageName
        |fields    =  ARCHIUM_TABLE_thorax_signature._pageName
            |default    =  keine weiteren Ergebnisse
        |default    =  keine weiteren Ergebnisse
            |where      =  CAST("ARCHIUM_PROPERTY_thorax_title" as varchar)                        = '{{{1}}}'
        |where      =  CAST("ARCHIUM_PROPERTY_thorax_title" as varchar)                        = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_extent_medium" as varchar)              = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_extent_medium" as varchar)              = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_deposition" as varchar)                = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_deposition" as varchar)                = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_level_of_description" as varchar)      = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_level_of_description" as varchar)      = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_signature_old" as varchar)              = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_signature_old" as varchar)              = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_creator" as varchar)                    = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_creator" as varchar)                    = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_transferor" as varchar)                = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_transferor" as varchar)                = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_editor" as varchar)                    = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_editor" as varchar)                    = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_history" as varchar)                    = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_history" as varchar)                    = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_content_general" as varchar)            = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_content_general" as varchar)            = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_content_special" as varchar)            = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_content_special" as varchar)            = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_classification" as varchar)            = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_classification" as varchar)            = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_main_group" as varchar)                = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_main_group" as varchar)                = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_priority" as varchar)                  = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_priority" as varchar)                  = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_coverage_status" as varchar)            = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_coverage_status" as varchar)            = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_coverage_level" as varchar)            = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_coverage_level" as varchar)            = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_segregation" as varchar)                = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_segregation" as varchar)                = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_rules_of_description" as varchar)      = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_rules_of_description" as varchar)      = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_clearance_level" as varchar)            = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_clearance_level" as varchar)            = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_condition" as varchar)                  = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_condition" as varchar)                  = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_usage_conditions" as varchar)          = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_usage_conditions" as varchar)          = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_finding_aids" as varchar)              = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_finding_aids" as varchar)              = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_storage_of_originals" as varchar)      = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_storage_of_originals" as varchar)      = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_storage_of_copies" as varchar)          = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_storage_of_copies" as varchar)          = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_related_fonds" as varchar)              = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_related_fonds" as varchar)              = '{{{1}}}'
                            OR CAST("ARCHIUM_PROPERTY_thorax_link" as varchar)                      = '{{{1}}}'
                        OR CAST("ARCHIUM_PROPERTY_thorax_link" as varchar)                      = '{{{1}}}'


            |group by  = ARCHIUM_TABLE_thorax_signature._pageName,ARCHIUM_TABLE_thorax_signature._pageID
        |group by  = ARCHIUM_TABLE_thorax_signature._pageName,ARCHIUM_TABLE_thorax_signature._pageID
            |format    = ul
        |format    = ul
        }}
     }}
     }}
}}
{{ARCHIUM_HIDE_END}}
{{ARCHIUM_HIDE_END}}
    <!-- check if passed parameter is an existing wikipage, if yes make it a wikilink -->
<!-- check if passed parameter is an existing wikipage, if yes make it a wikilink -->
    {{#ifexist: {{{1}}}
{{#ifexist: {{{1}}}
        |<div class="archium-ul">{{ARCHIUM TEMPLATE filter db2text|[[{{{1}}}]]}}<div class = "dropdown-content"><p>Verwandte Einträge:</p>{{#var:related_pages}}</div></div>
    |<div class="archium-ul">{{ARCHIUM TEMPLATE filter db2text|[[{{{1}}}]]}}<div class = "dropdown-content"><p>Verwandte Einträge:</p>{{#var:related_pages}}</div></div>
        |<div class="archium-ul">{{ARCHIUM TEMPLATE filter db2text|{{{1}}}}}<div class = "dropdown-content"><p>Verwandte Einträge:</p>{{#var:related_pages}}</div></div>
    |<div class="archium-ul">{{ARCHIUM TEMPLATE filter db2text|{{{1}}}}}<div class = "dropdown-content"><p>Verwandte Einträge:</p>{{#var:related_pages}}</div></div>
    }}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- CALL HOOKS -->
<!-- CALL HOOKS -->

Aktuelle Version vom 12. Februar 2025, 15:05 Uhr