Formular:ARCHIUM FORM hascher object: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
Zeile 10: Zeile 10:
 
<!--  -->
 
<!--  -->
 
<includeonly>
 
<includeonly>
−
    <!-- MAGIC WORDS -->
+
<!-- MAGIC WORDS -->
−
    __NOEDITSECTION__
+
__NOEDITSECTION__
−
    __NOTOC__
+
__NOTOC__
−
    <!--  -->
+
<!--  -->
−
    <!-- 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=object|hidden}}}
+
    {{{field|type|mandatory|default=object|hidden}}}
−
    {{{end template}}}
+
{{{end template}}}
−
    <!--  -->
+
<!--  -->
−
    <!-- DEFINE FORM FIELDS -->
+
<!-- DEFINE FORM FIELDS -->
−
    <!-- define signature input field -->
+
<!-- define signature input field -->
−
    {{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}
+
{{{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
 
         {{{field|signature
 
             |mandatory
 
             |mandatory
Zeile 32: Zeile 109:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
−
     <!--  -->
+
     </div>
−
     <!-- define title input field -->
+
     <div class="archium-grid-item">
−
    {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
+
        {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
 
         {{{field|title
 
         {{{field|title
 
             |mandatory
 
             |mandatory
Zeile 44: Zeile 121:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
−
     <!--  -->
+
     </div>
−
     <!-- define description input field -->
+
     <div class="archium-grid-item" style="grid-column: 1 / span 2;">
−
    {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
+
        {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
−
        {{{field|description
+
    {{{field|description
−
            |input type=text with autocomplete
+
        |input type=text with autocomplete
−
            |default={{PAGENAME}}
+
        |default={{PAGENAME}}
−
            |placeholder=Beschreibung
+
        |placeholder=Beschreibung
−
            |cargo table=ARCHIUM_TABLE_hascher_description
+
        |cargo table=ARCHIUM_TABLE_hascher_description
−
            |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
+
        |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
−
    {{{end template}}}
+
{{{end template}}}
−
     <!--  -->
+
     </div>
−
     <!-- define remark input field -->
+
     <div class="archium-grid-item">4</div>
−
     {{{for template|ARCHIUM_TEMPLATE_hascher_remark|label=Anmerkungen(Objekt)}}}
+
     </div>
−
        {{{field|remark
+
 
−
            |input type=text with autocomplete
+
    <div class="archium-grid-container2">
−
            |default={{PAGENAME}}
+
     <div class="archium-grid-item">
−
            |placeholder=Anmerkung
+
        {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
−
            |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
 
         {{{field|date_of_creation
 
             |mandatory
 
             |mandatory
Zeile 73: Zeile 144:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
−
     <!-- define timeframe input fields -->
+
     </div>
−
    {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
+
     <div class="archium-grid-item">2</div>
−
        {{{field|date_from
+
    <div class="archium-grid-item">3</div>
−
            |input type=date
+
    <div class="archium-grid-item">4</div>
−
            |default=now
+
     </div>
−
        }}}
 
−
        {{{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">
+
{{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
−
        <div class="archium-grid-item">
+
{{{field
−
            {{{for template|ARCHIUM_TEMPLATE_hascher_signature|multiple}}}
+
     |date_of_creation
−
            {{{field|signature
+
     |mandatory
−
                |mandatory
+
    |input type=date
−
                |unique
+
    |default=now}}}
−
                |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>
 
−
<div>
 
−
     {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
 
−
     {{{field
 
−
        |date_of_creation
 
−
        |mandatory
 
−
        |input type=date
 
−
        |default=now}}}
 
−
</div>
 
 
</includeonly>
 
</includeonly>
 
<!--  -->
 
<!--  -->

Version vom 6. März 2020, 09:22 Uhr