Template:Person/Content: Difference between revisions

From The Seven Sages of Rome
No edit summary
m Text replacement - "\|\s*format\s*=\s*datatable\b" to "|format=datatables"
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div>
<div class="cc-page">
  <div class="row">
<div class="row">
    <!-- Left Column -->
<div class="col-lg-6">
    <div class="col-md-6">
 
{| class=wikitable border=1
{{#if:{{{Has First Name|}}}{{{Has Last Name|}}}{{{Has Title|}}}|
|-
<section class="cc-card">
! colspan="2" | Metadata
<h2 class="cc-card-heading">Metadata</h2>
|-
<div class="cc-card-body">
{{TableAttribute|type=text|display_name=First Name|value={{{Has First Name|}}}|property=Has First Name}}
{{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}}
{{TableAttribute|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}}
|-
{{#if:{{#ask:[[Is Spelling Variation Of::{{PAGENAME}}]]}}|<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>|}}
{{TableAttribute|type=attr|display_name=Title|value={{{Has Title|}}}|property=Has Title}}
</div>
|-
</section>|}}
|}
 
{| class=wikitable border=1
<section class="cc-card">
|-
<h2 class="cc-card-heading">{{PAGENAME}} is the printer of the following prints</h2>
! colspan="1" | {{PAGENAME}} is the printer of the following prints
<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:
|{{#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}}
[[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=datatables
{| class=wikitable border=1
|default=No prints found
|-
}}
! colspan="1" | {{PAGENAME}} is the scribe of the following versions
</div>
|-
</section>
|{{#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}}
 
|-
<section class="cc-card">
|}
<h2 class="cc-card-heading">{{PAGENAME}} is the scribe of the following versions</h2>
{| class=wikitable border=1
<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:
! colspan="1" | {{PAGENAME}} is the author of the following modern texts
[[Category:Version]][[Has Scribe::{{PAGENAME}}]] OR [[Category:Version]][[Has Scribe::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]
|-
|?Has Language=Language
|{{#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}}
|format=datatables
|-
|default=No versions found
|}
}}
    </div>
</div>
    <!-- Right Column -->
</section>
    <div class="col-md-6">
 
{| class=wikitable border=1
<section class="cc-card">
|-
<h2 class="cc-card-heading">{{PAGENAME}} is the author of the following modern texts</h2>
! colspan="1" | {{PAGENAME}} is the author of the following prints
<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:
|{{#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}}
[[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
{| class=wikitable border=1
|?Has Date Of Publication=Date Of Publication
|-
|format=datatables
! colspan="1" | {{PAGENAME}} is the author of the following manuscripts
|default=No modern texts found
|-
}}
|{{#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>
|}
 
{| class=wikitable border=1
</div>
|-
<div class="col-lg-6">
! colspan="1" | {{PAGENAME}} is the scribe of the following manuscripts
 
|-
<section class="cc-card">
|{{#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}}
<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:
{| class=wikitable border=1
[[Category:Print]][[Has Author::{{PAGENAME}}]] OR [[Category:Print]][[Has Author::<q>[[Is Spelling Variation Of::{{PAGENAME}}]]</q>]]
|-
|?Has Place Of Printing=Place of printing
! colspan="1" | Note
|format=datatables
|-
|default=No prints found
|{{{Has Note|}}}
}}
|-
</div>
|}
</section>
    </div>
 
  </div>
<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=datatables
|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=datatables
|default=No manuscripts found
}}
</div>
</section>
 
{{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}}
 
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 20:35, 25 February 2026