Vorlage: ARCHIUM TEMPLATE thorax display: Unterschied zwischen den Versionen
Aus artux
K (1 Version importiert) |
|||
| (8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<!-- ARCHIUM_TEMPLATE_thorax_display --> | <!-- ARCHIUM_TEMPLATE_thorax_display --> | ||
<!-- Version | <!-- Version 20240418 --> | ||
<!-- This template queries the underlying cargo database | <!-- This template queries the underlying cargo database | ||
| Zeile 130: | Zeile 130: | ||
ARCHIUM_TABLE_thorax_timeframe | ARCHIUM_TABLE_thorax_timeframe | ||
|fields= | |fields= | ||
ARCHIUM_PROPERTY_thorax_date_from = | ARCHIUM_PROPERTY_thorax_date_from = date_from, | ||
ARCHIUM_PROPERTY_thorax_date_until = | ARCHIUM_PROPERTY_thorax_date_until = date_until, | ||
ARCHIUM_PROPERTY_thorax_date_description = date_alt | |||
|default = - | |default = - | ||
|no html | |no html | ||
| Zeile 255: | Zeile 256: | ||
|format = template | |format = template | ||
|template = ARCHIUM_TEMPLATE_format_ul | |template = ARCHIUM_TEMPLATE_format_ul | ||
}} | |||
}} | |||
<!-- query Anmerkungen --> | |||
{{#vardefine:anmerkungen| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_remark | |||
|fields=ARCHIUM_PROPERTY_thorax_remark | |||
|default = - | |||
|no html | |||
|where = "_pageName" = '{{PAGENAME}}' | |||
|format = template | |||
|template = ARCHIUM_TEMPLATE_format_thorax_ul_remark | |||
}} | |||
}} | |||
<!-- query context location --> | |||
{{#vardefine:context_location_frame| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_context_location | |||
|fields=ARCHIUM_PROPERTY_thorax_context_location, | |||
ARCHIUM_PROPERTY_thorax_context_location_alt | |||
|default = - | |||
|no html | |||
|where = "_pageName" = '{{PAGENAME}}' | |||
|format = template | |||
|template = ARCHIUM_TEMPLATE_format_thorax_context | |||
}} | |||
}} | |||
<!-- query context from --> | |||
{{#vardefine:context_from_frame| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_context_from | |||
|fields=ARCHIUM_PROPERTY_thorax_context_from, | |||
ARCHIUM_PROPERTY_thorax_context_from_alt | |||
|default = - | |||
|no html | |||
|where = "_pageName" = '{{PAGENAME}}' | |||
|format = template | |||
|template = ARCHIUM_TEMPLATE_format_thorax_context | |||
}} | |||
}} | |||
<!-- query context to --> | |||
{{#vardefine:context_to_frame| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_context_to | |||
|fields=ARCHIUM_PROPERTY_thorax_context_to, | |||
ARCHIUM_PROPERTY_thorax_context_to_alt | |||
|default = - | |||
|no html | |||
|where = "_pageName" = '{{PAGENAME}}' | |||
|format = template | |||
|template = ARCHIUM_TEMPLATE_format_thorax_context | |||
}} | }} | ||
}} | }} | ||
| Zeile 348: | Zeile 404: | ||
}} | }} | ||
}} | }} | ||
<!-- query clearance level --> | <!-- query clearance level, clearance level string and clearance level code --> | ||
{{ARCHIUM TEMPLATE thorax permissions user}} | |||
{{#vardefine:clearance_level| | {{#vardefine:clearance_level| | ||
{{#cargo_query: | {{#cargo_query: | ||
tables = | tables = | ||
ARCHIUM_TABLE_thorax_clearance_level | ARCHIUM_TABLE_thorax_clearance_level | ||
|fields=ARCHIUM_PROPERTY_thorax_clearance_level | |fields=ARCHIUM_PROPERTY_thorax_clearance_level=clearance | ||
|default = - | |default = - | ||
|no html | |no html | ||
|named args = yes | |||
|where = "_pageName" = '{{PAGENAME}}' | |where = "_pageName" = '{{PAGENAME}}' | ||
|format = template | |format = template | ||
|template = | |template = ARCHIUM_TEMPLATE_format_thorax_clearance | ||
}} | |||
}} | |||
{{#vardefine:clearance_level_string| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_clearance_level | |||
|fields=ARCHIUM_PROPERTY_thorax_clearance_level | |||
|default = 'Administrator' | |||
|no html | |||
|where = "_pageName" = '{{PAGENAME}}' | |||
|format = list | |||
|delemiter = | |||
}} | }} | ||
}} | }} | ||
{{#vardefine:clearance_level_code|{{#var:ARCHIUM_VAR_permission_page_{{#var:clearance_level_string}}}}}} | |||
{{#vardefine:clearance_user_code|{{#var:ARCHIUM_VAR_permission_user_{{#username:AnonymousNoname}}}}}} | |||
<!-- query condition --> | <!-- query condition --> | ||
{{#vardefine:condition| | {{#vardefine:condition| | ||
| Zeile 372: | Zeile 445: | ||
|format = template | |format = template | ||
|template = ARCHIUM_TEMPLATE_format_ul | |template = ARCHIUM_TEMPLATE_format_ul | ||
}} | |||
}} | |||
<!-- query storage --> | |||
{{#vardefine:storage| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_storage=st | |||
|fields= | |||
<!--NULLIF(CONCAT( 'Gebäude: ', st.ARCHIUM_PROPERTY_thorax_gebaeude ), 'Gebäude: ') = gebaeude, | |||
NULLIF(CONCAT( 'Raum: ', st.ARCHIUM_PROPERTY_thorax_raum ), 'Raum: ') = raum, | |||
NULLIF(CONCAT( 'Regal: ', st.ARCHIUM_PROPERTY_thorax_regal ), 'Regal: ') = regal, | |||
NULLIF(CONCAT( 'Fach: ', st.ARCHIUM_PROPERTY_thorax_fach ), 'Fach: ') = fach, | |||
NULLIF(CONCAT( 'Karton: ', st.ARCHIUM_PROPERTY_thorax_karton ), 'Karton: ') = karton--> | |||
ARCHIUM_PROPERTY_thorax_gebaeude = gebaeude, | |||
ARCHIUM_PROPERTY_thorax_raum = raum, | |||
ARCHIUM_PROPERTY_thorax_regal = regal, | |||
ARCHIUM_PROPERTY_thorax_fach = fach, | |||
ARCHIUM_PROPERTY_thorax_karton = karton | |||
|default = - | |||
|no html | |||
|where = "_pageName" = '{{PAGENAME}}' | |||
|format = template | |||
|named args = yes | |||
|template = ARCHIUM_TEMPLATE_format_thorax_storage | |||
}} | }} | ||
}} | }} | ||
| Zeile 635: | Zeile 732: | ||
</div> | </div> | ||
<div class="archium-grid-item" style="grid-column: 1 / span 3;"> | <div class="archium-grid-item" style="grid-column: 1 / span 3;"> | ||
<h4> | <h4>Enthält:</h4> | ||
<p>{{#var:content_general}}</p> | <p>{{#var:content_general}}</p> | ||
</div> | </div> | ||
<div class="archium-grid-item" style="grid-column: 4 / span 3;"> | <div class="archium-grid-item" style="grid-column: 4 / span 3;"> | ||
<h4> | <h4>Darin:</h4> | ||
<p>{{#var:content_special}}</p> | <p>{{#var:content_special}}</p> | ||
</div> | |||
<div class="archium-grid-item" style="grid-column: 1 / span 6;"> | |||
<h4>Anmerkungen:</h4> | |||
<p>{{#var:anmerkungen}}</p> | |||
</div> | </div> | ||
<div class="archium-grid-item" style="grid-column: 1 / span 2;"> | <div class="archium-grid-item" style="grid-column: 1 / span 2;"> | ||
| Zeile 653: | Zeile 754: | ||
<h4>Priorität:</h4> | <h4>Priorität:</h4> | ||
<p>{{#var:priority}}</p> | <p>{{#var:priority}}</p> | ||
</div> | |||
</div> | |||
<!-- CONTEXT-CONTAINER --> | |||
<div class="archium-grid-container-base archium-grid-container-context"> | |||
<div style = "grid-column: 1 / span 6;"> | |||
<h3><i class="fas fa-globe"></i> Kontext</h3> | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 1 / span 2;"> | |||
<h4>Ausstellungsort:</h4> | |||
<p>{{#var:context_location_frame}}</p> | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 3 / span 2;"> | |||
<h4>Absender:</h4> | |||
<p>{{#var:context_from_frame}}</p> | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 5 / span 2;"> | |||
<h4>Empfänger:</h4> | |||
<p>{{#var:context_to_frame}}</p> | |||
</div> | </div> | ||
</div> | </div> | ||
| Zeile 697: | Zeile 816: | ||
<h4>Verzeichnis und Transkriptionsregeln:</h4> | <h4>Verzeichnis und Transkriptionsregeln:</h4> | ||
<p>{{#var:rules_of_description}}</p> | <p>{{#var:rules_of_description}}</p> | ||
</div> | |||
</div> | |||
<!-- STORAGE-CONTAINER --> | |||
<div class="archium-grid-container-base archium-grid-container-storage"> | |||
<div style = "grid-column: 1 / span 3;"> | |||
<h3><i class="fas fa-cubes"></i> Lagerung</h3> | |||
</div> | |||
<div class="archium-grid-item" style="grid-column: 1 / span 6;"> | |||
<h4>Lagerung</h4> | |||
<p>{{#var:storage}}</p> | |||
</div> | </div> | ||
</div> | </div> | ||
Aktuelle Version vom 18. April 2023, 15:16 Uhr
<link href="../fontawesome-free-5.12.1-web/css/all.css" rel="stylesheet">
