Template:Person/Content: Difference between revisions
From The Seven Sages of Rome
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div> | <div class="cc-page"> | ||
<div class="row"> | |||
<div class="col-lg-6"> | |||
{| | {{#if:{{{Has First Name|}}}{{{Has Last Name|}}}{{{Has Title|}}}| | ||
| | <section class="cc-card"> | ||
<h2 class="cc-card-heading">Metadata</h2> | |||
<div class="cc-card-body"> | |||
{{ | {{TableAttributeNew|type=text|display_name=First Name|value={{{Has First Name|}}}|property=Has First Name}} | ||
{{TableAttributeNew|type=text|display_name=Last Name|value={{{Has Last Name|}}}|property=Has Last Name}} | |||
{{ | {{TableAttributeNew|type=text|display_name=Title|value={{{Has Title|}}}|property=Has Title}} | ||
<div class="cc-attr-row"><div class="cc-attr-label"><span class="cc-attr-label-inner">Spelling Variations</span></div><div class="cc-attr-value">{{#ask:[[Is Spelling Variation Of::{{PAGENAME}}]]|format=list}}</div></div> | |||
</div> | |||
</section>|}} | |||
<section class="cc-card"> | |||
|} | <h2 class="cc-card-heading">{{PAGENAME}} is the printer of the following prints</h2> | ||
<div class="cc-card-body cc-card-body--table"> | |||
| | {{#if:{{#ask:[[Category:Print]][[Has Printer::{{PAGENAME}}]] OR [[Category:Print]][[Has Printer::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]}}|{{#set:Is Printer=True}}|}}{{#ask: | ||
[[Category:Print]][[Has Printer::{{PAGENAME}}]] OR [[Category:Print]][[Has Printer::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]] | |||
|?Has Place Of Printing=Place of printing | |||
|format=datatable | |||
|default=No prints found | |||
}} | |||
</div> | |||
</section> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">{{PAGENAME}} is the scribe of the following versions</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
{{#if:{{#ask:[[Category:Version]][[Has Scribe::{{PAGENAME}}]] OR [[Category:Version]][[Has Scribe::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]}}|{{#set:Is Scribe=True}}|}}{{#ask: | |||
[[Category:Version]][[Has Scribe::{{PAGENAME}}]] OR [[Category:Version]][[Has Scribe::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]] | |||
|?Has Language=Language | |||
|format=datatable | |||
|default=No versions found | |||
}} | |||
</div> | |||
</section> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">{{PAGENAME}} is the author of the following modern texts</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
{{#if:{{#ask:[[Category:Modern Text]][[Has Author::{{PAGENAME}}]] OR [[Category:Modern Text]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]}}|{{#set:Is Author=True}}|}}{{#ask: | |||
[[Category:Modern Text]][[Has Author::{{PAGENAME}}]] OR [[Category:Modern Text]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]] | |||
|?Has Book Title=Title | |||
|?Has Book Subtitle=Subtitle | |||
|?Has Date Of Publication=Date Of Publication | |||
|format=datatable | |||
|default=No modern texts found | |||
}} | |||
</div> | |||
</section> | |||
</div> | |||
<div class="col-lg-6"> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">{{PAGENAME}} is the author of the following prints</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
{{#if:{{#ask:[[Category:Print]][[Has Author::{{PAGENAME}}]] OR [[Category:Print]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]}}|{{#set:Is Author=True}}|}}{{#ask: | |||
[[Category:Print]][[Has Author::{{PAGENAME}}]] OR [[Category:Print]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]] | |||
|?Has Place Of Printing=Place of printing | |||
|format=datatable | |||
|default=No prints found | |||
}} | |||
</div> | |||
</section> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">{{PAGENAME}} is the author of the following manuscripts</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
{{#if:{{#ask:[[Category:Manuscript]][[Has Author::{{PAGENAME}}]] OR [[Category:Manuscript]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]}}|{{#set:Is Author=True}}|}}{{#ask: | |||
[[Category:Manuscript]][[Has Author::{{PAGENAME}}]] OR [[Category:Manuscript]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]] | |||
|?Has Language=Language | |||
|format=datatable | |||
|default=No manuscripts found | |||
}} | |||
</div> | |||
</section> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">{{PAGENAME}} is the scribe of the following manuscripts</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
{{#if:{{#ask:[[Category:Manuscript]][[Has Scribe::{{PAGENAME}}]] OR [[Category:Manuscript]][[Has Scribe::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]}}|{{#set:Is Scribe=True}}|}}{{#ask: | |||
[[Category:Manuscript]][[Has Scribe::{{PAGENAME}}]] OR [[Category:Manuscript]][[Has Scribe::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]] | |||
|?Has Language=Language | |||
|format=datatable | |||
|default=No manuscripts found | |||
}} | |||
</div> | |||
</section> | |||
{{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | {{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | ||
</div> | |||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||