Template:Version: Difference between revisions

From The Seven Sages of Rome
No edit summary
No edit summary
 
(47 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:
|Has Reference Number (label=Reference Number)
|Name of author (label=Name of author)
|Has Title (label=Title of version)
|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 text composition)
|Has Date Of Text Composition (label=Date of text composition)
|Has Source For Date Of Text Composition (label=Source for date of text composition)
|Has Text Language (label=Language of text)
|Has Manuscript Language (label=Regional or specific language of manuscript)
}}
</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|}}}}}|}}
{{{Has Description|}}}
<div class="noexcerpt">
<div class="noexcerpt">
<div class="container-fluid">
<div class="cc-page">
  <div class="row">
<div class="row">
    <!-- Left Column -->
<div class="col-lg-6">
    <div class="col-md-6">
{| class="wikitable w-100 mb-4"
|-
! colspan="2" | Identification and Basic Information
|-
{{TableAttribute|type=attr|display_name=Reference Number|value={{{Has Reference Number|}}}|property=Has Reference Number}}
{{TableAttribute|type=attr|display_name=Siglum of the version of the Seven Sages|value={{{Has Siglum|}}}|property=Has Siglum}}
{{TableAttribute|type=attr|display_name=Version Number|value={{{Has Version Number|}}}|property=Has Version Number}}
{{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}}
</div>
{{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}}
</section>|}}
|}
 
{{#if:{{{Has Branch Of Tradition|}}}{{{Is Adapted From|}}}{{{Is Adapted Into|}}}{{{Has Source For Composition And Adaption Information|}}}|
<section class="cc-card">
<h2 class="cc-card-heading">Tradition &amp; Lineage</h2>
<div class="cc-card-body">
{{TableAttributeNew|type=attr|display_name=Branch of the tradition|value={{{Has Branch Of Tradition|}}}|property=Has Branch Of Tradition|form=Tradition}}
{{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>|}}


      {| class="wikitable w-100 mb-4"
{{#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">
      ! colspan="1" | Note
<h2 class="cc-card-heading">Pattern of Embedded Stories in This Version</h2>
      |-
<div class="cc-card-body cc-card-body--table">
      |{{{Has Note|}}}
{{Version/EmbeddedStories}}{{CopyEmbeddedStories|}}
      |}
      {| 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-md-6">
|}}
{| class="wikitable w-100 mb-4"
|-
! colspan="2" | Language and Composition
|-
{{TableAttribute|type=attr|display_name=Original language of version|value={{{Has Original Language Of Version|}}}|property=Has Original 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}}
|-
{{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:{{#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">
! colspan="2" | Modern Scholarship and Editions
<h2 class="cc-card-heading">Connected Prints</h2>
|-
<div class="cc-card-body cc-card-body--table">
{{TableAttribute|type=list|display_name=Modern research literature|value={{{Has Modern Research Literature|}}}|property=Has Modern Research Literature|form=Modern Research Literature}}
{{Version/Connected Prints}}
{{TableAttribute|type=list|display_name=Modern Editions|value={{{Has Modern Edition|}}}|property=Has Modern Edition|form=Modern Edition}}
</div>
|}
</section>
|}}


{| class="wikitable w-100 mb-4"
|-
! colspan="2" | Notes and Commentary
|-
{{TableAttribute|type=text|display_name=Notes on motifs|value={{{Has Note On Motif|}}}|property=Has Note On Motif}}
{{TableAttribute|type=text|display_name=Notes on the frame|value={{{Has Note On The Frame|}}}|property=Has Note On The Frame}}
|}
      {| 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>
<div>[[Category:Version]][[Category:Textual Entity]]{{#set:Is Entity Type=Version}}{{#set:Semantic Dependency={{FULLPAGENAME}}}}{{#set:Has Language={{{Has Original Language Of Version|}}}}}</div></div></div></includeonly>
</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=@@@@}}}}{{#set:Has Siglum={{EscapedPagename}}}}</includeonly>

Latest revision as of 17:19, 2 March 2026