Formular:ARCHIUM FORM hascher object: Unterschied zwischen den Versionen
Aus Denkmalpflege
(Änderung 389 von SandroSchwarzentrub (Diskussion) rückgängig gemacht.) Markierung: Rückgängigmachung |
|||
| Zeile 1: | Zeile 1: | ||
| − | <!--ARCHIUM_FORM_hascher_object--><!-- | + | <!-- ARCHIUM_FORM_hascher_object --> |
| + | <!-- 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:41 Uhr
