|
|
(62 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| {{#forminput:form={{PAGENAME}}|autocomplete on category={{PAGENAME}}s|placeholder=Fistname Lastname|class=form-control}} | | [[Image:{{PAGENAME}}.png|32px|left]]{{#forminput:form={{PAGENAME}}|autocomplete on category={{PAGENAME}}s|placeholder=Firstname Lastname|class=form-control}} </noinclude><includeonly>__NOTOC__ |
| </noinclude><includeonly>__NOTOC__ | |
| {{{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-info 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 |
| {| class="table table-hover table-condensed" | | |format=JSON |
| | |data=Qid=id,Description=value |
| | }} |
| | {| class="table table-hover table-sm" |
| |- | | |- |
| |[[First name::@@@|First name(s)]] | | |[[First name::@@@|First name(s)]] |
| |{{{field|First name|input type=text|default={{#explode:{{PAGENAME}}| |0}}|class=form-control}}} | | |{{{field|First name|input type=text with autocomplete|default={{#explode:{{PAGENAME}}| |0}}|class=form-control}}} |
| |- | | |- |
| |[[Last name::@@@]] | | |[[Last name::@@@]] |
| |{{{field|Last name|input type=text|default={{#explode:{{PAGENAME}}| |0}}|class=form-control}}} | | |{{{field|Last name|input type=text|default={{#explode:{{PAGENAME}}| |-1}}|class=form-control}}} |
| | |- |
| | |[[Also known as::@@@]] {{#info:Use ";" as separator for multiple entries.}} |
| | |{{{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::@@@]] |
| |{{{field|Birth date|input type=date|class=form-control}}} | | |{{{field|Birth date|input type=date|class=form-control}}} |
| | |- |
| | |[[Birth place::@@@]] {{#info:Please use English Placenames}} |
| | |{{{field|Birth place|input type=tokens|delimiter=;|class=form-control}}} |
| | |- |
| | |[[Birth coordinates::@@@]] {{#info:Only needed if automatic geocoding fails.}} |
| | |{{{field|Birth coordinates|input type=leaflet|class=form-control}}} |
| |- | | |- |
| |[[Death date::@@@]] | | |[[Death date::@@@]] |
| |{{{field|Death date|input type=date|class=form-control}}} | | |{{{field|Death date|input type=date|class=form-control}}} |
| | |- |
| | |[[Death place::@@@]] {{#info:Please use English Placenames}} |
| | |{{{field|Death place|input type=tokens|delimiter=;|class=form-control}}} |
| | |- |
| | |[[Death coordinates::@@@]] {{#info:Only needed if automatic geocoding fails.}} |
| | |{{{field|Death coordinates|input type=leaflet|class=form-control}}} |
| | |- |
| | |[[Keyword::@@@]] |
| | |{{{field|Keyword|input type=tokens|delimiter=;|class=form-control}}} |
| | |- |
| | |[[Link::@@@]] |
| | |{{{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>{{{end template}}} | | </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::@@@]] |
Line 33: |
Line 75: |
| |- | | |- |
| |[[Language code::@@@]] | | |[[Language code::@@@]] |
| {{{field|Language|input type=tokens|values=en,fr,de,it,la|default=en|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> |