Template:Person: Difference between revisions

From Fina Wiki
m (Text replacement - "<div class="panel-heading">" to "<div class="card-header bg-light">")
No edit summary
Tag: Manual revert
 
(47 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-light">[[Persons]]</div><br/>
</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"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Correspondence of {{PAGENAME}}</h5></div>
<div class="card-header bg-light"><h5>Correspondence of {{PAGENAME}}</h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-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}}
{{#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
{{#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}} }}
|startOnLoad=false}}
</div></div>
</div></div></div>
<div class=row>
<div class=row>
<div class="col-md-5">
<div class="col-md-6">
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>{{PAGENAME}}</h5></div>
<div class="card-header bg-light"><h5>{{PAGENAME}}</h5></div>
<div class="card-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::@@@]]
|[[ID::{{PAGEID}}]]
|[[ID::{{PAGEID}}]]
Line 42: Line 42:
|-
|-
|[[Keyword::@@@]]
|[[Keyword::@@@]]
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::{{lc:@@@@}}]]}}
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::{{ucfirst:{{#explode:@@@@| |0}} }} {{ucfirst:{{#explode:@@@@| |1}} }} {{ucfirst:{{#explode:@@@@| |2}} }}]]}}
|-
|-
|[[Link::@@@]]
|[[Link::@@@]]
|[[Link::{{{Link|}}}]]
|style="word-break: break-all;"|[[Link::{{{Link|}}}]]
|-
|-
|Image
|Image
Line 54: Line 54:
|}</div></div>
|}</div></div>


<div class="panel panel-default"><div class="card-header bg-light"><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="card-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 73: Line 73:
  |default=
  |default=
}} [[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>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>[[Further images::@@@]]</div></div>
<div class="card-header bg-light"><h5>[[Further images::@@@]]</h5></div>
<div class="card-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-6">
<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="card-header bg-light"><h5>Map</div></div>
<div class="card-header bg-light"><h5>Map</h5></div>
<div class="card-body mw-collapsible-content">{{#if:{{{Birth place|}}}|
<div class="card-body mw-collapsible-content">{{#if:{{{Birth place|}}}|
{{#display_map:lines=
{{#display_map:lines=
Line 90: Line 89:
|''Currently, no birth place is known for {{PAGENAME}}...''
|''Currently, no birth place is known for {{PAGENAME}}...''
}}
}}
</div></div>
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Literature</div></div>
<div class="card-header bg-light"><h5>Literature</h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]]
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]]
Line 100: Line 99:
  |?Title
  |?Title
  |format=table
  |format=table
  |class=table table-hover table-condensed sortable
  |class=table table-hover table-sm sortable
  |default=
  |default=
  |sort=Literature year
  |sort=Literature year
|limit=20
}}
}}
{{#ask:[[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
{{#ask:[[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
Line 110: Line 110:
  |?Title
  |?Title
  |format=table
  |format=table
  |class=table table-hover table-condensed sortable
  |class=table table-hover table-sm sortable
  |default=
  |default=
  |sort=Literature year
  |sort=Literature year
|limit=20
}}
}}
</div></div>
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Work</div></div>
<div class="card-header bg-light"><h5>Work</h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">{{#ask: [[Category:Annotated Printed Books]] [[Author::{{PAGENAME}}]] OR [[Category:Annotated Printed Books]] [[Annotator::{{PAGENAME}}]]
{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence||Correspondence Collections||Diaries]]
|mainlabel=Page
[[Author::{{PAGENAME}}]] OR
|?Publication date
[[Category:Annotated Printed Books]] [[Annotator::{{PAGENAME}}]] OR
|format=table
[[Category:Copies or Translations of Printed Books]] [[Translator::{{PAGENAME}}]] OR
|limit=10
[[Category:Correspondence]][[Recipient::{{PAGENAME}}]]  
|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
  |mainlabel=Page
  |?Category
  |?Publication date
  |format=table
  |format=table
  |limit=1000
  |limit=10
|sort=Correspondence date
  |class=table table-hover table-sm sortable
  |class=table table-hover table-condensed sortable
  |default=
  |default=Currently no work from this Person is found.
|intro='''Author of [[Diaries]]'''
}}
}}
</div></div>
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>References</div></div>
<div class="card-header bg-light"><h5>References</h5></div>
<div class="card-body mw-collapsible-content">
<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}}]]  
{{#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}}]]  
Line 141: Line 200:
  |limit=1000
  |limit=1000
  |sort=Correspondence date
  |sort=Correspondence date
  |class=table table-hover table-condensed sortable
  |class=table table-hover table-sm sortable
  |default=Currently this person is nowhere referenced in "[[Associated persons::@@@]]".
  |default=Currently this person is nowhere referenced in "[[Associated persons::@@@]]".
}}
}}
</div></div>
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Keywords</div></div>
<div class="card-header bg-light"><h5>Keywords</h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]] OR [[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
{{#ask:[[Category:Literature]] [[Author::{{PAGENAME}}]] OR [[Category:Literature]] [[Associated persons::{{PAGENAME}}]]
Line 170: Line 229:
  |limit=1000
  |limit=1000
  |default=
  |default=
  |intro=<h3>Work</h3>
  |intro=<h5>Work</h5>
}}
}}
{{#ask:[[Associated persons::{{PAGENAME}}]]  
{{#ask:[[Associated persons::{{PAGENAME}}]]  
Line 180: Line 239:
  |limit=1000
  |limit=1000
  |default=
  |default=
  |intro=<h3>References</h3>
  |intro=<h5>References</h5>
}}
}}
</div></div>
</div></div></div>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Relations (referenced in work)</div></div>
<div class="card-header bg-light"><h5>Relations (referenced in work)</h5></div>
<div class="card-body mw-collapsible-content">
<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]]
{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence||Correspondence Collections||Diaries]]
Line 203: Line 262:
  |default=
  |default=
}}
}}
</div></div>
</div></div></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 14:42, 4 April 2024

Template formatting Persons.