THIS IS ONLY A TESTWIKI! LH, MW 1.39.12, PHP 8.2, SMW 5.1

Formular:Person: Unterschied zwischen den Versionen

Aus Test
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 21: Zeile 21:
{{{for template|Person|label=}}}
{{{for template|Person|label=}}}
{| class="table table-condensed table-hover"
{| class="table table-condensed table-hover"
|Entwurf: {{#info:Als Entwurf kennzeichnen. Nach Fertigstellung nicht vergessen, den Entwurfsstatus zu entfernen.}}
{{{field|Entwurf|input type=checkbox}}}
|-
|Personenname: {{#info:Nachname, Vorname(n)}}
|Personenname: {{#info:Nachname, Vorname(n)}}
{{{field|Personenname|input type=text|default={{#explode:{{PAGENAME}}| |-1}}, {{#explode:{{PAGENAME}}| |0}}|class=form-control}}}
{{{field|Personenname|input type=text|default={{#explode:{{PAGENAME}}| |-1}}, {{#explode:{{PAGENAME}}| |0}}|class=form-control}}}
Zeile 93: Zeile 90:
|format=JSON
|format=JSON
|data=Qid=id,Description=value
|data=Qid=id,Description=value
}}
}}{{#get_web_data:url=https://www.wikidata.org/w/api.php?action=wbgetclaims&entity={{#external_value:Qid}}&property=P227&format=json
{{#get_web_data:url=https://www.wikidata.org/w/api.php?action=wbgetclaims&entity={{#external_value:Qid}}&property=P227&format=json
|format=JSON
|format=JSON
|data=GND=value
|data=GND=value
}}
}}{{#get_web_data:url=http://lobid.org/gnd/search?q={{urlencode:{{#explode:{{PAGENAME}}|(|0}}}}&filter=%2B(type%3APerson)&format=json
{{#get_web_data:url=http://lobid.org/gnd/search?q={{urlencode:{{#explode:{{PAGENAME}}|(|0}}}}&filter=%2B(type%3APerson)&format=json
|format=JSON
|format=JSON
|data=GND1=gndIdentifier
|data=GND1=gndIdentifier
}}
}}{{#if:{{#show:{{PAGENAME}}|?Geburtsort|link=none}}|{{#get_web_data:url=http://lobid.org/gnd/search?q={{#show:{{PAGENAME}}|?Geburtsort|link=none}}&filter=%2B(type%3APlaceOrGeographicName)&format=json
{{#if:{{#show:{{PAGENAME}}|?Geburtsort|link=none}}|{{#get_web_data:url=http://lobid.org/gnd/search?q={{#show:{{PAGENAME}}|?Geburtsort|link=none}}&filter=%2B(type%3APlaceOrGeographicName)&format=json
|format=JSON
|format=JSON
|data=GNDGeburtsort=gndIdentifier
|data=GNDGeburtsort=gndIdentifier
}} }}
}} }}{{#if:{{#show:{{PAGENAME}}|?Sterbeort|link=none}}|{{#get_web_data:url=http://lobid.org/gnd/search?q={{#show:{{PAGENAME}}|?Sterbeort|link=none}}&filter=%2B(type%3APlaceOrGeographicName)&format=json
{{#if:{{#show:{{PAGENAME}}|?Sterbeort|link=none}}|{{#get_web_data:url=http://lobid.org/gnd/search?q={{#show:{{PAGENAME}}|?Sterbeort|link=none}}&filter=%2B(type%3APlaceOrGeographicName)&format=json
|format=JSON
|format=JSON
|data=GNDSterbeort=gndIdentifier
|data=GNDSterbeort=gndIdentifier
Zeile 189: Zeile 182:
|Bildunterschrift: {{#info:Text, der unterhalb des Bildes angezeigt wird.}}
|Bildunterschrift: {{#info:Text, der unterhalb des Bildes angezeigt wird.}}
{{{field|Bildunterschrift|input type=text|class=form-control}}}
{{{field|Bildunterschrift|input type=text|class=form-control}}}
|}{{{field|von Objekt|hidden|default=Begriff}}}
|}
{{{end template}}}
{{{end template}}}
</div>
</div>
Zeile 309: Zeile 302:
</div>
</div>
<div class="tab-pane fade" id="nav-Haupttext" role="tabpanel" aria-labelledby="nav-Haupttext-tab">
<div class="tab-pane fade" id="nav-Haupttext" role="tabpanel" aria-labelledby="nav-Haupttext-tab">
{{{standard input|free text|rows=25|editor=wikieditor|class=form-control}}}
{{{standard input|free text|editor=visualeditor}}}
</div>
</div>
</div>
</div>

Aktuelle Version vom 18. Mai 2026, 14:19 Uhr