Template:Person: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(44 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>
<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 75: Line 75:
</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>[[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>
<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 91: Line 91:
</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>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 99: 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 109: 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</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>
<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 140: 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>
<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 169: 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 179: Line 239:
  |limit=1000
  |limit=1000
  |default=
  |default=
  |intro=<h3>References</h3>
  |intro=<h5>References</h5>
}}
}}
</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>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]]

Latest revision as of 14:42, 4 April 2024

Template formatting Persons.