Form:Person: Difference between revisions
From SILVER
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
[[Image:{{PAGENAME}}.png|32px|left]]{{#forminput:form={{PAGENAME}}|autocomplete on category={{PAGENAME}}s|placeholder=Firstname Lastname|class=form-control}} </noinclude><includeonly>__NOTOC__ | [[Image:{{PAGENAME}}.png|32px|left|link={{PAGENAME}}s]]{{#forminput:form={{PAGENAME}}|autocomplete on category={{PAGENAME}}s|placeholder=Firstname Lastname|class=form-control}} </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=}}} | ||
Line 17: | Line 17: | ||
|{{{field|Last name|input type=text|default={{#explode:{{PAGENAME}}| |-1}}|class=form-control}}} | |{{{field|Last name|input type=text|default={{#explode:{{PAGENAME}}| |-1}}|class=form-control}}} | ||
|- | |- | ||
|[[ | |[[Wikidata ID::@@@]] {{#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}}:{{#external_value:Description}}]|No [https://www.wikidata.org/w/index.php?search= Wikidata] entry found...}} | ||
|{{{field| | |{{{field|Wikidata ID|input type=tokens|values={{#external_value:Qid}}|class=form-control}}} | ||
|- | |- | ||
|[[Birth date::@@@]] | |[[Birth date::@@@]] | ||
Line 42: | Line 39: | ||
|{{{field|Death coordinates|input type=leaflet|class=form-control}}} | |{{{field|Death coordinates|input type=leaflet|class=form-control}}} | ||
|- | |- | ||
|[[ | |[[Numismatic keyword::@@@]] | ||
|{{{field|Keyword|input type=tokens|delimiter=;|class=form-control}}} | |{{{field|Keyword|input type=tokens|delimiter=;|class=form-control}}} | ||
|- | |- | ||
Line 65: | Line 62: | ||
</div></div> | </div></div> | ||
</div> | </div> | ||
{{{standard input|watch}}} | {{{standard input|watch}}} | ||
{{{standard input|save|}}} {{{standard input|cancel|class=btn-primary}}} | {{{standard input|save|}}} {{{standard input|cancel|class=btn-primary}}} | ||
</includeonly> | </includeonly> |