Template:Query Person: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{Name|}}}|
<includeonly>__NOTOC__{{#if:{{{Name|}}}|
{{#ifexist: {{{Name|}}}|'''[[{{{Name|}}}]] {{#show:{{{Name|}}}|?Also known as}} {{#show:{{{Name|}}}|?Birth date}} - {{#show:{{{Name|}}}|?Death date}}'''|A page for ''{{{Name|}}}'' does not exist yet. You can {{#formlink:form=Person|link text=add {{{Name|}}}.|target={{{Name|}}} }} }}
{{#ifexist: {{{Name|}}}|'''[[{{{Name|}}}]] {{#show:{{{Name|}}}|?Also known as}} {{#show:{{{Name|}}}|?Birth date}} - {{#show:{{{Name|}}}|?Death date}}'''|A page for ''{{{Name|}}}'' does not exist yet. You can {{#formlink:form=Person|link text=add {{{Name|}}}.|target={{{Name|}}} }} }}
{{#get_web_data:url=https://www.wikidata.org/w/api.php?action=wbgetentities&sites=frwiki%7Cenwiki%7Cdewiki&titles={{{Name|}}}&props=descriptions&languages=en&format=json
{{#get_web_data:url=https://www.wikidata.org/w/api.php?action=wbgetentities&sites=frwiki%7Cenwiki%7Cdewiki&titles={{{Name|}}}&props=descriptions&languages=en&format=json
Line 6: Line 6:
}}{{#if:{{#external_value:Qid}}|Wikidata knows {{{Name|}}} as [https://www.wikidata.org/wiki/{{#external_value:Qid}} {{#external_value:Qid}}] ({{#external_value:Description}})|No [https://www.wikidata.org/w/index.php?search= Wikidata] entry found...}}
}}{{#if:{{#external_value:Qid}}|Wikidata knows {{{Name|}}} as [https://www.wikidata.org/wiki/{{#external_value:Qid}} {{#external_value:Qid}}] ({{#external_value:Description}})|No [https://www.wikidata.org/w/index.php?search= Wikidata] entry found...}}
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card-header bg-light"><h5>{{#ask: [[Category:Correspondence]][[Author::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' has [[Author::@@@|written]] &nbsp;|outro=&nbsp;[[Correspondence|letters]].}} </div></div>
<div class="card-header bg-light"><h5>{{#ask: [[Category:Correspondence]][[Author::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' has [[Author::@@@|written]] &nbsp;|outro=&nbsp;[[Correspondence|letters]].}} </h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask: [[Category:Correspondence]][[Author::{{{Name|}}}]]|format=ul|default={{{Name|}}} is not found as [[Author::@@@]].}}  
{{#ask: [[Category:Correspondence]][[Author::{{{Name|}}}]]|format=ul|default={{{Name|}}} is not found as [[Author::@@@]].}}  
</div></div>/div>
</div></div></div>
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card-header bg-light"><h5>{{#ask: [[Category:Correspondence]][[Recipient::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' has [[Recipient::@@@|recieved]]&nbsp;|outro=&nbsp;[[Correspondence|letters]].}} </div></div>
<div class="card-header bg-light"><h5>{{#ask: [[Category:Correspondence]][[Recipient::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' has [[Recipient::@@@|recieved]]&nbsp;|outro=&nbsp;[[Correspondence|letters]].}} </h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask: [[Category:Correspondence]][[Recipient::{{{Name|}}}]]|format=ul|default={{{Name|}}} is not found as [[Recipient::@@@]].}}  
{{#ask: [[Category:Correspondence]][[Recipient::{{{Name|}}}]]|format=ul|default={{{Name|}}} is not found as [[Recipient::@@@]].}}  
</div></div>/div>
</div></div></div>
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card-header bg-light"><h5>{{#ask: [[Category:Correspondence]][[Associated persons::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' is [[Associated persons::@@@|mentioned]] in&nbsp;|outro=&nbsp;[[Correspondence|letters]].}} </div></div>
<div class="card-header bg-light"><h5>{{#ask: [[Category:Correspondence]][[Associated persons::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' is [[Associated persons::@@@|mentioned]] in&nbsp;|outro=&nbsp;[[Correspondence|letters]].}} </h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask: [[Category:Correspondence]][[Associated persons::{{{Name|}}}]]|format=ul|default={{{Name|}}} is not found in [[Associated persons::@@@]].}}  
{{#ask: [[Category:Correspondence]][[Associated persons::{{{Name|}}}]]|format=ul|default={{{Name|}}} is not found 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>Visualsation of [[Correspondence]]</div></div>
<div class="card-header bg-light"><h5>Visualsation of [[Correspondence]]</h5></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#mermaid:sequenceDiagram
{{#mermaid:sequenceDiagram
{{#ask: [[Author::{{{Name|}}}]] OR [[Recipient::{{{Name|}}}]]  
{{#ask: [[Author::{{{Name|}}}]] OR [[Recipient::{{{Name|}}}]]  
|mainlabel=|?#=Correspondence|?PageID|?Author|?Recipient|?Correspondence date#|sort=Correspondence date|format=plainlist|headers=hide|link=none|searchlabel=|limit=500|template=GraphSequence|named args=yes|import-annotation=yes}}
|mainlabel=|?#=Correspondence|?PageID|?Author|?Recipient|?Correspondence date#|sort=Correspondence date|format=plainlist|headers=hide|link=none|searchlabel=|limit=500|template=GraphSequence|named args=yes|import-annotation=yes}}
|config.theme=dark
|startOnLoad=false
}}
}}
</div></div>/div>
</div></div></div>
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card"><div class="mw-collapsible mw-collapsed">
<div class="card-header bg-light"><h5>{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Author::{{{Name|}}}]] OR [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Associated persons::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' is found in&nbsp;|recieved]]&nbsp;|outro=&nbsp;further resources.}} </div></div>
<div class="card-header bg-light"><h5>{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Author::{{{Name|}}}]] OR [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Associated persons::{{{Name|}}}]]|format=count|intro=''{{{Name|}}}'' is found in&nbsp;|recieved]]&nbsp;|outro=&nbsp;further resources.}} </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 Collections||Diaries||Literature]][[Author::{{{Name|}}}]] OR [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Associated persons::{{{Name|}}}]]
{{#ask: [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Author::{{{Name|}}}]] OR [[Category:Annotated Printed Books||Copies or Translations of Printed Books||Catalogues of Numismatic Collections||Manuscripts of Unpublished Works||Correspondence Collections||Diaries||Literature]][[Associated persons::{{{Name|}}}]]
|format=ul|?Category=|default={{{Name|}}} is not found as in other resources.}}  
|format=ul|?Category=|default={{{Name|}}} is not found as in other resources.}}  
</div></div>/div>
</div></div></div>
|please select or input a name in the field above
|please select or input a name in the field above
}}
}}
</includeonly>
</includeonly>

Latest revision as of 21:57, 27 August 2022