|
|
(10 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="panel panel-default mw-collapsible"><div class="panel-heading"><h3 class="panel-title ">{{PAGENAME}}</h3></div> | | <div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h3 class="panel-title ">{{PAGENAME}}</h3></div> |
| <div class="panel-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 |
| |format=JSON | | |format=JSON |
| |data=Qid=id,Description=value | | |data=Qid=id,Description=value |
| }} | | }} |
| {| class="table table-hover table-condensed" | | {| 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 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}}} | | {{{end template}}} |
| {{{for template|Images|multiple|add button text=add image}}} | | {{{for template|Images|multiple|add button text=add image|embed in field=Person[Images]}}} |
| {| class="table table-hover table-condensed" | | {| 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.}} |
| {{{field|Further images|input type=tokens|delimiter=;|values from namespace=File|class=form-control}}} | | {{{field|Image name|input type=tokens|delimiter=;|values from namespace=File|class=form-control}}} |
| |- | | |- |
| |Image caption: {{#info:Image caption to be displayed.}} | | |Image caption: {{#info:Image caption to be displayed.}} |
Line 64: |
Line 65: |
| </div></div> | | </div></div> |
| </div> | | </div> |
| <div class="panel panel-default mw-collapsible"> | | <div class="card"><div class="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="card-header bg-light"><div class="panel-title">Remark{{#info:Please add remarks and indicate the language of the remarks.}}</div></div> |
| <div class="panel-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-condensed" | | {| class="table table-hover table-sm" |
| |- | | |- |
| |[[Remarks::@@@]] | | |[[Remarks::@@@]] |