Template:Person: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(37 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=100}}
{{#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=100}}|config.theme=dark
|startOnLoad=false}}
|startOnLoad=false}}
</div></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 43: 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 81: Line 80:
</div></div></div>
</div></div></div>
</div>
</div>
<div class="col-md-7">
<div class="col-md-6">
<div class="card"><div class="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</h5></div>
<div class="card-header bg-light"><h5>Map</h5></div>
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>
<div class="card"><div class="mw-collapsible">
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><h5>Work</h5></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>
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::@@@]]".
}}
}}

Latest revision as of 14:42, 4 April 2024

Template formatting Persons.