Formular: ARCHIUM FORM thorax object: Unterschied zwischen den Versionen
Aus artux
Artux1zu2>SandroSchwarzentrub |
Artux1zu2>SandroSchwarzentrub (Änderung 764 von SandroSchwarzentrub (Diskussion) rückgängig gemacht.) |
||
Zeile 1: | Zeile 1: | ||
<!-- | <!-- ARCHIUM_FORM_hascher_object --> | ||
<!-- Version | <!-- Version 20200310 --> | ||
<!-- This | <!-- This is a form definition for OBJECT-type pages. It provides input fields for | ||
signature, title, description, remark. --> | |||
{{ARCHIUM_HIDE_BEGIN}} | {{ARCHIUM_HIDE_BEGIN}} | ||
<noinclude> | |||
{{#forminput:form=ARCHIUM_FORM_hascher_object}} | |||
</noinclude> | |||
<includeonly> | <includeonly> | ||
<!-- MAGIC WORDS --> | |||
__NOEDITSECTION__ | |||
__NOTOC__ | |||
<!-- EMBED QUERY/DISPLAY TEMPLATE --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_display}}} | |||
{{{field|type|mandatory|default=object|hidden}}} | |||
{{{end template}}} | |||
<!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN --> | |||
{{{for template|ARCHIUM_HIDE_BEGIN}}} | |||
{{{end template}}} | |||
<!-- 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}}} | ||
{ | |||
{{ARCHIUM_HIDE_END}} | {{ARCHIUM_HIDE_END}} | ||
<div class="archium-background-Denkmalobjekt"> | |||
<div class="archium- | <h2>Denkmalobjekt</h2> | ||
<!-- DEFINE FORM FIELDS --> | |||
<div class="archium-grid-container-identity"> | |||
<h3> Identifizierung </h3> | |||
<div class="archium-grid-item" style="grid-column: 1"; white-space="normal"> | |||
<h4>Objekttyp:</h4> | |||
<p>{{#var:type}}</p> | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 2"> | |||
<!-- 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}}} | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 3"> | |||
<!-- 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}}} | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 1"> | |||
<!-- 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}}} | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 2 / span 2;"> | |||
<!-- define timeframe input fields --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|multiple|label=Zeiten(Objekt)}}} | |||
von: {{{field|date_from | |||
|input type=date | |||
|default=now | |||
}}} | |||
bis: {{{field|date_until | |||
|input type=date | |||
}}} | |||
{{{end template}}} | |||
</div> | |||
</div> | </div> | ||
<div class="archium-grid-item | <div class="archium-grid-container-provenance"> | ||
<h3>Provenienz</h3> | |||
<div class="archium-grid-item" style="grid-column: 1;"> | |||
<!-- define creator input fields --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_creator|label=Ersteller(Objekt)}}} | |||
{{{field|creator | |||
|mandatory | |||
|input type=combobox | |||
|default=Michael Hascher | |||
}}} | |||
{{{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> | ||
<div class="archium-grid-container-contents"> | |||
<h3>Inhalt</h3> | |||
<div class="archium-grid-item" style="grid-column: 1 / span 2;"> | |||
<!-- define description input field --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}} | |||
< | {{{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: 1 / span 2;"> | |||
<!-- define remark input field --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_remark|multiple|label=Anmerkungen(Objekt)}}} | |||
{{{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> | ||
<div class="archium-grid-container-status"> | |||
<div class="archium-grid- | <h3>Objektstatus</h3> | ||
< | <div class="archium-grid-item" style="grid-column: 1 / span 2;"> | ||
<h4>Anmerkungen:</h4> | |||
<p>{{#var:remark}}</p> | |||
</div> | |||
<div class="archium-grid-item">2</div> | |||
<div class="archium-grid-item">3</div> | |||
<div class="archium-grid-item">4</div> | |||
< | |||
</div> | </div> | ||
<div class="archium-grid-container-attachments"> | |||
<h3>Anhänge</h3> | |||
<div class="archium-grid-item" style="grid-column: 1 / span 2;"> | |||
<h4>Anmerkungen:</h4> | |||
<p>{{#var:remark}}</p> | |||
</div> | |||
<div class="archium-grid-item">2</div> | |||
<div class="archium-grid-item">3</div> | |||
<div class="archium-grid-item">4</div> | |||
</div> | |||
</div> | </div> | ||
<!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN --> | |||
{{{for template|ARCHIUM_HIDE_END}}} | |||
{{{end template}}} | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<!-- CALL HOOKS --> | <!-- CALL HOOKS --> | ||
{{ARCHIUM_TEMPLATE_hook|ARCHIUM_hascher}} | {{ARCHIUM_TEMPLATE_hook|ARCHIUM_hascher}} | ||
<!-- LICENSE NOTE --> | <!-- LICENSE NOTE --> | ||
<!-- https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data | <!-- 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> | </noinclude> |
Version vom 12. März 2020, 11:35 Uhr