Formular:ARCHIUM FORM hascher literature: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
<!-- ARCHIUM_FORM_hascher_literature -->
+
<!-- ARCHIUM_TEMPLATE_hascher_display_literature -->
<!-- Version 20200427 -->
+
<!-- Version 20200611 -->
  
<!-- This is a form definition for LITERATURE-type pages. It provides input fields for
+
<!-- This template queries the underlying cargo database
     signature, title, description, remark. -->
+
and displays the results in a pleasant way -->
     <noinclude>
+
{{ARCHIUM_HIDE_BEGIN}}
         {{#forminput:form=ARCHIUM_FORM_hascher_literature}}
+
<!-- load font-awesome files -->
     </noinclude>
+
<link href="../fontawesome-free-5.12.1-web/css/all.css" rel="stylesheet">
     {{ARCHIUM_HIDE_BEGIN}}
+
 
      
+
<includeonly>
     <includeonly>
+
    <!-- MAGIC WORDS -->
         <!-- ADD FORM-LINK -->
+
    __NOEDITSECTION__
         {{#default_form:ARCHIUM_FORM_hascher_literature}}
+
    __NOTOC__
         <!-- MAGIC WORDS -->
+
 
         __NOEDITSECTION__
+
    <!-- ADD FORM-LINK -->
         __NOTOC__
+
    {{#default_form:ARCHIUM_FORM_hascher_literature}}
         <!-- EMBED QUERY/DISPLAY TEMPLATE -->
+
 
         {{{for template|ARCHIUM_TEMPLATE_hascher_display_literature}}}
+
    <!-- DEFINE HELPER VARIABLES -->
             {{{field|type|mandatory|default=object|hidden}}}
+
    {{#vardefine:pagename|
         {{{end template}}}
+
        {{urlencode:{{PAGENAME}}|WIKI}}
      
+
    }}
         <!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
+
 
         {{{for template|ARCHIUM_HIDE_BEGIN}}}
+
    <!-- QUERY STUFF AND WRITE RESULTS TO VARIABLES -->
         {{{end template}}}
+
    <!-- query overview -->
      
+
    {{#vardefine:overview|
         <!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT -->
+
        {{#cargo_query:
         {{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}}
+
            tables    =
             {{{field|type|mandatory|default=literature|hidden}}}
+
                ARCHIUM_TABLE_hascher_signature  =  Tabelle
         {{{end template}}}
+
                    |fields=_pageName  =  Datenbankeintrag
     {{ARCHIUM_HIDE_END}}
+
            |default    = -
      
+
            |format    = dynamic table
         <div class="archium-background-Literatur">
+
        }}
            <div class="archium-grid-container-base archium-grid-container-header">
+
    }}
                <div class="archium-grid-item-header" style="grid-column: 1 / span 3">
+
    <!-- query type -->
                    <h3>Literaturobjekt</h3>
+
    {{#vardefine:type|
                </div>
+
        {{#switch:
                <div class="archium-grid-item-header" style="grid-column: 4 / span 3">
+
            {{#cargo_query:
 +
                tables    =
 +
                    ARCHIUM_TABLE_hascher_type
 +
                        |fields=ARCHIUM_PROPERTY_hascher_type
 +
                |default    = nicht kategorisiertes Objekt
 +
                |no html
 +
                |where     = "_pageName" = '{{PAGENAME}}'
 +
            }}
 +
            | object        = Denkmalobjekt
 +
            | literature    = Literatur
 +
            | topic        = Thema
 +
        }}
 +
    }}
 +
    <!-- query signature -->
 +
    {{#vardefine:signature|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_signature
 +
                    |fields=ARCHIUM_PROPERTY_hascher_signature
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query title -->
 +
    {{#vardefine:title|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_title
 +
                    |fields=ARCHIUM_PROPERTY_hascher_title
 +
            |default    = kein Titel angegeben
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query title image -->
 +
    {{#vardefine:title_image|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_title_image
 +
                    |fields=ARCHIUM_PROPERTY_hascher_title_image
 +
            |default    = image_missing.svg
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
        }}
 +
    }}
 +
    <!-- query date of creation -->
 +
    {{#vardefine:date_of_creation|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_date_of_creation
 +
                    |fields=ARCHIUM_PROPERTY_hascher_date_of_creation
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query author -->
 +
    {{#vardefine:author|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_author
 +
                    |fields=ARCHIUM_PROPERTY_hascher_author
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query date of publication -->
 +
    {{#vardefine:date_of_publication|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_date_of_publication
 +
                    |fields=ARCHIUM_PROPERTY_hascher_date_of_publication
 +
            |default    = -
 +
            |no html
 +
            |where     = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query creator -->
 +
    {{#vardefine:creator|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_creator
 +
                    |fields=ARCHIUM_PROPERTY_hascher_creator
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query editor -->
 +
    {{#vardefine:editor|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_editor
 +
                    |fields=ARCHIUM_PROPERTY_hascher_editor
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query history -->
 +
    {{#vardefine:history|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_history
 +
                    |fields=ARCHIUM_PROPERTY_hascher_history
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query topic -->
 +
    {{#vardefine:topic|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_topic
 +
                    |fields=ARCHIUM_PROPERTY_hascher_topic
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
     <!-- query category -->
 +
     {{#vardefine:category|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_category
 +
                    |fields=ARCHIUM_PROPERTY_hascher_category
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
     }}
 +
     <!-- query sub category -->
 +
    {{#vardefine:sub_category|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_sub_category
 +
                    |fields=ARCHIUM_PROPERTY_hascher_sub_category
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query description -->
 +
    {{#vardefine:description|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_description
 +
                    |fields=ARCHIUM_PROPERTY_hascher_description
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query remark -->
 +
    {{#vardefine:remark|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_remark
 +
                    |fields=ARCHIUM_PROPERTY_hascher_remark
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
         }}
 +
    }}
 +
    <!-- query publisher -->
 +
    {{#vardefine:publisher|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_publisher
 +
                    |fields=ARCHIUM_PROPERTY_hascher_publisher
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query isbn -->
 +
    {{#vardefine:isbn|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_isbn
 +
                    |fields=ARCHIUM_PROPERTY_hascher_isbn
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
         }}
 +
    }}
 +
    <!-- query asin -->
 +
    {{#vardefine:asin|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_asin
 +
                    |fields=ARCHIUM_PROPERTY_hascher_asin
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query series -->
 +
    {{#vardefine:series|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_series
 +
                    |fields=ARCHIUM_PROPERTY_hascher_series
 +
            |default    = -
 +
             |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query volume -->
 +
    {{#vardefine:volume|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_volume
 +
                    |fields=ARCHIUM_PROPERTY_hascher_volume
 +
            |default   = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query edition -->
 +
    {{#vardefine:edition|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_edition
 +
                    |fields=ARCHIUM_PROPERTY_hascher_edition
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template   = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
     <!-- query form -->
 +
    {{#vardefine:form|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_form
 +
                    |fields=ARCHIUM_PROPERTY_hascher_form
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query language -->
 +
    {{#vardefine:language|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_language
 +
                    |fields=ARCHIUM_PROPERTY_hascher_language
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query other information -->
 +
    {{#vardefine:other_information|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_other_information
 +
                    |fields=ARCHIUM_PROPERTY_hascher_other_information
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template   = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
     <!-- query links -->
 +
    {{#vardefine:link|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_link
 +
                    |fields=ARCHIUM_PROPERTY_hascher_link
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query backlinks -->
 +
    {{#vardefine:backlink|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_link
 +
                    |fields=_pageName
 +
            |default    = -
 +
            |no html
 +
            |where      = "ARCHIUM_PROPERTY_hascher_link" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
        }}
 +
    }}
 +
    <!-- query gnd-person -->
 +
    {{#vardefine:gnd_person|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_gnd_index
 +
                    |fields=
 +
                        ARCHIUM_PROPERTY_hascher_gnd_prefered_name = gnd_prefered_name,
 +
                        ARCHIUM_PROPERTY_hascher_gnd_number = gnd_number
 +
            |default    = -
 +
            |no html
 +
            |where      =
 +
                "_pageName" = '{{PAGENAME}}' AND "ARCHIUM_PROPERTY_hascher_gnd_type" = 'Person'
 +
            |format    = template
 +
            |named args = yes
 +
            |template  = ARCHIUM_TEMPLATE_format_gnd_entry
 +
        }}
 +
    }}
 +
    <!-- query gnd-location -->
 +
    {{#vardefine:gnd_location|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_gnd_index
 +
                    |fields=
 +
                        ARCHIUM_PROPERTY_hascher_gnd_prefered_name = gnd_prefered_name,
 +
                        ARCHIUM_PROPERTY_hascher_gnd_number = gnd_number
 +
            |default    = -
 +
             |no html
 +
            |where      =
 +
                "_pageName" = '{{PAGENAME}}' AND "ARCHIUM_PROPERTY_hascher_gnd_type" = 'Ort'
 +
            |format    = template
 +
            |named args = yes
 +
            |template  = ARCHIUM_TEMPLATE_format_gnd_entry
 +
        }}
 +
    }}
 +
    <!-- query gnd-name -->
 +
    {{#vardefine:gnd_name|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_gnd_index
 +
                    |fields=
 +
                        ARCHIUM_PROPERTY_hascher_gnd_prefered_name = gnd_prefered_name,
 +
                        ARCHIUM_PROPERTY_hascher_gnd_number = gnd_number
 +
            |default   = -
 +
            |no html
 +
            |where      =
 +
                "_pageName" = '{{PAGENAME}}' AND "ARCHIUM_PROPERTY_hascher_gnd_type" = 'Name'
 +
            |format    = template
 +
            |named args = yes
 +
            |template  = ARCHIUM_TEMPLATE_format_gnd_entry
 +
        }}
 +
    }}
 +
    <!-- query attachments -->
 +
    {{#vardefine:attachment|
 +
         {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_attachment
 +
                    |fields=ARCHIUM_PROPERTY_hascher_attachment = attachment
 +
            |default    =
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format    = template
 +
            |named args = yes
 +
            |template  = ARCHIUM_TEMPLATE_format_attachment
 +
        }}
 +
    }}
 +
     <!-- query count -->
 +
    {{#vardefine:count|
 +
        {{#cargo_query:
 +
            tables    =
 +
                ARCHIUM_TABLE_hascher_count
 +
                    |fields=ARCHIUM_PROPERTY_hascher_count
 +
            |default    = -
 +
            |no html
 +
            |where      = "_pageName" = '{{PAGENAME}}'
 +
            |format     = template
 +
            |template  = ARCHIUM_TEMPLATE_format_ul
 +
         }}
 +
    }}
 +
{{ARCHIUM_HIDE_END}}
 +
<div class="archium-background-{{#var:type}}">
 +
    <!-- HEADER-CONTAINER -->
 +
    <div class="archium-grid-container-base archium-grid-container-header">
 +
        <div class="archium-grid-item-header" style="grid-column: 1 / span 2">
 +
            <h3>Literaturobjekt</h3>
 +
        </div>
 +
        <div class="archium-grid-item-header" style="grid-column: 3 / span 2">
 +
            <div class="archium-overview">
 +
                <h3><i class="fas fa-list"></i> Übersicht</h3>
 +
                <div class = "dropdown-list">
 +
                    {{#var:overview}}
 
                 </div>
 
                 </div>
 
             </div>
 
             </div>
            <!-- DEFINE FORM FIELDS -->
+
        </div>
            <div class="archium-grid-container-base archium-grid-container-identity">
+
        <div class="archium-grid-item-header" style="grid-column: 5 / span 1;">
                <h3><i class="far fa-id-card"></i> Identifizierung</h3>
+
            <div class="archium-overview">
                <div class="archium-grid-item" style="grid-column: 1 / span 1";>
+
                 <h3> Werkzeuge  [https://denkmalpflege.archium.org/index.php/Formular:ARCHIUM_FORM_hascher_literature <i class="far fa-file"></i>]
                    <h4>Objekttyp:</h4>
+
                                {{#formlink:form=ARCHIUM_FORM_hascher_literature|link text=<i class="far fa-edit"></i>|target={{PAGENAME}}}}
                    <p>{{#var:type}}</p>
+
                                {{#formlink:form=ARCHIUM_FORM_hascher_literature|link text=<i class="far fa-clone"></i>|preload={{#var:pagename}}|target={{#var:pagename}}-1}}
                </div>
+
                                [https://denkmalpflege.archium.org/index.php?title={{#var:pagename}}&action=delete <i class="far fa-trash-alt"></i>
                <div class="archium-grid-item" style="grid-column: 2 / span 1";>
+
                 </h3>
                    <!-- define signature input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Literatur)}}}
 
                        {{{field|signature
 
                            |mandatory
 
                            |unique
 
                            |input type=combobox
 
                            |default={{PAGENAME}}
 
                            |placeholder=Pflichteintrag
 
                            |cargo table=ARCHIUM_TABLE_hascher_signature
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_signature
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 3 / span 1";>
 
                    <!-- define title input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Literatur)}}}
 
                        {{{field|title
 
                            |mandatory
 
                            |input type=combobox
 
                            |default={{PAGENAME}}
 
                            |placeholder=Pflichteintrag
 
                            |cargo table=ARCHIUM_TABLE_hascher_title
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_title
 
                        }}}
 
                    {{{end template}}}
 
                 </div>
 
                <div class="archium-grid-item" style="grid-column: 4 / span 3; grid-row: 2 / span 2";>
 
                    <!-- define title image input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_title_image|label=Titelbild(Literatur)}}}
 
                        {{{field|title_image
 
                            |uploadable
 
                            |image preview
 
                            |default filename={{PAGENAME}}.jpeg
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 1 / span 1";>
 
                    <!-- define date of creation input fields -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Literatur)}}}
 
                        {{{field|date_of_creation
 
                            |input type=date
 
                            |default=now
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 2 / span 1";>
 
                    <!-- define author input fields -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_author|multiple|minimum instances=1|label=Autor(en)(Literatur)}}}
 
                        {{{field|author
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=Pflichteintrag
 
                            |cargo table=ARCHIUM_TABLE_hascher_author
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_author
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 3 / span 1";>
 
                    <!-- define date_of_publication input fields -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_publication|label=Erscheinungsdatum(Literatur)}}}
 
                        {{{field|date_of_publication
 
                            |mandatory
 
                            |input type=date
 
                            |default=now
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
            </div>
 
            <div class="archium-grid-container-base archium-grid-container-provenance">
 
                <h3><i class="fas fa-route"></i> Provenienz</h3>
 
                <div class="archium-grid-item" style="grid-column: 1;">
 
                    <!-- define creator input fields -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_creator|label=Ersteller(Literatur)}}}
 
                        {{{field|creator
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=Michael Hascher
 
                            |placeholder=Pflichteintrag
 
                            |cargo table=ARCHIUM_TABLE_hascher_creator
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_creator
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 2;">
 
                    <!-- define editor input fields -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_editor|multiple|minimum instances=1|label=Bearbeiter(Literatur)}}}
 
                        {{{field|editor
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=Michael Hascher
 
                            |placeholder=Pflichteintrag
 
                            |cargo table=ARCHIUM_TABLE_hascher_editor
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_editor
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 3;">
 
                    <!-- define history input fields -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_history|label=Bestandsgeschichte(Literatur)}}}
 
                        {{{field|history
 
                            |input type=textarea with autocomplete
 
                            |default=
 
                            |placeholder=Bestandsgeschichte
 
                            |cargo table=ARCHIUM_TABLE_hascher_history
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_history
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
            </div>
 
            <div class="archium-grid-container-base archium-grid-container-contents">
 
                <h3><i class="fas fa-box-open"></i> Inhalt</h3>
 
                <div class="archium-grid-item" style="grid-column: 1 / span 2;">
 
                    <!-- define topic input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_topic|label=Thema(Literatur)}}}
 
                        {{{field|topic
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=Pflichteintrag
 
                            |cargo table=ARCHIUM_TABLE_hascher_topic
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_topic
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 3 / span 2;">
 
                    <!-- define category input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_category|label=Kategorie(Literatur)}}}
 
                        {{{field|category
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=
 
                            |cargo table=ARCHIUM_TABLE_hascher_category
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_category
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 5 / span 2;">
 
                    <!-- define sub category input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_sub_category|label=Unterkategorie(Literatur)}}}
 
                        {{{field|sub_category
 
                            |input type=combobox
 
                            |default=
 
                            |cargo table=ARCHIUM_TABLE_hascher_sub_category
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_sub_category
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 1 / span 3;">
 
                    <!-- define description input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Literatur)}}}
 
                        {{{field|description
 
                            |input type=textarea with autocomplete
 
                            |default={{PAGENAME}}
 
                            |placeholder=Beschreibung
 
                            |cargo table=ARCHIUM_TABLE_hascher_description
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 
                    <!-- define remark input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_remark|multiple|label=Anmerkungen(Literatur)}}}
 
                        {{{field|remark
 
                            |input type=textarea with autocomplete
 
                            |default={{PAGENAME}}
 
                            |placeholder=Anmerkung
 
                            |cargo table=ARCHIUM_TABLE_hascher_remark
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_remark
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
            </div>
 
            <div class="archium-grid-container-base archium-grid-container-status">
 
                <h3><i class="far fa-chart-bar"></i> Literaturstatus</h3>
 
                <div class="archium-grid-item" style="grid-column: 1 / span 2;">
 
                    <!-- define publisher input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_publisher|label=Herausgeber(Literatur)}}}
 
                        {{{field|publisher
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=
 
                            |cargo table=ARCHIUM_TABLE_hascher_publisher
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_publisher
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 3 / span 2;">
 
                    <!-- define volume input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_volume|label=Jahrgang(Literatur)}}}
 
                        {{{field|volume
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=
 
                            |cargo table=ARCHIUM_TABLE_hascher_volume
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_volume
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 5 / span 2;">
 
                    <!-- define form input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_form|label=Form(Literatur)}}}
 
                        {{{field|form
 
                            |input type=combobox
 
                            |default=Buch
 
                            |placeholder=Form
 
                            |cargo table=ARCHIUM_TABLE_hascher_form
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_form
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 1 / span 3;">
 
                    <!-- define series field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_series|label=Serie(Literatur)}}}
 
                        {{{field|series
 
                            |input type=textarea with autocomplete
 
                            |default=
 
                            |placeholder=
 
                            |cargo table=ARCHIUM_TABLE_hascher_series
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_series
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 
                    <!-- define other_information input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_other_information|label=Zusätzliche Informationen(Literatur)}}}
 
                        {{{field|other_information
 
                            |mandatory
 
                            |input type=textarea with autocomplete
 
                            |default=
 
                            |placeholder=Zustand
 
                            |cargo table=ARCHIUM_TABLE_hascher_other_information
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_other_information
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
            </div>
 
            <div class="archium-grid-container-base archium-grid-container-links">
 
                <h3><i class="fas fa-link"></i> Verbindungen</h3>
 
                <div class="archium-grid-item" style="grid-column: 1 / span 3;">
 
                    <!-- define count input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_link|multiple|label=Verknüpfungen(Literatur)}}}
 
                        {{{field|link
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=Verknüpfung
 
                            |cargo table=ARCHIUM_TABLE_hascher_signature
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_signature
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
                <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 
                    <!-- define gnd_index input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_gnd_index|multiple|label=GND-Einträge(Literatur)}}}
 
                        {{{field|gnd_type
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=GND-Typ
 
                            |existing values only
 
                            |values = Name, Ort, Person
 
                            |cargo table=ARCHIUM_TABLE_hascher_gnd_index
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_gnd_type
 
                        }}}
 
                        {{{field|gnd_number
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=GND-Nummer
 
                            |cargo table=ARCHIUM_TABLE_hascher_gnd_index
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_gnd_number
 
                        }}}
 
                        {{{field|gnd_prefered_name
 
                            |mandatory
 
                            |input type=combobox
 
                            |default=
 
                            |placeholder=GND-Name
 
                            |cargo table=ARCHIUM_TABLE_hascher_gnd_index
 
                            |cargo field=ARCHIUM_PROPERTY_hascher_gnd_prefered_name
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
            </div>
 
            <div class="archium-grid-container-base archium-grid-container-attachments">
 
                <h3><i class="fas fa-paperclip"></i> Anhänge</h3>
 
                 <div class="archium-grid-item" style="grid-column: 1 / span 6";>
 
                    <!-- define attachment input field -->
 
                    {{{for template|ARCHIUM_TEMPLATE_hascher_attachment|multiple|label=Anhang(Literatur)}}}
 
                        {{{field|attachment
 
                            |uploadable
 
                        }}}
 
                    {{{end template}}}
 
                </div>
 
 
             </div>
 
             </div>
 
         </div>
 
         </div>
     <!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
+
    </div>
     {{{for template|ARCHIUM_HIDE_END}}}
+
    <!-- IDENTITY-CONTAINER -->
     {{{end template}}}
+
    <div class="archium-grid-container-base archium-grid-container-identity">
     </includeonly>
+
        <div style = "grid-column: 1 / span 3;">
      
+
            <h3><i class="fas fa-id-card"></i> Identifizierung</h3>
     <noinclude>
+
        </div>
        <!-- CALL HOOKS -->
+
        <div class="archium-grid-item" style="grid-column: 1 / span 1;">
        {{ARCHIUM_TEMPLATE_hook|ARCHIUM_hascher}}
+
            <h4>Objekttyp:</h4>
      
+
            <p>{{#var:type}}</p>
        <!-- LICENSE NOTE -->
+
        </div>
        <!-- https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data
+
        <div class="archium-grid-item" style="grid-column: 2 / span 1;">
        Distributed under the terms of GNU General Public License,
+
            <h4>Signatur:</h4>
        version 2 (GPL-2.0), https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -->
+
            <p>{{#var:signature}}</p>
    </noinclude>
+
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 3 / span 1;">
 +
            <h4>Titel:</h4>
 +
            <p>{{#var:title}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 4 / span 3; grid-row: 2 / span 2;">
 +
            <h4>Titelbild:</h4>
 +
            <p>[[File:{{#var:title_image}}]]</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 1;">
 +
            <h4>Erstellungsdatum:</h4>
 +
            <p>{{#var:date_of_creation}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 2 / span 1;">
 +
            <h4>Autor(en):</h4>
 +
            <p>{{#var:author}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 3 / span 1;">
 +
            <h4>Erscheinungsdatum:</h4>
 +
            <p>{{#var:date_of_publication }}</p>
 +
        </div>
 +
        <!-- <div class="archium-grid-item" style="grid-column: 2 / span 2;">
 +
            <h4>Laufzeiten:</h4>
 +
            <p>{{#var:timeframe}}</p>
 +
        </div> -->
 +
    </div>
 +
     <!-- PROVENANCE-CONTAINER -->
 +
    <div class="archium-grid-container-base archium-grid-container-provenance">
 +
        <div style = "grid-column: 1 / span 3;">
 +
            <h3><i class="fas fa-route"></i> Provenienz</h3>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1;">
 +
            <h4>Ersteller:</h4>
 +
            <p>{{#var:creator}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 2;">
 +
            <h4>Bearbeiter:</h4>
 +
            <p>{{#var:editor}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 3;">
 +
            <h4>Bestandsgeschichte:</h4>
 +
            <p>{{#var:history}}</p>
 +
        </div>
 +
    </div>
 +
    <!-- CONTENTS-CONTAINER -->
 +
     <div class="archium-grid-container-base archium-grid-container-contents">
 +
        <div style = "grid-column: 1 / span 3;">
 +
            <h3><i class="fas fa-box-open"></i> Inhalt</h3>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 2;">
 +
            <h4>Thema:</h4>
 +
            <p>{{#var:topic}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 3 / span 2;">
 +
            <h4>Kategorie:</h4>
 +
            <p>{{#var:category}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 5 / span 2;">
 +
            <h4>Unterkategorie:</h4>
 +
            <p>{{#var:sub_category}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 3;">
 +
            <h4>Beschreibung:</h4>
 +
            <p>{{#var:description}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 +
            <h4>Anmerkungen:</h4>
 +
            <p>{{#var:remark}}</p>
 +
        </div>
 +
    </div>
 +
     <!-- STATUS-CONTAINER -->
 +
    <div class="archium-grid-container-base archium-grid-container-status">
 +
        <div style = "grid-column: 1 / span 3;">
 +
            <h3><i class="fas fa-chart-bar"></i> Literaturstatus</h3>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 2;">
 +
            <h4>Herausgeber:</h4>
 +
            <p>{{#var:publisher}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 3 / span 2;">
 +
            <h4>Jahrgang:</h4>
 +
            <p>{{#var:volume}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 5 / span 2;">
 +
            <h4>Form:</h4>
 +
            <p>{{#var:form}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 3;">
 +
            <h4>Serie:</h4>
 +
            <p>{{#var:series}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 +
            <h4>Sonstige Angaben:</h4>
 +
            <p>{{#var:other_information}}</p>
 +
        </div>
 +
     </div>
 +
    <!-- LINKS-CONTAINER -->
 +
    <div class="archium-grid-container-base archium-grid-container-links">
 +
        <div style = "grid-column: 1 / span 3;">
 +
            <h3><i class="fas fa-link"></i> Verbindungen</h3>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 2;">
 +
            <h4>Personen:</h4>
 +
            <p>{{#var:gnd_person}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 3 / span 2;">
 +
            <h4>Orte:</h4>
 +
            <p>{{#var:gnd_location}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 5 / span 2;">
 +
            <h4>Namen:</h4>
 +
            <p>{{#var:gnd_name}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 3;">
 +
            <h4>Explizite Verknüpfungen:</h4>
 +
            <p>{{#var:link}}</p>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 +
            <h4>Rückverweise:</h4>
 +
            <p>{{#var:backlink}}</p>
 +
        </div>
 +
    </div>
 +
    <!-- ATTACHMENTS-CONTAINER -->
 +
     <div class="archium-grid-container-base archium-grid-container-attachments">
 +
        <div style = "grid-column: 1 / span 3;">
 +
            <h3><i class="fas fa-paperclip"></i> Anhänge</h3>
 +
        </div>
 +
        <div class="archium-grid-item" style="grid-column: 1 / span 6;">
 +
            <h4>Dateien:</h4>
 +
            <p>{{#var:attachment}}</p>
 +
        </div>
 +
     </div>
 +
</div>
 +
<nowiki/>
 +
</includeonly>
 +
<!--  -->
 +
<noinclude>
 +
    <!-- CALL HOOKS -->
 +
    {{ARCHIUM_TEMPLATE_hook|ARCHIUM_hascher}}
 +
     <!--  -->
 +
    <!--  -->
 +
    <!-- LICENSE NOTE -->
 +
    <!-- https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data -->
 +
    <!-- Distributed under the terms of GNU General Public License, version 2 (GPL-2.0), https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -->
 +
</noinclude>

Version vom 11. Juni 2020, 15:28 Uhr


<link href="../fontawesome-free-5.12.1-web/css/all.css" rel="stylesheet">