Form:Person: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:
<div class="panel panel-default mw-collapsible"><div class="panel-heading"><h3 class="panel-title ">{{PAGENAME}}</h3></div>
<div class="panel panel-default mw-collapsible"><div class="panel-heading"><h3 class="panel-title ">{{PAGENAME}}</h3></div>
<div class="panel-body mw-collapsible-content">
<div class="panel-body mw-collapsible-content">
{{#get_web_data:url=https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles={{PAGENAME}}&props=descriptions&languages=en&format=json
{{#get_web_data:url=https://www.wikidata.org/w/api.php?action=wbgetentities&sites=frwiki%7Cenwiki%7Cdewiki&titles={{PAGENAME}}&props=descriptions&languages=en&format=json
|format=JSON
|format=JSON
|data=Qid=id,Description=value
|data=Qid=id,Description=value
Line 20: Line 20:
|{{{field|Also known as|input type=text|delimiter=;|class=form-control}}}
|{{{field|Also known as|input type=text|delimiter=;|class=form-control}}}
|-
|-
|[[Wikidata::@@@]] {{#info:Wikidata ID}}  
|[[WikidataID::@@@]] {{#info:Wikidata ID. If a Wikidata ID is found, the description is displayed and you can click in the field to select the "Q"-Number of Wikidata. Otherwise leave blank or search for a Q-Number in Wikidata manually.}}  
{{#if:{{#external_value:Qid}}|[https://www.wikidata.org/wiki/{{#external_value:Qid}} {{#external_value:Description}}]|No [https://www.wikidata.org/w/index.php?search= Wikidata] entry found...}}
{{#if:{{#external_value:Qid}}|[https://www.wikidata.org/wiki/{{#external_value:Qid}} {{#external_value:Qid}}:{{#external_value:Description}}]|No [https://www.wikidata.org/w/index.php?search= Wikidata] entry found...}}
|{{{field|Wikidata|input type=text|default={{#external_value:Qid}}|class=form-control}}}
|{{{field|WikidataID|input type=tokens|values={{#external_value:Qid}}|class=form-control}}}
|-
|-
|[[Birth date::@@@]]
|[[Birth date::@@@]]
Line 50: Line 50:
|[[Further images::@@@]]  {{#info:Select already uploaded images here.}}
|[[Further images::@@@]]  {{#info:Select already uploaded images here.}}
|{{{field|Further images|input type=tokens|delimiter=;|values from namespace=File|class=form-control}}}
|{{{field|Further images|input type=tokens|delimiter=;|values from namespace=File|class=form-control}}}
{{{field|Images|holds template}}}
|}
|}
{{{end template}}}
{{{for template|Images|multiple|add button text=add image|embed in field=Person[Images]}}}
{| class="table table-hover table-condensed"
|-
|Image: {{#info:Select already uploades image or indicate new image filename.}}
{{{field|Image name|input type=tokens|delimiter=;|values from namespace=File|class=form-control}}}
|-
|Image caption: {{#info:Image caption to be displayed.}}
{{{field|Image caption|input type=text|class=form-control}}}
|}
{{{end template}}}
</div></div>
</div></div>
</div>{{{end template}}}
</div>
<div class="panel panel-default mw-collapsible">
<div class="panel panel-default mw-collapsible">
<div class="panel-heading"><div class="panel-title">Remark{{#info:Please add remarks and indicate the language of the remarks.}}</div></div>
<div class="panel-heading"><div class="panel-title">Remark{{#info:Please add remarks and indicate the language of the remarks.}}</div></div>

Revision as of 13:28, 7 October 2020

Person.png