Template:Version: Difference between revisions

From The Seven Sages of Rome
No edit summary
No edit summary
Tag: Manual revert
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>__NOTOC__{{Version/Header|Has Motif={{{Has Motif|}}}}}{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}}<span class="description">{{{Has Description|}}}</span>
{{#template_params:
<div class="noexcerpt">
|Has Reference Number (label=Reference Number)
<div class="cc-page">
|Has Author (label=Author)
<div class="row">
|Has Title (label=Title of Version)
<div class="col-lg-6">
|Has Siglum (label=Siglum of the Version of the Seven Sages)
|Has Version Number (label=Version Number)
|Has Place Of Text Composition (label=Place of Composition)
|Has Date Of Text Composition (label=Date of Composition)
|Has Start Date Of Composition (label=Start Date of Composition)
|Has End Date Of Composition (label=End Date of Composition)
|Has Date Range Of Text Composition (label=Date Range of Composition)
|Has Sort Date Of Text Composition (label=Sort Date of Composition)
|Has Islamic Date Of Text Composition (label=Islamic Date of Composition)
|Has Hebrew Date Of Text Composition (label=Hebrew Date of Composition)
|Has Source For Date Of Text Composition (label=Source for Date of Composition)
|Has Modern Research Literature (label=Modern Research Literature)
|Has Modern Edition (label=Modern Edition)
|Is Adapted From (label=Adapted From)
|Is Adapted Into (label=Adapted Into)
|Has Source For Composition And Adaption Information (label=Source for Composition and Adaptation)
|Has Text Language (label=Language of Text)
|Has Regional Language (label=Regional or Specific Language of Manuscript)
|Has Notes (label=Notes)
|Has Note On The Frame (label=Notes on the Frame)
|Has Short Title (label=Short Title)
|Has Sequence Number (label=Sequence Number)
|Has Narrator (label=Narrator)
|Has Name Variation (label=Name Variation)
|Has Language Group Within Version (label=Language Group Within Version)
|Has Further Primary Scholarly Subgroup (label=Further Primary Scholarly Subgroup)
|Has Further Secondary Scholarly Subgroup (label=Further Secondary Scholarly Subgroup)
|Is Entity Type (label=Entity Type)
|Has Language (label=Language)
}}
</noinclude>
<includeonly>__NOTOC__{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Versions|CategoryName=Version|PAGENAME={{PAGENAME}}}}<nowiki/>{{#if:{{{Has Motif|}}}|{{#arraymap:{{{Has Motif|}}}|;|@@@|{{#set:Has Motif=@@@}}<span class="badge badge-pill badge-motif mr-1">{{#formredlink:target=@@@|form=Content}}</span>|}}<br /><br />|}}
{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}}<span class="description">{{{Has Description|}}}</span><div class="noexcerpt">
<div>
  <div class="row">
    <!-- Left Column -->
    <div class="col-lg-6">
{| class="wikitable w-100 mb-4"
|-
! colspan="2" | Identification and general Information
|-
{{TableAttribute|type=attr|display_name=Siglum of the version of the Seven Sages|value={{{Has Siglum|}}}|property=Has Siglum}}
{{TableAttribute|type=attr|display_name=Title|value={{{Has Title|}}}|property=Has Title|form=Title}}
{{TableAttribute|type=attr|display_name=Author|value={{{Has Author|}}}|property=Has Author|form=Person}}
|}


{| class="wikitable w-100 mb-4"
{{#if:{{{Has Title|}}}{{{Has Author|}}}|
|-
<section class="cc-card">
! colspan="2" | Tradition and Lineage
<h2 class="cc-card-heading">Identification &amp; General Information</h2>
|-
<div class="cc-card-body">
{{TableAttribute|type=attr|display_name=Branch of the tradition|value={{{Has Branch Of Tradition|}}}|property=Has Branch Of Tradition|form=Tradition}}
{{TableAttributeNew|type=attr|display_name=Title|value={{{Has Title|}}}|property=Has Title|form=Title}}
{{TableAttribute|type=list|display_name=Adapted from (version)|value={{{Is Adapted From|}}}|property=Is Adapted From|form=Version}}
{{TableAttributeNew|type=attr|display_name=Author|value={{{Has Author|}}}|property=Has Author|form=Person}}
{{TableAttribute|type=list|display_name=Adapted into (version)|value={{{Is Adapted Into|}}}|property=Is Adapted Into|form=Version}}
{{TableAttribute|type=list|display_name=Source for composition and adaptation information|value={{{Has Source For Composition And Adaption Information|}}}|property=Has Source For Composition And Adaption Information|form=Modern Research Literature}}
|}
      {| class="wikitable w-100 mb-4"
      |-
      ! colspan="1" | Recorded secondary versions
      |-
      |{{Versions/Branch}}
      |}
      {| class="wikitable w-100 mb-4"
      |-
      ! colspan="1" | Connected manuscripts
      |-
      |{{Version/Connected Manuscripts}}
      |}
</div>
</div>
    <!-- Right Column -->
</section>|}}
    <div class="col-lg-6">
{| class="wikitable w-100 mb-4"
|-
! colspan="2" | Language and Composition
|-
{{TableAttribute|type=attr|display_name=Language of version|value={{{Has Language Of Version|}}}|property=Has Language Of Version|form=Language}}
{{TableAttribute|type=attr|display_name=Language of text|value={{{Has Text Language|}}}|property=Has Text Language|form=Language}}
{{TableAttribute|type=attr|display_name=Regional or specific language of version|value={{{Has Regional Language|}}}|property=Has Regional Language|form=Language}}
{{TableAttribute|type=list|display_name=Translated into (languages)|value={{{Is Translated Into Languages|}}}|property=Is Translated Into Languages|form=Language}}
{{TableAttribute|type=attr|display_name=Place of composition|value={{{Has Place Of Text Composition|}}}|property=Has Place Of Text Composition|form=Location}}
| '''Date of composition'''
| {{#invoke:SetDateRange|set|fixed_date={{{Has Date Of Text Composition|}}}|start_date={{{Has Start Date Of Composition|}}}|end_date={{{Has End Date Of Composition|}}}|date_range_property=Has Date Range Of Text Composition|sort_date_property=Has Sort Date Of Text Composition|islamic_date={{{Has Islamic Date Of Text Composition|}}}|hebrew_date={{{Has Hebrew Date Of Text Composition|}}}}}
|-
{{TableAttribute|type=text|display_name=Islamic date of composition|value={{{Has Islamic Date Of Text Composition|}}}|property=Has Islamic Date Of Text Composition}}
{{TableAttribute|type=text|display_name=Hebrew date of composition|value={{{Has Hebrew Date Of Text Composition|}}}|property=Has Hebrew Date Of Text Composition}}
{{TableAttribute|type=list|display_name=Source for date of composition|value={{{Has Source For Date Of Text Composition|}}}|property=Has Source For Date Of Text Composition|form=Modern Research Literature}}
|}


{| class="wikitable w-100 mb-4"
{{#if:{{{Has Branch Of Tradition|}}}{{{Is Adapted From|}}}{{{Is Adapted Into|}}}{{{Has Source For Composition And Adaption Information|}}}|
|-
<section class="cc-card">
! colspan="2" | Modern Scholarship and Editions
<h2 class="cc-card-heading">Tradition &amp; Lineage</h2>
|-
<div class="cc-card-body">
{{TableAttribute|type=list|display_name=Modern research literature|value={{{Has Modern Research Literature|}}}|property=Has Modern Research Literature|form=Modern Research Literature}}
{{TableAttributeNew|type=attr|display_name=Branch of the tradition|value={{{Has Branch Of Tradition|}}}|property=Has Branch Of Tradition|form=Tradition}}
{{TableAttribute|type=list|display_name=Modern Editions|value={{{Has Modern Edition|}}}|property=Has Modern Edition|form=Modern Edition}}
{{TableAttributeNew|type=list|display_name=Adapted from (version)|value={{{Is Adapted From|}}}|property=Is Adapted From|form=Version}}
|}
{{TableAttributeNew|type=list|display_name=Adapted into (version)|value={{{Is Adapted Into|}}}|property=Is Adapted Into|form=Version}}
{{TableAttributeNew|type=list|display_name=Source for composition and adaptation information|value={{{Has Source For Composition And Adaption Information|}}}|property=Has Source For Composition And Adaption Information|form=Modern Research Literature}}
</div>
</section>|}}
 
<section class="cc-card">
<h2 class="cc-card-heading">Recorded Secondary Versions</h2>
<div class="cc-card-body">
{{Versions/Branch}}
</div>
</section>
 
{{#if:{{#ask:[[Category:Manuscript]][[Has Siglum Of The Version Of The Seven Sages::{{EscapedPagename}}]] OR [[Category:Manuscript]][[Has Language Group Within Version::{{EscapedPagename}}]] OR [[Category:Manuscript]][[Has Narrative Or Scholarly Group Within Version::{{EscapedPagename}}]] OR [[Category:Manuscript]][[Has Further Primary Scholarly Subgroup::{{EscapedPagename}}]] OR [[Category:Manuscript]][[Has Further Secondary Scholarly Subgroup::{{EscapedPagename}}]]}}|
<section class="cc-card">
<h2 class="cc-card-heading">Connected Manuscripts</h2>
<div class="cc-card-body cc-card-body--table">
{{Version/Connected Manuscripts}}
</div>
</section>
|}}
 
</div>
<div class="col-lg-6">
 
{{#if:{{{Has Language Of Version|}}}{{{Has Regional Language|}}}{{{Is Translated Into Languages|}}}{{{Has Place Of Text Composition|}}}{{{Has Date Of Text Composition|}}}{{{Has Start Date Of Composition|}}}{{{Has End Date Of Composition|}}}{{{Has Islamic Date Of Text Composition|}}}{{{Has Hebrew Date Of Text Composition|}}}{{{Has Source For Date Of Text Composition|}}}|
<section class="cc-card">
<h2 class="cc-card-heading">Language &amp; Composition</h2>
<div class="cc-card-body">
{{TableAttributeNew|type=attr|display_name=Language of version|value={{{Has Language Of Version|}}}|property=Has Language Of Version|form=Language}}
{{TableAttributeNew|type=attr|display_name=Regional or specific language of version|value={{{Has Regional Language|}}}|property=Has Regional Language|form=Language}}
{{TableAttributeNew|type=list|display_name=Translated into (languages)|value={{{Is Translated Into Languages|}}}|property=Is Translated Into Languages|form=Language}}
{{TableAttributeNew|type=attr|display_name=Place of composition|value={{{Has Place Of Text Composition|}}}|property=Has Place Of Text Composition|form=Location}}
<div class="cc-attr-row"><div class="cc-attr-label"><span class="cc-attr-label-inner">Date of Composition</span></div><div class="cc-attr-value">{{#invoke:SetDateRange|set|fixed_date={{{Has Date Of Text Composition|}}}|start_date={{{Has Start Date Of Composition|}}}|end_date={{{Has End Date Of Composition|}}}|date_range_property=Has Date Range Of Text Composition|sort_date_property=Has Sort Date Of Text Composition|islamic_date={{{Has Islamic Date Of Text Composition|}}}|hebrew_date={{{Has Hebrew Date Of Text Composition|}}}}}</div></div>
{{TableAttributeNew|type=text|display_name=Islamic date of composition|value={{{Has Islamic Date Of Text Composition|}}}|property=Has Islamic Date Of Text Composition}}
{{TableAttributeNew|type=text|display_name=Hebrew date of composition|value={{{Has Hebrew Date Of Text Composition|}}}|property=Has Hebrew Date Of Text Composition}}
{{TableAttributeNew|type=list|display_name=Source for date of composition|value={{{Has Source For Date Of Text Composition|}}}|property=Has Source For Date Of Text Composition|form=Modern Research Literature}}
</div>
</section>|}}
 
{{#if:{{{Has Modern Research Literature|}}}{{{Has Modern Edition|}}}|
<section class="cc-card">
<h2 class="cc-card-heading">Modern Scholarship &amp; Editions</h2>
<div class="cc-card-body">
{{TableAttributeNew|type=list|display_name=Modern research literature|value={{{Has Modern Research Literature|}}}|property=Has Modern Research Literature|form=Modern Research Literature}}
{{TableAttributeNew|type=list|display_name=Modern Editions|value={{{Has Modern Edition|}}}|property=Has Modern Edition|form=Modern Edition}}
</div>
</section>|}}
 
{{#if:{{{Has Note|}}}{{{Has Note On Motif|}}}|
<section class="cc-card">
<h2 class="cc-card-heading">Notes &amp; Commentary</h2>
<div class="cc-card-body">
{{TableAttributeNew|type=text|display_name=Note|value={{{Has Note|}}}|property=Has Note}}
{{TableAttributeNew|type=text|display_name=Notes on motifs|value={{{Has Note On Motif|}}}|property=Has Note On Motif}}
</div>
</section>|}}
 
{{#if:{{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?Has Short Title=Short Story|?Has Sequence Number=Sequence Number|?Has Narrator=Narrator|?Has Name Variation=Name Variations}}|
<section class="cc-card">
<h2 class="cc-card-heading">Pattern of Embedded Stories in This Version</h2>
<div class="cc-card-body cc-card-body--table">
{{Version/EmbeddedStories}}{{CopyEmbeddedStories|}}
</div>
</section>
|}}
 
{{#if:{{#ask:[[Category:Print]][[Has Siglum Of The Version Of The Seven Sages::{{EscapedPagename}}]] OR [[Category:Print]][[Has Language Group Within Version::{{EscapedPagename}}]] OR [[Category:Print]][[Has Narrative Or Scholarly Group Within Version::{{EscapedPagename}}]] OR [[Category:Print]][[Has Further Primary Scholarly Subgroup::{{EscapedPagename}}]] OR [[Category:Print]][[Has Further Secondary Scholarly Subgroup::{{EscapedPagename}}]]|
<section class="cc-card">
<h2 class="cc-card-heading">Connected Prints</h2>
<div class="cc-card-body cc-card-body--table">
{{Version/Connected Prints}}
</div>
</section>
|}}
 
</div>
</div>
</div>
</div>


{| class="wikitable w-100 mb-4"
[[Category:Version]][[Category:Textual Entity]]{{#set:Is Entity Type=Version}}{{#set:Semantic Dependency={{FULLPAGENAME}}}}{{#set:Has Language={{{Has Language Of Version|}}}}}{{#arraymap:{{{Has Parent Version|}}}|;|@@@@|{{#set:Has Manual Parent Version=@@@@}}}}{{#set:Has Siglum={{EscapedPagename}}}}</includeonly>
|-
! colspan="2" | Notes and Commentary
|-
{{TableAttribute|type=text|display_name=Note|value={{{Has Note|}}}|property=Has Note}}
|}
      {| class="wikitable w-100 mb-4"
      |-
      ! colspan="1" | Pattern of embedded stories in this version
      |-
      |{{#ask:
[[-Has subobject::{{FULLPAGENAME}}]]
|?Has Short Title=Short Story
|?Has Sequence Number=Sequence Number
|?Has Narrator=Narrator
|?Has Name Variation=Name Variations
|mainlabel=-
|format=datatable
|sort=Has Sequence Number
}}{{CopyEmbeddedStories|}}
|}
      {| class="wikitable w-100 mb-4"
      |-
      ! colspan="1" | Connected prints
      |-
      |{{Version/Connected Prints}}
      |}
    </div>
  </div></div><div>[[Category:Version]][[Category:Textual Entity]]{{#set:Is Entity Type=Version}}{{#set:Semantic Dependency={{FULLPAGENAME}}}}{{#set:Has Language={{{Has Language Of Version|}}}}}{{#arraymap:{{{Has Parent Version|}}}|;|@@@@|{{#set:Has Manual Parent Version=@@@@}}}}</div></div></div></includeonly>

Latest revision as of 14:03, 26 February 2026