Person

From SILVER
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
Template formatting {{PAGENAME}}s.
 
Template formatting {{PAGENAME}}s.
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-default">[[Persons]]</div><br/>
+
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-default">[[Authors]]</div><br/>{{#if:{{{Birth date|}}}| * {{{Birth date|}}} }} {{{Birth place|}}}{{#if:{{{Death date|}}}|, † {{{Death date|}}} }} {{{Death place|}}}{{#if:{{{Keyword|}}}|, {{{Keyword|}}} }}
<div class="panel panel-default mw-collapsible">
 
<div class="panel-heading"><div class="panel-title ">Correspondence of {{PAGENAME}}</div></div>
 
<div class="panel-body mw-collapsible-content">
 
{{#mermaid:graph LR; {{#ask: [[Category:Correspondence]] [[Recipient::{{PAGENAME}}]] |mainlabel=|?#=Correspondence||?PageID|?Author|?Recipient|?Correspondence date|?Place|sort=Correspondence date|format=plainlist|headers=hide|link=none|searchlabel=|template=GraphCorrespondence|named args=yes|import-annotation=true|limit=1000}}  
 
{{#ask: [[Category:Correspondence]] [[Author::{{PAGENAME}}]] |mainlabel=|?#=Correspondence|?PageID|?Author|?Recipient|?Correspondence date|?Place|sort=Correspondence date|format=plainlist|headers=hide|link=none|searchlabel=|template=GraphCorrespondence|named args=yes|import-annotation=true|limit=1000}} }}
 
</div></div>
 
 
<div class=row>
 
<div class=row>
 
<div class="col-md-5">
 
<div class="col-md-5">
<div class="panel panel-default mw-collapsible">
+
<div class="card"><div class="mw-collapsible">
<div class="panel-heading"><div class="panel-title ">{{PAGENAME}}</div></div>
+
<div class="card-header bg-light"><h5>{{PAGENAME}}</h5></div>
<div class="panel-body mw-collapsible-content">
+
<div class="card-body mw-collapsible-content">
 
{| class="table table-hover table-condensed"
 
{| class="table table-hover table-condensed"
 
|[[ID::@@@]]
 
|[[ID::@@@]]
Line 23: Line 17:
 
|[[Last name::{{{Last name|}}}]]
 
|[[Last name::{{{Last name|}}}]]
 
|-
 
|-
|[[Also known as::@@@]]
+
|[[Wikidata ID::@@@]]
|{{#arraymap:{{{Also known as|}}}|;|@@@@|[[Also known as::@@@@]]}}
+
|[[Wikidata ID::{{{Wikidata ID|}}}]]
|-
 
|[[WikidataID::@@@]]
 
|[[WikidataID::{{{WikidataID|}}}]]
 
 
|-
 
|-
 
|[[Birth date::@@@]]
 
|[[Birth date::@@@]]
Line 41: Line 32:
 
|[[Death place::{{{Death place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Death coordinates}}</sup>{{#set:Death coordinates={{#if:{{{Death coordinates|}}}|{{{Death coordinates|}}}|{{#if:{{{Death place|}}}|{{#geocode:{{{Death place|}}} }} }} }} }}
 
|[[Death place::{{{Death place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Death coordinates}}</sup>{{#set:Death coordinates={{#if:{{{Death coordinates|}}}|{{{Death coordinates|}}}|{{#if:{{{Death place|}}}|{{#geocode:{{{Death place|}}} }} }} }} }}
 
|-
 
|-
|[[Keyword::@@@]]
+
|[[Numismatic keyword::@@@]]
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::{{lc:@@@@}}]]}}
+
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Numismatic keyword::{{lc:@@@@}}]]}}
 
|-
 
|-
 
|[[Link::@@@]]
 
|[[Link::@@@]]
Line 53: Line 44:
 
|{{#arraymap:{{{Further images|}}}|;|@@@@|{{#set:Further images={{ns:File}}:@@@@}}[[:{{ns:File}}:@@@@]]}}
 
|{{#arraymap:{{{Further images|}}}|;|@@@@|{{#set:Further images={{ns:File}}:@@@@}}[[:{{ns:File}}:@@@@]]}}
 
|}</div></div>
 
|}</div></div>
 
+
</div>
<div class="panel panel-default"><div class="panel-heading"><div class="panel-title"><span class="fa fa-download">&nbsp;</span>Download</div></div>
+
<div class="card"><div class="card-header bg-light"><span class="fa fa-download">&nbsp;</span>Download</div>
<div class="panel-body mw-collapsible-content">
+
<div class="card-body mw-collapsible-content">
 
<span class="glyphicon glyphicon-save-file" title="CSV (Comma Separated Value)"></span>&nbsp;{{#ask:[[{{FULLPAGENAME}}]]
 
<span class="glyphicon glyphicon-save-file" title="CSV (Comma Separated Value)"></span>&nbsp;{{#ask:[[{{FULLPAGENAME}}]]
 
|mainlabel=-
 
|mainlabel=-
Line 74: Line 65:
 
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=]]&nbsp;[[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
 
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=]]&nbsp;[[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
 
</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 ">[[Further images::@@@]]</div></div>
+
<div class="card-header bg-light"><h5>[[Further images::@@@]]</h5></div>
<div class="panel-body mw-collapsible-content">
+
<div class="card-body mw-collapsible-content">
 
{{{Images|}}}
 
{{{Images|}}}
 
</div></div>
 
</div></div>
 
+
</div></div>
</div>
 
 
<div class="col-md-7">
 
<div class="col-md-7">
<div class="panel panel-default mw-collapsible {{#if:{{{Birth place|}}}||mw-collapsed}}">
+
<div class="card"><div class="mw-collapsible {{#if:{{{Birth place|}}}||mw-collapsed}}">
<div class="panel-heading"><div class="panel-title ">Map</div></div>
+
<div class="card-header bg-light"><h5>Map</h5></div>
<div class="panel-body mw-collapsible-content">{{#if:{{{Birth place|}}}|
+
<div class="card-body mw-collapsible-content">{{#if:{{{Birth place|}}}|
 
{{#display_map:lines=
 
{{#display_map:lines=
 
   {{#if:{{{Birth coordinates|}}}|{{{Birth coordinates|}}}|{{#if:{{{Birth place|}}}|{{#geocode:{{{Birth place|}}} }} }} }}:{{#if:{{{Death coordinates|}}}|{{{Death coordinates|}}}|{{#if:{{{Death place|}}}|{{#geocode:{{{Death place|}}} }} }} }} ~ {{PAGENAME}} ~born in {{{Birth place|}}}, died in {{{Death place|}}}~red~0.42~5
 
   {{#if:{{{Birth coordinates|}}}|{{{Birth coordinates|}}}|{{#if:{{{Birth place|}}}|{{#geocode:{{{Birth place|}}} }} }} }}:{{#if:{{{Death coordinates|}}}|{{{Death coordinates|}}}|{{#if:{{{Death place|}}}|{{#geocode:{{{Death place|}}} }} }} }} ~ {{PAGENAME}} ~born in {{{Birth place|}}}, died in {{{Death place|}}}~red~0.42~5
Line 91: Line 81:
 
}}
 
}}
 
</div></div>
 
</div></div>
<div class="panel panel-default mw-collapsible">
+
</div>
<div class="panel-heading"><div class="panel-title ">Literature</div></div>
+
<div class="card"><div class="mw-collapsible">
<div class="panel-body mw-collapsible-content">
+
<div class="card-header bg-light"><h5>Literature</h5></div>
 +
<div class="card-body mw-collapsible-content">
 
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]]
 
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]]
 
  |mainlabel=Primary&nbsp;literature
 
  |mainlabel=Primary&nbsp;literature
Line 104: Line 95:
 
  |sort=Literature year
 
  |sort=Literature year
 
}}
 
}}
 +
 
{{#ask:[[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
 
{{#ask:[[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
 
  |mainlabel=Secondary&nbsp;literature
 
  |mainlabel=Secondary&nbsp;literature
Line 115: Line 107:
 
}}
 
}}
 
</div></div>
 
</div></div>
<div class="panel panel-default mw-collapsible">
 
<div class="panel-heading"><div class="panel-title ">Work</div></div>
 
<div class="panel-body mw-collapsible-content">
 
{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence||Correspondence Collections||Diaries]]
 
[[Author::{{PAGENAME}}]] OR
 
[[Category:Annotated Printed Books]] [[Annotator::{{PAGENAME}}]] OR
 
[[Category:Copies or Translations of Printed Books]] [[Translator::{{PAGENAME}}]] OR
 
[[Category:Correspondence]][[Recipient::{{PAGENAME}}]]
 
|mainlabel=Page
 
|?Category
 
|format=table
 
|limit=1000
 
|sort=Correspondence date
 
|class=table table-hover table-condensed sortable
 
|default=Currently no work from this Person is found.
 
}}
 
 
</div></div>
 
</div></div>
<div class="panel panel-default mw-collapsible">
 
<div class="panel-heading"><div class="panel-title ">References</div></div>
 
<div class="panel-body mw-collapsible-content">
 
{{#ask:[[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence||Correspondence Collections||Diaries]][[Associated persons::{{PAGENAME}}]]
 
|mainlabel=Page
 
|?Category
 
|format=table
 
|limit=1000
 
|sort=Correspondence date
 
|class=table table-hover table-condensed sortable
 
|default=Currently this person is nowhere referenced in "[[Associated persons::@@@]]".
 
}}
 
</div></div>
 
<div class="panel panel-default mw-collapsible">
 
<div class="panel-heading"><div class="panel-title ">Keywords</div></div>
 
<div class="panel-body mw-collapsible-content">
 
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]] OR [[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
 
|?Numismatic keyword
 
|format=tagcloud
 
|template=tagcloud
 
|userparam={{PAGENAME}}
 
|mincount=1
 
|limit=1000
 
|default=
 
|intro=<h3>Literature</h3>
 
}}
 
{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence||Correspondence Collections||Diaries]]
 
[[Author::{{PAGENAME}}]] OR
 
[[Category:Annotated Printed Books]] [[Annotator::{{PAGENAME}}]] OR
 
[[Category:Copies or Translations of Printed Books]] [[Translator::{{PAGENAME}}]] OR
 
[[Category:Correspondence]][[Recipient::{{PAGENAME}}]]
 
|?Numismatic keyword
 
|format=tagcloud
 
|template=tagcloud
 
|userparam={{PAGENAME}}
 
|mincount=1
 
|limit=1000
 
|default=
 
|intro=<h3>Work</h3>
 
}}
 
{{#ask:[[Associated persons::{{PAGENAME}}]]
 
|?Numismatic keyword
 
|format=tagcloud
 
|template=tagcloud
 
|userparam={{PAGENAME}}
 
|mincount=1
 
|limit=1000
 
|default=
 
|intro=<h3>References</h3>
 
}}
 
</div></div>
 
<div class="panel panel-default mw-collapsible">
 
<div class="panel-heading"><div class="panel-title ">Relations (referenced in work)</div></div>
 
<div class="panel-body mw-collapsible-content">
 
{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence||Correspondence Collections||Diaries]]
 
[[Author::{{PAGENAME}}]] OR
 
[[Category:Annotated Printed Books]] [[Annotator::{{PAGENAME}}]] OR
 
[[Category:Copies or Translations of Printed Books]] [[Translator::{{PAGENAME}}]] OR
 
[[Category:Correspondence]][[Recipient::{{PAGENAME}}]]
 
|?Author
 
|?Recipient
 
|?Annotator
 
|?Translator
 
|?Associated persons
 
|format=tagcloud
 
|template=TagcloudPersons
 
|userparam={{PAGENAME}}
 
|mincount=1
 
|limit=1000
 
|default=
 
}}
 
</div></div>
 
</div>
 
 
{{#default_form:Person}}[[Category:Persons|{{{Last name|}}}]]{{#set:Title Icon=Person.png|PageID={{PAGEID}}|ID={{PAGEID}}|Pagename={{PAGENAME}}
 
{{#default_form:Person}}[[Category:Persons|{{{Last name|}}}]]{{#set:Title Icon=Person.png|PageID={{PAGEID}}|ID={{PAGEID}}|Pagename={{PAGENAME}}
 
|Map={{{Birth coordinates|}}}:{{{Death coordinates|}}}~[[{{PAGENAME}}]]~born in {{{Birth place|}}}, died in {{{Death place|}}}~red~0.42~5
 
|Map={{{Birth coordinates|}}}:{{{Death coordinates|}}}~[[{{PAGENAME}}]]~born in {{{Birth place|}}}, died in {{{Death place|}}}~red~0.42~5
 
}}{{DEFAULTSORTKEY:{{{Last name|}}}, {{{First name|}}} }}</includeonly>
 
}}{{DEFAULTSORTKEY:{{{Last name|}}}, {{{First name|}}} }}</includeonly>

Latest revision as of 02:34, 21 January 2023

Template formatting Persons.