Vorlage: Person: Unterschied zwischen den Versionen
Aus MAV
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 13: | Zeile 13: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#if:{{{GND}}}|{{#get_web_data:url=https://lobid.org/gnd/{{#explode:{{{GND}}}|;|0}}.json|format=json|use jsonpath|data=GeburtsdatumImportiert=$.dateOfBirth[0], GeburtsortImportiert=$.placeOfBirth[0].label, SterbedatumImportiert=$.dateOfDeath[0], SterbeortImportiert=$.placeOfDeath[0].label}}|}} | </noinclude><includeonly>{{#if:{{{GND|}}}|{{#get_web_data:url=https://lobid.org/gnd/{{#explode:{{{GND|}}}|;|0}}.json|format=json|use jsonpath|data=GeburtsdatumImportiert=$.dateOfBirth[0], GeburtsortImportiert=$.placeOfBirth[0].label, SterbedatumImportiert=$.dateOfDeath[0], SterbeortImportiert=$.placeOfDeath[0].label}}|}} | ||
{{Geburt | |||
|Geographikum={{#if:{{{Geburtsort|}}}|{{{Geburtsort|}}}|{{#iferror:{{#external_value:GeburtsortImportiert}}|Geburtsort nicht bekannt oder nicht vergeben|{{#external_value:GeburtsortImportiert}}}}}} | |||
|Datum={{#if:{{{Geburtsdatum|}}}|{{{Geburtsdatum|}}}|{{#iferror:{{#external_value:GeburtsdatumImportiert}}|Geburtsdatum nicht bekannt oder nicht vergeben|{{#external_value:GeburtsdatumImportiert}}}}}} | |||
}} | |||
{{Tod | |||
|Geographikum={{#if:{{{Sterbeort|}}}|{{{Sterbeort|}}}|{{#iferror:{{#external_value:SterbeortImportiert}}|Sterbeort nicht bekannt oder nicht vergeben|{{#external_value:SterbeortImportiert}}}}}} | |||
|Datum={{#if:{{{Sterbedatum|}}}|{{{Sterbedatum|}}}|{{#iferror:{{#external_value:SterbedatumImportiert}}|Sterbedatum nicht bekannt oder nicht vergeben|{{#external_value:SterbedatumImportiert}}}}}} | |||
}} | |||
= Grunddaten = | = Grunddaten = | ||
{| class="wikitable" | {| class="wikitable" | ||
| Zeile 19: | Zeile 27: | ||
|- | |- | ||
|'''GND-Nummer(n)''' || {{#if:{{{GND|}}}|{{#arraymap:{{{GND|}}}|;|x|[https://d-nb.info/gnd/x x] ([https://beacon.findbuch.de/seealso/pnd-aks?format=sources&id=x AKS])[[GND::x| ]]}}| Keine GND-Nummer bekannt oder vergeben}} | |'''GND-Nummer(n)''' || {{#if:{{{GND|}}}|{{#arraymap:{{{GND|}}}|;|x|[https://d-nb.info/gnd/x x] ([https://beacon.findbuch.de/seealso/pnd-aks?format=sources&id=x AKS])[[GND::x| ]]}}| Keine GND-Nummer bekannt oder vergeben}} | ||
|- | |||
| '''Geburtsdatum''' || {{#ask:[[Kategorie:Geburt]][[Person::{{SUPPAGENAME}}]]|?Datum=|mainlabel=-|format=plainlist}} | |||
|- | |||
| '''Geburtsort''' || {{#ask:[[Kategorie:Geburt]][[Person::{{SUPPAGENAME}}]]|?Geographikum=|mainlabel=-|format=plainlist}} | |||
|- | |||
| '''Sterbedatum''' || {{#ask:[[Kategorie:Tod]][[Person::{{SUPPAGENAME}}]]|?Datum=|mainlabel=-|format=plainlist}} | |||
|- | |||
| '''Sterbeort''' || {{#ask:[[Kategorie:Tod]][[Person::{{SUPPAGENAME}}]]|?Geographikum=|mainlabel=-|format=plainlist}} | |||
|- | |- | ||
| '''Stand''' || {{#if:{{{Stand|}}}|{{#arraymap:{{{Stand|}}}|;|x|[[{{{Stand}}}::x]]}}|}} | | '''Stand''' || {{#if:{{{Stand|}}}|{{#arraymap:{{{Stand|}}}|;|x|[[{{{Stand}}}::x]]}}|}} | ||
Version vom 21. Juni 2022, 14:10 Uhr
{{Person
|GND=
|Geburtsdatum=
|Geburtsort=
|Sterbedatum=
|Sterbeort=
|Stand=
|Literatur=
|Links=
|Hat Kind=
}}