Person
From Fina Wiki
m (Text replacement - "<div class="panel-body mw-collapsible-content">" to "<div class="card-body mw-collapsible-content">") |
No edit summary |
||
| (3 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="card"><div class="mw-collapsible"><div class=" | <div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h3 class="panel-title ">{{PAGENAME}}</h3></div> | ||
<div class="card-body mw-collapsible-content"> | <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 | {{#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 | ||
| Line 9: | Line 9: | ||
|data=Qid=id,Description=value | |data=Qid=id,Description=value | ||
}} | }} | ||
{| class="table table-hover table- | {| class="table table-hover table-sm" | ||
|- | |- | ||
|[[First name::@@@|First name(s)]] | |[[First name::@@@|First name(s)]] | ||
| Line 21: | Line 21: | ||
|- | |- | ||
|[[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.}} | |[[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}}:{{#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}}:{{#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}}} | |{{{field|WikidataID|input type=tokens|values={{#external_value:Qid}}|class=form-control}}} | ||
|- | |- | ||
| Line 54: | Line 54: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|Images|multiple|add button text=add image|embed in field=Person[Images]}}} | {{{for template|Images|multiple|add button text=add image|embed in field=Person[Images]}}} | ||
{| class="table table-hover table- | {| class="table table-hover table-sm" | ||
|- | |- | ||
|Image: {{#info:Select already uploades image or indicate new image filename.}} | |Image: {{#info:Select already uploades image or indicate new image filename.}} | ||
| Line 66: | Line 66: | ||
</div> | </div> | ||
<div class="card"><div class="mw-collapsible"> | <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="card-body mw-collapsible-content"> | <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::@@@]] | ||