Formular:ARCHIUM FORM hascher object: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
<!-- ARCHIUM_FORM_hascher_object -->
+
<!--ARCHIUM_FORM_hascher_object--><!--Version20200304--><!----><!--ThisisaformdefinitionforOBJECT-typepages.Itprovidesinputfieldsforsignature,title,description,remark.--><!----><noinclude>{{#forminput:form=ARCHIUM_FORM_hascher_object}}</noinclude><!----><includeonly><!--MAGICWORDS-->__NOEDITSECTION____NOTOC__<!----><!--DEFINETHATTHISFORMCREATESANEWOBJECT-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt,Literatur,Thema)}}}{{{field|type|mandatory|default=object|hidden}}}{{{endtemplate}}}<!----><!--DEFINEFORMFIELDS--><!--definesignatureinputfield-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}{{{field|signature|mandatory|unique|inputtype=combobox|default={{PAGENAME}}|placeholder=Pflichteintrag|cargotable=ARCHIUM_TABLE_hascher_signature|cargofield=ARCHIUM_PROPERTY_hascher_signature}}}{{{endtemplate}}}<!----><!--definetitleinputfield-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}{{{field|title|mandatory|inputtype=combobox|default={{PAGENAME}}|placeholder=Pflichteintrag|cargotable=ARCHIUM_TABLE_hascher_title|cargofield=ARCHIUM_PROPERTY_hascher_title}}}{{{endtemplate}}}<!----><!--definedescriptioninputfield-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}{{{field|description|inputtype=textwithautocomplete|default={{PAGENAME}}|placeholder=Beschreibung|cargotable=ARCHIUM_TABLE_hascher_description|cargofield=ARCHIUM_PROPERTY_hascher_description}}}{{{endtemplate}}}<!----><!--defineremarkinputfield-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_remark|label=Anmerkungen(Objekt)}}}{{{field|remark|inputtype=textwithautocomplete|default={{PAGENAME}}|placeholder=Anmerkung|cargotable=ARCHIUM_TABLE_hascher_remark|cargofield=ARCHIUM_PROPERTY_hascher_remark}}}{{{endtemplate}}}<!--definedateofcreationinputfields-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}{{{field|date_of_creation|mandatory|inputtype=date|default=now}}}{{{endtemplate}}}<!--definetimeframeinputfields-->{{{fortemplate|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}{{{field|date_from|inputtype=date|default=now}}}{{{field|date_until|inputtype=date|default=now}}}{{{endtemplate}}}<divclass="archium-grid-container"><divclass="archium-grid-item">{{{fortemplate|ARCHIUM_TEMPLATE_hascher_signature|multiple}}}{{{field|signature|mandatory|unique|inputtype=combobox|default={{PAGENAME}}|placeholder=Pflichteintrag|cargotable=ARCHIUM_TABLE_hascher_signature|cargofield=ARCHIUM_PROPERTY_hascher_signature}}}{{{endtemplate}}}</div><divclass="archium-grid-item">{{{fortemplate|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}{{{field|title|mandatory|inputtype=combobox|default={{PAGENAME}}|placeholder=Pflichteintrag|cargotable=ARCHIUM_TABLE_hascher_title|cargofield=ARCHIUM_PROPERTY_hascher_title}}}{{{endtemplate}}}</div><divclass="archium-grid-item"style="grid-column:1/span2;">{{{fortemplate|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}{{{field|description|inputtype=textwithautocomplete|default={{PAGENAME}}|placeholder=Beschreibung|cargotable=ARCHIUM_TABLE_hascher_description|cargofield=ARCHIUM_PROPERTY_hascher_description}}}{{{endtemplate}}}</div><divclass="archium-grid-item">4</div></div><divclass="archium-grid-container2"><divclass="archium-grid-item">{{{fortemplate|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}{{{field|date_of_creation|mandatory|inputtype=date|default=now}}}{{{endtemplate}}}</div><divclass="archium-grid-item">2</div><divclass="archium-grid-item">3</div><divclass="archium-grid-item">4</div></div></includeonly><!----><noinclude><!--CALLHOOKS-->{{ARCHIUMTEMPLATEhook|ARCHIUM_hascher}}<!----><!----><!--LICENSENOTE--><!--https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data--><!--DistributedunderthetermsofGNUGeneralPublicLicense,version2(GPL-2.0),https://www.gnu.org/licenses/old-licenses/gpl-2.0.html--></noinclude><nowiki/>
<!-- Version 20200304 -->
 
<!-- -->
 
<!-- This is a form definition for OBJECT-type pages. It provides input fields for
 
    signature, title, description, remark. -->
 
<!-- -->
 
<noinclude>
 
    {{#forminput:form=ARCHIUM_FORM_hascher_object}}
 
</noinclude>
 
<!-- -->
 
<includeonly>
 
    <!-- MAGIC WORDS -->
 
    __NOEDITSECTION__
 
    __NOTOC__
 
    <!-- -->
 
    <!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}}
 
        {{{field|type|mandatory|default=object|hidden}}}
 
    {{{end template}}}  
 
    <!-- -->
 
    <!-- DEFINE FORM FIELDS -->
 
    <!-- define signature input field -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}
 
        {{{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}}}
 
    <!-- -->
 
    <!-- define title input field -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
 
        {{{field|title
 
            |mandatory
 
            |input type=combobox
 
            |default={{PAGENAME}}
 
            |placeholder=Pflichteintrag
 
            |cargo table=ARCHIUM_TABLE_hascher_title
 
            |cargo field=ARCHIUM_PROPERTY_hascher_title
 
        }}}
 
    {{{end template}}}
 
    <!-- -->
 
    <!-- define description input field -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
 
        {{{field|description
 
            |input type=text with autocomplete
 
            |default={{PAGENAME}}
 
            |placeholder=Beschreibung
 
            |cargo table=ARCHIUM_TABLE_hascher_description
 
            |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
 
    {{{end template}}}
 
    <!-- -->
 
    <!-- define remark input field -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_remark|label=Anmerkungen(Objekt)}}}
 
        {{{field|remark
 
            |input type=text with autocomplete
 
            |default={{PAGENAME}}
 
            |placeholder=Anmerkung
 
            |cargo table=ARCHIUM_TABLE_hascher_remark
 
            |cargo field=ARCHIUM_PROPERTY_hascher_remark
 
        }}}
 
    {{{end template}}}
 
    <!-- define date of creation input fields -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
 
        {{{field|date_of_creation
 
            |mandatory
 
            |input type=date
 
            |default=now
 
        }}}
 
    {{{end template}}}
 
    <!-- define timeframe input fields -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
 
        {{{field|date_from
 
            |input type=date
 
            |default=now
 
        }}}
 
        {{{field|date_until
 
            |input type=date
 
            |default=now
 
        }}}
 
    {{{end template}}}
 
 
 
    <table style="width:100%" "border: 1px solid black">
 
        <tr>
 
            <th>Datum der Erstellung</th>
 
            <th>Zeitraum</th>
 
        </tr>
 
        <tr>
 
            <td>Testdatum1</td>
 
            <td>Testzeitraum</td>
 
        </tr>
 
    </table>
 
 
 
    <div class="archium-grid-container">
 
        <div class="archium-grid-item">
 
            {{{for template|ARCHIUM_TEMPLATE_hascher_signature|multiple}}}
 
            {{{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">
 
            {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
 
            {{{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: 1 / span 2;">
 
            {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
 
        {{{field|description
 
            |input type=text 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">4</div>
 
      </div>
 
 
 
      <div class="archium-grid-container2">
 
        <div class="archium-grid-item">
 
            {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
 
            {{{field|date_of_creation
 
                |mandatory
 
                |input type=date
 
                |default=now
 
            }}}
 
        {{{end template}}}
 
        </div>
 
        <div class="archium-grid-item">2</div>
 
        <div class="archium-grid-item">3</div>
 
        <div class="archium-grid-item">4</div>
 
      </div>
 
 
 
</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>
 
<nowiki/>
 

Version vom 5. März 2020, 16:19 Uhr