Template:Person: Difference between revisions

From Fina Wiki
(Created page with "<noinclude> Template formatting {{PAGENAME}}s. </noinclude><includeonly>__NOEDITSECTION____NOTOC__Persons <div class=row> <div class="col-md-5"> <div class="panel panel-de...")
 
No edit summary
Tag: Manual revert
 
(200 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__[[Persons]]
</noinclude><includeonly>__NOEDITSECTION____NOTOC__<div class="btn btn-info">[[Persons]]</div><br/>{{#if:{{{Birth date|}}}|&nbsp;* {{{Birth date|}}} }} {{#if:{{{Birth place|}}}|{{{Birth place|}}} }}{{#if:{{{Death date|}}}|, † {{{Death date|}}} }}{{#if:{{{Death place|}}}|, {{{Death place|}}} }}{{#if:{{{Keyword|}}}|. {{{Keyword|}}} }}
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Correspondence of {{PAGENAME}}</h5></div>
<div class="card-body mw-collapsible-content">
{{#mermaid:graph LR; {{#ask: [[Category:Correspondence]] [[Author::{{PAGENAME}}]] OR [[Category:Correspondence]] [[Recipient::{{PAGENAME}}]]|mainlabel=|?#=Correspondence|?Author#|?Recipient#|?Correspondence date|?Place|sort=Correspondence date|format=plainlist|headers=hide|link=none|searchlabel=|template=GraphCorrespondence|named args=yes|import-annotation=yes|limit=5000|userparam={{#ask: [[Category:Correspondence]] [[Author::{{PAGENAME}}]] OR [[Category:Correspondence]] [[Recipient::{{PAGENAME}}]]|format=count}} }}|config.theme=neutral
|startOnLoad=false}}
</div></div></div>
<div class=row>
<div class=row>
<div class="col-md-5">
<div class="col-md-6">
<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-sm"
|[[ID::@@@]]
|[[ID::{{PAGEID}}]]
|-
|-
|[[First name::@@@]]
|[[First name::@@@]]
Line 14: Line 22:
|[[Last name::@@@]]
|[[Last name::@@@]]
|[[Last name::{{{Last name|}}}]]
|[[Last name::{{{Last name|}}}]]
|-
|[[Also known as::@@@]]
|{{#arraymap:{{{Also known as|}}}|;|@@@@|[[Also known as::@@@@]]}}
|-
|[[WikidataID::@@@]]
|[[WikidataID::{{{WikidataID|}}}]]
|-
|-
|[[Birth date::@@@]]
|[[Birth date::@@@]]
|[[Birth date::{{{Birth date|}}}]]
|[[Birth date::{{{Birth date|}}}|]]{{#show:{{PAGENAME}}|?Birth date#LOCL}}
|-
|[[Birth place::@@@]]
|[[Birth place::{{{Birth place|}}}]] <sup>{{#show:{{FULLPAGENAME}}|?Birth coordinates}}</sup>{{#set:Birth coordinates={{#if:{{{Birth coordinates|}}}|{{{Birth coordinates|}}}|{{#if:{{{Birth place|}}}|{{#geocode:{{{Birth place|}}} }} }} }} }}
|-
|-
|[[Death date::@@@]]
|[[Death date::@@@]]
|[[Death date::{{{Birth date|}}}]]
|[[Death date::{{{Death date|}}}|]]{{#show:{{PAGENAME}}|?Death date#LOCL}}
|-
|[[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::@@@]]
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::{{ucfirst:{{#explode:@@@@| |0}} }} {{ucfirst:{{#explode:@@@@| |1}} }} {{ucfirst:{{#explode:@@@@| |2}} }}]]}}
|-
|-
|[[Link::@@@]]
|[[Link::@@@]]
|[[Link::{{{Birth date|}}}]]
|style="word-break: break-all;"|[[Link::{{{Link|}}}]]
|}
|-
</div></div>
|Image
|{{#ifexist: {{ns:File}}:{{FULLPAGENAME}}.jpg|[[{{ns:File}}:{{FULLPAGENAME}}.jpg|thumb|left|{{FULLPAGENAME}}]][[Image::{{ns:File}}:{{FULLPAGENAME}}.jpg| ]][[Image URL::{{filepath:{{FULLPAGENAME}}.jpg}}| ]]|[[{{ns:File}}:{{FULLPAGENAME}}.jpg|upload]]}}
|-
|[[Further images::@@@]]
|{{#arraymap:{{{Further images|}}}|;|@@@@|{{#set:Further images={{ns:File}}:@@@@}}[[:{{ns:File}}:@@@@]]}}
|}</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"><div class="panel-title"><span class="fa fa-download">&nbsp;</span>Download</div></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="fa fa-download" title="CSV (Comma Separated Value)"></span>&nbsp;{{#ask:[[{{FULLPAGENAME}}]]
|mainlabel=-
|mainlabel=-
  |mainlabel=Entry
  |mainlabel=Entry
Line 44: Line 72:
  |filename={{FULLPAGENAME}}.csv
  |filename={{FULLPAGENAME}}.csv
  |default=
  |default=
}} [[Image:RDF.png|14px|text-bottom|RDF/XML (Resource Description Framework)|link=Spezial:RDF_exportieren/{{FULLPAGENAME}}]]&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>
 
<div class="card"><div class="mw-collapsible">
 
<div class="card-header bg-light"><h5>[[Further images::@@@]]</h5></div>
<div class="card-body mw-collapsible-content">
{{{Images|}}}
</div></div></div>
</div>
</div>
<div class="col-md-7">
<div class="col-md-6">
<div class="panel panel-default mw-collapsible">
<div class="card"><div class="mw-collapsible {{#if:{{{Birth place|}}}||mw-collapsed}}">
<div class="panel-heading"><div class="panel-title ">Work</div></div>
<div class="card-header bg-light"><h5>Map</h5></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">{{#if:{{{Birth place|}}}|
{{#ask:[[Author::{{PAGENAME}}]] OR [[Annotator::{{PAGENAME}}]] OR [[Associated persons::{{PAGENAME}}]]  
{{#display_map:lines=
  |mainlabel=Work
  {{#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
}}
|''Currently, no birth place is known for {{PAGENAME}}...''
}}
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Literature</h5></div>
<div class="card-body mw-collapsible-content">
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]]
|mainlabel=Primary&nbsp;literature
|?Literature year
|?Literature type
|?Title
|format=table
|class=table table-hover table-sm sortable
|default=
|sort=Literature year
|limit=20
}}
{{#ask:[[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
|mainlabel=Secondary&nbsp;literature
|?Literature year
|?Literature type
|?Title
|format=table
|class=table table-hover table-sm sortable
|default=
|sort=Literature year
|limit=20
}}
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Work</h5></div>
<div class="card-body mw-collapsible-content">{{#ask: [[Category:Annotated Printed Books]] [[Author::{{PAGENAME}}]] OR [[Category:Annotated Printed Books]] [[Annotator::{{PAGENAME}}]]
|mainlabel=Page
|?Publication date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author or Annotator of [[Annotated Printed Books]]'''
}}
{{#ask: [[Category:Copies or Translations of Printed Books]] [[Author::{{PAGENAME}}]] OR [[Category:Copies or Translations of Printed Books]] [[Translator::{{PAGENAME}}]]
|mainlabel=Page
|?Correspondence date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author or Translator of [[Copies or Translations of Printed Books]]'''
}}
{{#ask: [[Category:Catalogues of Numismatic Collections]] [[Author::{{PAGENAME}}]]
|mainlabel=Page
|?Catalogue date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author of [[Catalogues of Numismatic Collections]]'''
}}
{{#ask: [[Category:Manuscripts of Unpublished Works]] [[Author::{{PAGENAME}}]]
|mainlabel=Page
|?Publication date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author of [[Manuscripts of Unpublished Works]]'''
}}
{{#ask: [[Category:Correspondence]] [[Author::{{PAGENAME}}]]
|mainlabel=Page
|?Correspondence date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author of [[Correspondence]]'''
}}
{{#ask: [[Category:Correspondence]] [[Recipient::{{PAGENAME}}]]
|mainlabel=Page
|?Correspondence date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Recipient of [[Correspondence]]'''
}}
{{#ask: [[Category:Correspondence Collections]] [[Author::{{PAGENAME}}]]
|mainlabel=Page
|?Publication date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author of [[Correspondence Collections]]'''
}}
{{#ask: [[Category:Diaries]] [[Author::{{PAGENAME}}]]
|mainlabel=Page
|?Publication date
|format=table
|limit=10
|class=table table-hover table-sm sortable
|default=
|intro='''Author of [[Diaries]]'''
}}
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>References</h5></div>
<div class="card-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
  |?Category
  |format=table
  |format=table
  |class=table table-hover table-condensed"
|limit=1000
  |default=Currently no work from this Person is found.
|sort=Correspondence date
  |class=table table-hover table-sm sortable
  |default=Currently this person is nowhere referenced in "[[Associated persons::@@@]]".
}}
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Keywords</h5></div>
<div class="card-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=<h5>Work</h5>
}}
{{#ask:[[Associated persons::{{PAGENAME}}]]
|?Numismatic keyword
|format=tagcloud
|template=tagcloud
|userparam={{PAGENAME}}
|mincount=1
|limit=1000
|default=
|intro=<h5>References</h5>
}}
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Relations (referenced in work)</h5></div>
<div class="card-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></div></div>
</div>
</div>
{{#default_form:Person}}[[Category:Persons]]{{#set:Title Icon=Person.png}}</includeonly>
{{#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
}}{{DEFAULTSORTKEY:{{{Last name|}}}, {{{First name|}}} }}</includeonly>

Latest revision as of 14:42, 4 April 2024

Template formatting Persons.