Formular:ARCHIUM FORM hascher object: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
Zeile 37: Zeile 37:
 
     <!-- define description input field -->
 
     <!-- define description input field -->
 
     {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
 
     {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
         {{{field|description|default={{PAGENAME}}|placeholder=Beschreibung}}}
+
         {{{field|description|default={{PAGENAME}}|placeholder=Beschreibung
 +
            |cargo table=ARCHIUM_TABLE_hascher_description
 +
            |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
 
     {{{end template}}}
 
     {{{end template}}}
 
     <!--  -->
 
     <!--  -->
Zeile 46: Zeile 48:
 
             |cargo field=ARCHIUM_PROPERTY_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|default=now
 +
            |cargo table=ARCHIUM_TABLE_hascher_date_of_creation
 +
            |cargo field=ARCHIUM_PROPERTY_hascher_date_of_creation}}}
 
     {{{end template}}}
 
     {{{end template}}}
 
     <!-- define timeframe input fields -->
 
     <!-- define timeframe input fields -->
 
     {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
 
     {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
         {{{field|timeframe|input type = date|default={{PAGENAME}}|placeholder=Anmerkung}}}
+
         {{{field|timeframe|input type = date|default=now}}}
         {{{field|date_string|default={{PAGENAME}}|placeholder=Anmerkung}}}
+
         {{{field|date_string|default=now
         {{{field|date_from|input type = date|default=now}}}
+
            |cargo table=ARCHIUM_TABLE_hascher_timeframe
         {{{field|date_until|input type = date|default=now}}}
+
            |cargo field=ARCHIUM_PROPERTY_hascher_date_string}}}
 +
         {{{field|date_from|default=now
 +
            |cargo table=ARCHIUM_TABLE_hascher_timeframe
 +
            |cargo field=ARCHIUM_PROPERTY_hascher_date_from
 +
        }}}
 +
         {{{field|date_until|default=now
 +
            |cargo table=ARCHIUM_TABLE_hascher_timeframe
 +
            |cargo field=ARCHIUM_PROPERTY_date_until
 +
        }}}
 
     {{{end template}}}
 
     {{{end template}}}
 
</includeonly>
 
</includeonly>

Version vom 5. März 2020, 09:20 Uhr