Formular:ARCHIUM FORM hascher literature: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
 
(34 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<!-- ARCHIUM_FORM_hascher_literature -->
 
<!-- ARCHIUM_FORM_hascher_literature -->
<!-- Version 20200420 -->
+
<!-- Version 20200616 -->
  
 
<!-- This is a form definition for LITERATURE-type pages. It provides input fields for
 
<!-- This is a form definition for LITERATURE-type pages. It provides input fields for
 
     signature, title, description, remark. -->
 
     signature, title, description, remark. -->
<noinclude>
+
    <noinclude>
    {{#forminput:form=ARCHIUM_FORM_hascher_literature}}
+
        {{#forminput:form=ARCHIUM_FORM_hascher_literature}}
</noinclude>
+
    </noinclude>
{{ARCHIUM_HIDE_BEGIN}}
+
    {{ARCHIUM_HIDE_BEGIN}}
 
+
   
<includeonly>
+
    <includeonly>
 
         <!-- ADD FORM-LINK -->
 
         <!-- ADD FORM-LINK -->
 
         {{#default_form:ARCHIUM_FORM_hascher_literature}}
 
         {{#default_form:ARCHIUM_FORM_hascher_literature}}
Zeile 16: Zeile 16:
 
         __NOTOC__
 
         __NOTOC__
 
         <!-- EMBED QUERY/DISPLAY TEMPLATE -->
 
         <!-- EMBED QUERY/DISPLAY TEMPLATE -->
         {{{for template|ARCHIUM_TEMPLATE_hascher_display}}}
+
         {{{for template|ARCHIUM_TEMPLATE_hascher_display_literature}}}
 
             {{{field|type|mandatory|default=object|hidden}}}
 
             {{{field|type|mandatory|default=object|hidden}}}
 
         {{{end template}}}
 
         {{{end template}}}
 
+
   
 
         <!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
 
         <!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
 
         {{{for template|ARCHIUM_HIDE_BEGIN}}}
 
         {{{for template|ARCHIUM_HIDE_BEGIN}}}
 
         {{{end template}}}
 
         {{{end template}}}
 
+
   
 
         <!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT -->
 
         <!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT -->
 
         {{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}}
 
         {{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}}
 
             {{{field|type|mandatory|default=literature|hidden}}}
 
             {{{field|type|mandatory|default=literature|hidden}}}
 
         {{{end template}}}
 
         {{{end template}}}
{{ARCHIUM_HIDE_END}}
+
    {{ARCHIUM_HIDE_END}}
 
+
        <div class="archium-background-Literatur">
    <div class="archium-background-Literatur">
+
            <div class="archium-grid-container-base archium-grid-container-header">
        <div class="archium-grid-container-base archium-grid-container-header">
+
                <div class="archium-grid-item-header" style="grid-column: 1 / span 3">
            <div class="archium-grid-item-header" style="grid-column: 1 / span 3">
+
                    <h3>Literaturobjekt</h3>
                <h3>Literaturobjekt</h3>
+
                </div>
            </div>
+
                <div class="archium-grid-item-header" style="grid-column: 4 / span 3">
            <div class="archium-grid-item-header" style="grid-column: 4 / span 3">
+
                 </div>
            </div>
 
        </div>
 
        <!-- DEFINE FORM FIELDS -->
 
        <div class="archium-grid-container-base archium-grid-container-identity">
 
            <h3><i class="far fa-id-card"></i> Identifizierung</h3>
 
            <div class="archium-grid-item" style="grid-column: 1 / span 1";>
 
                 <h4>Objekttyp:</h4>
 
                <p>{{#var:type}}</p>
 
            </div>
 
            <div class="archium-grid-item" style="grid-column: 2 / span 1";>
 
                <!-- 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>
             <div class="archium-grid-item" style="grid-column: 1 / span 1";>
+
            <!-- DEFINE FORM FIELDS -->
                 <!-- define date of creation input fields -->
+
             <div class="archium-grid-container-base archium-grid-container-identity">
                {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Literatur)}}}
+
                <h3><i class="far fa-id-card"></i> Identifizierung</h3>
                    {{{field|date_of_creation
+
                <div class="archium-grid-item" style="grid-column: 1 / span 1";>
                         |mandatory
+
                    <!-- define parent objet input field -->
                         |input type=date
+
                    {{{for template|ARCHIUM_TEMPLATE_hascher_parent_object|label=Übergeordnetes Objekt(Literatur)}}}
                        |default=now
+
                        {{{field|parent
                    }}}
+
                            |input type=combobox
                {{{end template}}}
+
                            |default={{PAGENAME}}
 +
                            |placeholder=
 +
                            |cargo table=ARCHIUM_TABLE_hascher_signature
 +
                            |cargo field=ARCHIUM_PROPERTY_hascher_signature
 +
                        }}}
 +
                    {{{end template}}}
 +
                </div>
 +
                <div class="archium-grid-item" style="grid-column: 2 / span 1";>
 +
                    <!-- 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>
             <div class="archium-grid-item" style="grid-column: 2;">
+
             <div class="archium-grid-container-base archium-grid-container-provenance">
                <!-- define author input fields -->
+
                <h3><i class="fas fa-route"></i> Provenienz</h3>
                {{{for template|ARCHIUM_TEMPLATE_hascher_author|multiple|minimum instances=1|label=Autor(en)(Literatur)}}}
+
                <div class="archium-grid-item" style="grid-column: 1;">
                    {{{field|author
+
                    <!-- define creator input fields -->
                        |mandatory
+
                    {{{for template|ARCHIUM_TEMPLATE_hascher_creator|label=Ersteller(Literatur)}}}
                        |input type=combobox
+
                        {{{field|creator
                        |default=
+
                            |mandatory
                        |placeholder=Pflichteintrag
+
                            |input type=combobox
                         |cargo table=ARCHIUM_TABLE_hascher_author
+
                            |default=Michael Hascher
                        |cargo field=ARCHIUM_PROPERTY_hascher_author
+
                            |placeholder=Pflichteintrag
                {{{end template}}}
+
                            |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>
             <div class="archium-grid-item" style="grid-column: 3;">
+
             <div class="archium-grid-container-base archium-grid-container-contents">
                <!-- define author input fields -->
+
                <h3><i class="fas fa-box-open"></i> Inhalt</h3>
                {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_publication|label=Erscheinungsdatum(Literatur)}}}
+
                <div class="archium-grid-item" style="grid-column: 1 / span 2;">
                     {{{field|date_of_publication
+
                    <!-- define topic input field -->
                         |mandatory
+
                    {{{for template|ARCHIUM_TEMPLATE_hascher_topic|label=Thema(Literatur)}}}
                         |input type=date
+
                        {{{field|topic
                         |default=now
+
                            |mandatory
                         |cargo table=ARCHIUM_TABLE_hascher_date_of_publication
+
                            |input type=combobox
                        |cargo field=ARCHIUM_PROPERTY_hascher_date_of_publication
+
                            |default=
                {{{end template}}}
+
                            |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>
        </div>
+
            <div class="archium-grid-container-base archium-grid-container-status">
        <div class="archium-grid-container-base archium-grid-container-provenance">
+
                <h3><i class="far fa-chart-bar"></i> Literaturstatus</h3>
            <h3><i class="fas fa-route"></i> Provenienz</h3>
+
                <div class="archium-grid-item" style="grid-column: 1 / span 2;">
            <div class="archium-grid-item" style="grid-column: 1;">
+
                    <!-- define publisher input field -->
                 <!-- define creator input fields -->
+
                    {{{for template|ARCHIUM_TEMPLATE_hascher_publisher|label=Herausgeber(Literatur)}}}
                {{{for template|ARCHIUM_TEMPLATE_hascher_creator|label=Ersteller(Literatur)}}}
+
                        {{{field|publisher
                     {{{field|creator
+
                            |input type=combobox
                         |mandatory
+
                            |default=
                        |input type=combobox
+
                            |placeholder=
                         |default=Michael Hascher
+
                            |cargo table=ARCHIUM_TABLE_hascher_publisher
                        |placeholder=Pflichteintrag
+
                            |cargo field=ARCHIUM_PROPERTY_hascher_publisher
                        |cargo table=ARCHIUM_TABLE_hascher_creator
+
                        }}}
                        |cargo field=ARCHIUM_PROPERTY_hascher_creator
+
                    {{{end template}}}
                     }}}
+
                </div>
                 {{{end template}}}
+
                 <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>
             <div class="archium-grid-item" style="grid-column: 2;">
+
             <div class="archium-grid-container-base archium-grid-container-links">
                <!-- define editor input fields -->
+
                <h3><i class="fas fa-link"></i> Verbindungen</h3>
                {{{for template|ARCHIUM_TEMPLATE_hascher_editor|multiple|minimum instances=1|label=Bearbeiter(Literatur)}}}
+
                <div class="archium-grid-item" style="grid-column: 1 / span 3;">
                    {{{field|editor
+
                    <!-- define count input field -->
                         |mandatory
+
                    {{{for template|ARCHIUM_TEMPLATE_hascher_link|multiple|label=Verknüpfungen(Literatur)}}}
                         |input type=combobox
+
                        {{{field|link
                        |default=Michael Hascher
+
                            |input type=combobox
                        |placeholder=Pflichteintrag
+
                            |default=
                        |cargo table=ARCHIUM_TABLE_hascher_editor
+
                            |placeholder=Verknüpfung
                        |cargo field=ARCHIUM_PROPERTY_hascher_editor
+
                            |cargo table=ARCHIUM_TABLE_hascher_signature
                    }}}
+
                            |cargo field=ARCHIUM_PROPERTY_hascher_signature
                {{{end template}}}
+
                        }}}
 +
                    {{{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>
             <div class="archium-grid-item" style="grid-column: 3;">
+
             <div class="archium-grid-container-base archium-grid-container-attachments">
                <!-- define history input fields -->
+
                <h3><i class="fas fa-paperclip"></i> Anhänge</h3>
                {{{for template|ARCHIUM_TEMPLATE_hascher_history|label=Bestandsgeschichte(Literatur)}}}
+
                <div class="archium-grid-item" style="grid-column: 1 / span 6";>
                    {{{field|history
+
                    <!-- define attachment input field -->
                        |input type=textarea with autocomplete
+
                    {{{for template|ARCHIUM_TEMPLATE_hascher_attachment|multiple|label=Anhang(Literatur)}}}
                        |default=
+
                        {{{field|attachment
                        |placeholder=Bestandsgeschichte
+
                            |uploadable
                        |cargo table=ARCHIUM_TABLE_hascher_history
+
                         }}}
                         |cargo field=ARCHIUM_PROPERTY_hascher_history
+
                    {{{end template}}}
                    }}}
+
                </div>
                {{{end template}}}
 
 
             </div>
 
             </div>
 
         </div>
 
         </div>
        <div class="archium-grid-container-base archium-grid-container-contents">
+
     <!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
            <h3><i class="fas fa-box-open"></i> Inhalt</h3>
+
    {{{for template|ARCHIUM_HIDE_END}}}
            <div class="archium-grid-item" style="grid-column: 1 / span 2;">
+
    {{{end template}}}
                <!-- define topic input field -->
+
    </includeonly>
                {{{for template|ARCHIUM_TEMPLATE_hascher_topic|label=Thema(Literatur)}}}
+
   
                    {{{field|topic
+
    <noinclude>
                        |mandatory
+
        <!-- CALL HOOKS -->
                        |input type=combobox
+
        {{ARCHIUM_TEMPLATE_hook|ARCHIUM_hascher}}
                        |default=
+
   
                        |placeholder=Pflichteintrag
+
        <!-- LICENSE NOTE -->
                        |cargo table=ARCHIUM_TABLE_hascher_topic
+
        <!-- https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data
                        |cargo field=ARCHIUM_PROPERTY_hascher_topic
+
        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 -->
                {{{end template}}}
+
    </noinclude>
            </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 class="archium-grid-item">3</div>
 
            <div class="archium-grid-item">4</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 3;">
 
                <!-- define count input field -->
 
                {{{for template|ARCHIUM_TEMPLATE_hascher_count|label=Anzahl(Literatur)}}}
 
                    {{{field|count
 
                        |mandatory
 
                        |input type=combobox
 
                        |default=1
 
                        |placeholder=Anzahl
 
                        |cargo table=ARCHIUM_TABLE_hascher_count
 
                        |cargo field=ARCHIUM_PROPERTY_hascher_count
 
                    }}}
 
                {{{end template}}}
 
            </div>
 
            <div class="archium-grid-item" style="grid-column: 4 / span 3;">
 
                <!-- define count input field -->
 
                {{{for template|ARCHIUM_TEMPLATE_hascher_condition|label=Zustand(Literatur)}}}
 
                    {{{field|condition
 
                        |mandatory
 
                        |input type=textarea with autocomplete
 
                        |default=
 
                        |placeholder=Zustand
 
                        |cargo table=ARCHIUM_TABLE_hascher_condition
 
                        |cargo field=ARCHIUM_PROPERTY_hascher_condition
 
                    }}}
 
                {{{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=Titelbild(Literatur)}}}
 
                    {{{field|attachment
 
                        |uploadable
 
                    }}}
 
                {{{end template}}}
 
            </div>
 
        </div>
 
     </div>
 
<!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
 
{{{for template|ARCHIUM_HIDE_END}}}
 
{{{end template}}}
 
</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>
 

Aktuelle Version vom 26. Juni 2020, 10:37 Uhr