Template:Version: Difference between revisions

From Seven Sages of Rome
No edit summary
No edit summary
Tag: Manual revert
 
(32 intermediate revisions by the same user not shown)
Line 13: Line 13:
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly><nowiki/>
{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}}
{| class=wikitable border=1
{| class=wikitable border=1
!colspan=2 style="text-align:left"|Version
!colspan=2 style="text-align:left"|Version
|-
|-
{{TableAttribute|attr|Reference Number|{{{Has Reference Number|}}}|Has Reference Number}}
{{TableAttribute|type=attr|display_name=Reference Number|value={{{Has Reference Number|}}}|property=Has Reference Number}}
|-
|-
{{TableAttribute|attr|Author|{{{Has Author|}}}|Has Author}}
{{TableAttribute|type=attr|display_name=Author|value={{{Has Author|}}}|property=Has Author|form=Person}}
|-
|-
{{TableAttribute|attr|Title|{{{Has Title|}}}|Has Title}}
{{TableAttribute|type=attr|display_name=Title|value={{{Has Title|}}}|property=Has Title}}
|-
|-
{{TableAttribute|attr|Siglum of the version of the Seven Sages|{{{Has Siglum|}}}|Has Siglum}}
{{TableAttribute|type=attr|display_name=Siglum of the version of the Seven Sages|value={{{Has Siglum|}}}|property=Has Siglum}}
|-
|-
{{TableAttribute|attr|Version Number|{{{Has Version Number|}}}|Has Version Number}}
{{TableAttribute|type=attr|display_name=Version Number|value={{{Has Version Number|}}}|property=Has Version Number}}
|-
|-
{{TableAttribute|attr|Place of composition|{{{Has Place Of Text Composition|}}}|Has Place Of Text Composition}}
{{TableAttribute|type=attr|display_name=Branch of the tradition|value={{{Has Branch Of Tradition|}}}|property=Has Branch Of Tradition|form=Tradition}}
|-
|-
{{TableAttribute|attr|Date of composition|{{{Has Date Of Text Composition|}}}|Has Date Of Text Composition}}
{{TableAttribute|type=attr|display_name=Adapted from (version)|value={{{Is Adapted From|}}}|property=Is Adapted From|form=Version}}
|-
|-
{{TableAttribute|attr|Source for date of composition|{{{Has Source For Date Of Text Composition|}}}|Has Source For Date Of Text Composition}}
{{TableAttribute|type=list|display_name=Adapted into (version)|value={{{Is Adapted Into|}}}|property=Is Adapted Into|form=Version}}
|-
|-
{{TableAttribute|attr|Language of text|{{{Has Text Language|}}}|Has Text Language}}
{{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}}
|-
|-
{{TableAttribute|attr|Regional or specific language of manuscript|{{{Has Manuscript Language|}}}|Has Manuscript Language}}
{{TableAttribute|type=attr|display_name=Original language of version|value={{{Has Original Language Of Version|}}}|property=Has Original Language Of Version|form=Language}}
|-
|-
{{TableAttribute|list|Modern research literature|{{{Has Modern Research Literature|}}}|Has Has Modern Research Literature}}
{{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 Text Composition|}}}|end_date={{{Has End Date Of Text Composition|}}}|date_range_property=Has Date Range Of Text Composition|sort_date_property=Has Sort Date Of Text Composition}}
|-
{{TableAttribute|type=attr|display_name=Source for date of composition|value={{{Has Source For Date Of Text Composition|}}}|property=Has Source For Date Of Text Composition}}
|-
{{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 manuscript|value={{{Has Manuscript Language|}}}|property=Has Manuscript Language|form=Language}}
|-
{{TableAttribute|type=list|display_name=Modern research literature|value={{{Has Modern Research Literature|}}}|property=Has Modern Research Literature|form=Modern Research Literature}}
|-
{{TableAttribute|type=list|display_name=Modern Editions|value={{{Has Modern Edition|}}}|property=Has Modern Edition|form=Modern Edition}}
|-
{{TableAttribute|type=attr|display_name=General Notes (Internal)|value={{{Has Internal Notes|}}}|property=Has Internal Notes}}
|-
|-
|}
|}
{{#if:{{{Has Note|}}}|<h1>Note</h1>{{{Has Note|}}}|}}
== Recorded secondary versions ==
{{#ask:
[[Category:Version||Secondary Version]]
|format=tree
|parent=Has Parent Version
|root={{PAGENAME}}
}}
== Pattern of embedded stories in this version ==
== Pattern of embedded stories in this version ==
{{#ask:
{{#ask:
Line 50: Line 76:
  |sort=Has Sequence Number
  |sort=Has Sequence Number
  |default=No embedded stories
  |default=No embedded stories
}}[[Category:Version]]
|format=plainlist
|introtemplate=VersionEmbeddedStoryTableHeader
|template=VersionEmbeddedStoryBody
|outrotemplate=VersionEmbeddedStoryTableFooter
}}
== Connected manuscripts ==
{{#ask:
  [[Category:Manuscript]]
  [[Has Siglum Of The Version Of The Seven Sages::{{PAGENAME}}]]
  |?Has Language=Language
  |?Has Location=Location
  |?Has Date Of Production=Date of Production
  |class=datatable
  |mainlabel=Manuscript
  |default=No connected manuscripts
}}
[[Category:Version]]
</includeonly>
</includeonly>

Latest revision as of 20:02, 13 November 2024

This is the "Version" template.

It should be called in the following format:

{{Version
|Has Reference Number=
|Name of author=
|Has Title=
|Has Siglum=
|Has Version Number=
|Has Place Of Text Composition=
|Has Date Of Text Composition=
|Has Source For Date Of Text Composition=
|Has Text Language=
|Has Manuscript Language=
}}

Edit the page to see the template text.