Template:Person: Difference between revisions

From Fina Wiki
m (Text replacement - "{{PAGENAME}}</div></div>" to "{{PAGENAME}}</h5></div>")
m (Text replacement - "<div class="panel-body mw-collapsible-content">" to "<div class="card-body mw-collapsible-content">")
Line 4: Line 4:
<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="panel-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]] [[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}} }}
{{#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}} }}
Line 12: Line 12:
<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="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 55: Line 55:


<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="panel panel-default"><div class="panel-heading"><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="glyphicon glyphicon-save-file" title="CSV (Comma Separated Value)"></span>&nbsp;{{#ask:[[{{FULLPAGENAME}}]]
|mainlabel=-
|mainlabel=-
Line 76: Line 76:
<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::@@@]]</div></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{{Images|}}}
{{{Images|}}}
</div></div>
</div></div>
Line 84: Line 84:
<div class="panel panel-default mw-collapsible {{#if:{{{Birth place|}}}||mw-collapsed}}">
<div class="panel panel-default 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</div></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 93: Line 93:
<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</div></div>
<div class="panel-body mw-collapsible-content">
<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 117: Line 117:
<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</div></div>
<div class="panel-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]]
[[Author::{{PAGENAME}}]] OR  
[[Author::{{PAGENAME}}]] OR  
Line 134: Line 134:
<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</div></div>
<div class="panel-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}}]]  
  |mainlabel=Page
  |mainlabel=Page
Line 147: Line 147:
<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</div></div>
<div class="panel-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}}]]
  |?Numismatic keyword
  |?Numismatic keyword
Line 185: Line 185:
<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)</div></div>
<div class="panel-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]]
[[Author::{{PAGENAME}}]] OR  
[[Author::{{PAGENAME}}]] OR  

Revision as of 08:35, 27 August 2022

Template formatting Persons.