Vorlage:ARCHIUM TEMPLATE format ul: Unterschied zwischen den Versionen
Aus Artux
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
which we format with CSS --> | which we format with CSS --> | ||
{{ARCHIUM_HIDE_BEGIN}} | {{ARCHIUM_HIDE_BEGIN}} | ||
<includeonly> | <includeonly> | ||
<!-- query related pages for dropdown --> | |||
{{#vardefine:related_pages| | |||
{{#cargo_query: | |||
tables = | |||
ARCHIUM_TABLE_thorax_signature, | |||
ARCHIUM_TABLE_thorax_title, | |||
ARCHIUM_TABLE_thorax_extent_medium, | |||
ARCHIUM_TABLE_thorax_level_of_description, | |||
ARCHIUM_TABLE_thorax_deposition, | |||
ARCHIUM_TABLE_thorax_signature_old, | |||
ARCHIUM_TABLE_thorax_creator, | |||
ARCHIUM_TABLE_thorax_transferor, | |||
ARCHIUM_TABLE_thorax_editor, | |||
ARCHIUM_TABLE_thorax_history, | |||
ARCHIUM_TABLE_thorax_content_general, | |||
ARCHIUM_TABLE_thorax_content_special, | |||
ARCHIUM_TABLE_thorax_classification, | |||
ARCHIUM_TABLE_thorax_main_group, | |||
ARCHIUM_TABLE_thorax_priority, | |||
ARCHIUM_TABLE_thorax_coverage_status, | |||
ARCHIUM_TABLE_thorax_coverage_level, | |||
ARCHIUM_TABLE_thorax_segregation, | |||
ARCHIUM_TABLE_thorax_rules_of_description, | |||
ARCHIUM_TABLE_thorax_clearance_level, | |||
ARCHIUM_TABLE_thorax_condition, | |||
ARCHIUM_TABLE_thorax_usage_conditions, | |||
ARCHIUM_TABLE_thorax_finding_aids, | |||
ARCHIUM_TABLE_thorax_storage_of_originals, | |||
ARCHIUM_TABLE_thorax_storage_of_copies, | |||
ARCHIUM_TABLE_thorax_related_fonds, | |||
ARCHIUM_TABLE_thorax_link | |||
|join on = ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_title._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_extent_medium._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_level_of_description._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_deposition._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_signature_old._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_creator._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_transferor._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_editor._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_history._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_content_general._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_content_special._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_classification._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_main_group._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_priority._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_coverage_status._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_coverage_level._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_segregation._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_rules_of_description._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_clearance_level._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_condition._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_usage_conditions._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_finding_aids._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_storage_of_originals._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_storage_of_copies._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_related_fonds._pageName, | |||
ARCHIUM_TABLE_thorax_signature._pageName = ARCHIUM_TABLE_thorax_link._pageName | |||
|fields = ARCHIUM_TABLE_thorax_signature._pageName | |||
|default = keine weiteren Ergebnisse | |||
|where = CAST("ARCHIUM_PROPERTY_thorax_title" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_extent_medium" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_deposition" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_level_of_description" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_signature_old" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_creator" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_transferor" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_editor" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_history" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_content_general" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_content_special" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_classification" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_main_group" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_priority" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_coverage_status" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_coverage_level" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_segregation" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_rules_of_description" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_clearance_level" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_condition" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_usage_conditions" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_finding_aids" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_storage_of_originals" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_storage_of_copies" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_related_fonds" as varchar) = '{{{1}}}' | |||
OR CAST("ARCHIUM_PROPERTY_thorax_link" as varchar) = '{{{1}}}' | |||
|group by = ARCHIUM_TABLE_thorax_signature._pageName,ARCHIUM_TABLE_thorax_signature._pageID | |||
|format = ul | |||
}} | }} | ||
}} | |||
{{ARCHIUM_HIDE_END}} | {{ARCHIUM_HIDE_END}} | ||
<!-- check if passed parameter is an existing wikipage, if yes make it a wikilink --> | |||
{{#ifexist: {{{1}}} | |||
|<div class="archium-ul">{{ARCHIUM TEMPLATE filter db2text|[[{{{1}}}]]}}<div class = "dropdown-content"><p>Verwandte Einträge:</p>{{#var:related_pages}}</div></div> | |||
|<div class="archium-ul">{{ARCHIUM TEMPLATE filter db2text|{{{1}}}}}<div class = "dropdown-content"><p>Verwandte Einträge:</p>{{#var:related_pages}}</div></div> | |||
}} | |||
</includeonly><noinclude> | </includeonly> | ||
<noinclude> | |||
<!-- CALL HOOKS --> | |||
{{ARCHIUM_TEMPLATE_hook|ARCHIUM_thorax}} | |||
<!-- 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> | </noinclude> |
Aktuelle Version vom 12. Februar 2025, 15:05 Uhr