Person
From Fina Wiki
No edit summary |
No edit summary |
||
| (41 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
{{{info||create title=Form|edit title=Form}}} | {{{info||create title=Form|edit title=Form}}} | ||
{{{for template|Person|label=}}} | {{{for template|Person|label=}}} | ||
<div class=" | <div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h3 class="panel-title ">{{PAGENAME}}</h3></div> | ||
<div class=" | <div class="card-body mw-collapsible-content"> | ||
{{#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 | |||
{| class="table table-hover table- | |format=JSON | ||
|data=Qid=id,Description=value | |||
}} | |||
{| class="table table-hover table-sm" | |||
|- | |- | ||
|[[First name::@@@|First name(s)]] | |[[First name::@@@|First name(s)]] | ||
| Line 16: | Line 19: | ||
|[[Also known as::@@@]] {{#info:Use ";" as separator for multiple entries.}} | |[[Also known as::@@@]] {{#info:Use ";" as separator for multiple entries.}} | ||
|{{{field|Also known as|input type=text|delimiter=;|class=form-control}}} | |{{{field|Also known as|input type=text|delimiter=;|class=form-control}}} | ||
|- | |||
|[[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:Qid}}:{{#if:{{#external_value:Description}}|{{#external_value:Description}}}}]|No [https://www.wikidata.org/w/index.php?search= Wikidata] entry found...}} | |||
|{{{field|WikidataID|input type=tokens|values={{#external_value:Qid}}|class=form-control}}} | |||
|- | |- | ||
|[[Birth date::@@@]] | |[[Birth date::@@@]] | ||
| Line 40: | Line 47: | ||
|[[Link::@@@]] | |[[Link::@@@]] | ||
|{{{field|Link|input type=text|class=form-control}}} | |{{{field|Link|input type=text|class=form-control}}} | ||
|- | |||
|[[Further images::@@@]] {{#info:Select already uploaded images here.}} | |||
|{{{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-sm" | |||
|- | |||
|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> | </div> | ||
<div class=" | <div class="card"><div class="mw-collapsible"> | ||
<div class=" | <div class="card-header bg-light"><div class="panel-title">Remark{{#info:Please add remarks and indicate the language of the remarks.}}</div></div> | ||
<div class=" | <div class="card-body mw-collapsible-content"> | ||
{{{for template|Remark|multiple|add button text=add remark}}} | {{{for template|Remark|multiple|add button text=add remark}}} | ||
{| class="table table-hover table- | {| class="table table-hover table-sm" | ||
|- | |- | ||
|[[Remarks::@@@]] | |[[Remarks::@@@]] | ||
| Line 54: | Line 76: | ||
|[[Language code::@@@]] | |[[Language code::@@@]] | ||
{{{field|Language|input type=tokens|values=en,fr,de,it,la|default=fr|class=form-control}}} | {{{field|Language|input type=tokens|values=en,fr,de,it,la|default=fr|class=form-control}}} | ||
|}{{{end template}}} | |}{{{end template}}} | ||
</div></div> | </div></div> | ||