Vorlage:Datensatz Infobox: Unterschied zwischen den Versionen

Aus Juridex OpenProject
Vorlage für Infobox "Datensatz" erstellt
 
K Korrektur (1)
Zeile 4: Zeile 4:
! colspan="2" style="text-align: center; font-size: 1.25em; font-weight: bold; background-color: #2a4b8d; color: white; padding: 5px;" | {{{Titel|{{PAGENAME}}}}}
! colspan="2" style="text-align: center; font-size: 1.25em; font-weight: bold; background-color: #2a4b8d; color: white; padding: 5px;" | {{{Titel|{{PAGENAME}}}}}
|-
|-
{{#if:{{{Bild|}}}|
| colspan="2" style="text-align: center; padding: 5px; background: white;" | {{#if:{{{Bild|}}}|[[Datei:{{{Bild}}}|250px|center]]|''Kein Bild verfügbar''}}{{#if:{{{Bildbeschreibung|}}}|<br /><small>{{{Bildbeschreibung}}}</small>}}
{{!}} colspan="2" style="text-align: center; padding: 5px; background: white;" {{!}} [[Datei:{{{Bild}}}|250px|center]]
{{#if:{{{Bildbeschreibung|}}}| <br /><small>{{{Bildbeschreibung}}}</small> }}
}}
|-
|-
! style="text-align: left; background: #eaecf0; padding: 3px;" | Region
! style="text-align: left; background: #eaecf0; padding: 3px; border-bottom: 1px solid #fff;" | Region
| style="padding: 3px;" | {{{Region|Unbekannt}}}
| style="padding: 3px; border-bottom: 1px solid #eaecf0;" | {{{Region|Unbekannt}}}
|-
|-
! style="text-align: left; background: #eaecf0; padding: 3px;" | Datenquelle
! style="text-align: left; background: #eaecf0; padding: 3px; border-bottom: 1px solid #fff;" | Datenquelle
| style="padding: 3px;" | {{{Quelle|Unbekannt}}}
| style="padding: 3px; border-bottom: 1px solid #eaecf0;" | {{{Quelle|Unbekannt}}}
|-
|-
! style="text-align: left; background: #eaecf0; padding: 3px;" | Zeitraum
! style="text-align: left; background: #eaecf0; padding: 3px; border-bottom: 1px solid #fff;" | Zeitraum
| style="padding: 3px;" | {{{Zeitraum|Keine Angabe}}}
| style="padding: 3px; border-bottom: 1px solid #eaecf0;" | {{{Zeitraum|Keine Angabe}}}
|-
|-
! style="text-align: left; background: #eaecf0; padding: 3px;" | Aktualität
! style="text-align: left; background: #eaecf0; padding: 3px; border-bottom: 1px solid #fff;" | Aktualität
| style="padding: 3px;" | {{{Stand|Unbekannt}}}
| style="padding: 3px; border-bottom: 1px solid #eaecf0;" | {{{Stand|Unbekannt}}}
|-
|-
! style="text-align: left; background: #eaecf0; padding: 3px;" | Format
! style="text-align: left; background: #eaecf0; padding: 3px; border-bottom: 1px solid #fff;" | Format
| style="padding: 3px;" | {{{Format|CSV / JSON}}}
| style="padding: 3px; border-bottom: 1px solid #eaecf0;" | {{{Format|CSV / JSON}}}
|-
|-
! style="text-align: left; background: #eaecf0; padding: 3px;" | Lizenz
! style="text-align: left; background: #eaecf0; padding: 3px; border-bottom: 1px solid #fff;" | Lizenz
| style="padding: 3px;" | {{{Lizenz|Open Data}}}
| style="padding: 3px; border-bottom: 1px solid #eaecf0;" | {{{Lizenz|Open Data}}}
|-
|-
! colspan="2" style="text-align: center; background-color: #2a4b8d; color: white; padding: 3px;" | [{{{Download_URL|#}}} Download Datensatz]
! colspan="2" style="text-align: center; background-color: #2a4b8d; padding: 8px;" | [{{{Download_URL|#}}} <span style="color: white; font-weight: bold;">📥 Download Datensatz</span>]
|}
|}
</includeonly>
</includeonly>
Zeile 33: Zeile 30:
<noinclude>
<noinclude>
== Dokumentation ==
== Dokumentation ==
Diese Vorlage dient zur Anzeige einer Infobox für Datensätze im [[Juridex:Datenkatalog|Datenkatalog]].
Diese Vorlage dient zur Anzeige einer Infobox für Datensätze.


=== Verwendung ===
=== Verwendung ===
Kopiere den folgenden Code an den Anfang einer Datenseite:
<pre>
<pre>
{{Datensatz_Infobox
{{Datensatz_Infobox

Version vom 23. April 2026, 08:55 Uhr


Dokumentation

Diese Vorlage dient zur Anzeige einer Infobox für Datensätze.

Verwendung

{{Datensatz_Infobox
| Titel = 
| Bild = 
| Bildbeschreibung = 
| Region = 
| Quelle = 
| Zeitraum = 
| Stand = 
| Format = 
| Lizenz = 
| Download_URL = 
}}