Template:Secondary Version: Difference between revisions
From Seven Sages of Rome
No edit summary |
No edit summary |
||
(38 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
}} | }} | ||
</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 | ||
Line 12: | Line 13: | ||
|- | |- | ||
{{TableAttribute|type=attr|display_name=Narrative / Scholarly Group|value={{{Has Narrative Or Scholarly Group|}}}|property=Has Narrative Or Scholarly Group}} | {{TableAttribute|type=attr|display_name=Narrative / Scholarly Group|value={{{Has Narrative Or Scholarly Group|}}}|property=Has Narrative Or Scholarly Group}} | ||
|- | |||
| '''Parent Versions''' || {{#show:{{PAGENAME}}|?Has Parent Version}} | |||
|- | |||
| '''Child Versions''' || {{#ask:[[Has Parent Version::{{PAGENAME}}]]|format=list}} | |||
|- | |||
{{TableAttribute|type=attr|display_name=Author|value={{{Has Author|}}}|property=Has Author|form=Person}} | |||
|- | |||
{{TableAttribute|type=attr|display_name=Title|value={{{Has Title|}}}|property=Has Title}} | |||
|- | |||
{{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=Branch of the tradition|value={{{Has Branch Of Tradition|}}}|property=Has Branch Of Tradition|form=Tradition}} | |||
|- | |||
{{TableAttribute|type=attr|display_name=Adapted from (version)|value={{{Is Adapted From|}}}|property=Is Adapted From|form=Version}} | |||
|- | |||
{{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}} | |||
|- | |||
{{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=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|}}}|}} | |||
== 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=- | |||
|sort=Has Sequence Number | |||
|default=No embedded stories | |||
|format=plainlist | |||
|introtemplate=VersionEmbeddedStoryTableHeader | |||
|template=VersionEmbeddedStoryBody | |||
|outrotemplate=VersionEmbeddedStoryTableFooter | |||
}} | |||
== Recorded branch of this secondary version == | |||
{{#ask: | |||
[[Category:Version||Secondary Version]] | |||
|format=tree | |||
|parent=Has Parent Version | |||
|root={{PAGENAME}} | |||
}} | |||
== Connected manuscripts == | |||
{{#ask: | |||
[[Category:Manuscript]] | |||
[[Has Language Group Within Version::{{PAGENAME}}]] OR [[Has Narrative Or Scholarly Group Within Version::{{PAGENAME}}]] OR [[Has Further Primary Scholarly Subgroup::{{PAGENAME}}]] OR [[Has Further Secondary Scholarly Subgroup::{{PAGENAME}}]] | |||
|?Has Language=Language | |||
|?Has Siglum Of The Version Of The Seven Sages=Version (siglum) | |||
|?Has Language Group Within Version=Language Group within Version | |||
|?Has Narrative Or Scholarly Group Within Version=Narrative/Scholarly Group within Version | |||
|?Has Further Primary Scholarly Subgroup=Further scholarly subgroup (1) | |||
|class=datatable | |||
|mainlabel=Manuscript | |||
|default=No connected manuscripts. | |||
}} | |||
{{#arraymap:{{#ask:[[Has Language Group Within Version::{{PAGENAME}}]]|?Has Siglum Of The Version Of The Seven Sages|headers=hide|mainlabel=-|link=none|format=plainlist}}|,|@@@@|{{#set:Has Parent Version=@@@@}}}} | |||
{{#arraymap:{{#ask:[[Has Narrative Or Scholarly Group Within Version::{{PAGENAME}}]]|?Has Language Group Within Version|headers=hide|mainlabel=-|link=none|format=plainlist}}|,|@@@@|{{#set:Has Parent Version=@@@@}}}} | |||
{{#arraymap:{{#ask:[[Has Further Primary Scholarly Subgroup::{{PAGENAME}}]]|?Has Narrative Or Scholarly Group Within Version|headers=hide|mainlabel=-|link=none|format=plainlist}}|,|@@@@|{{#set:Has Parent Version=@@@@}}}} | |||
{{#arraymap:{{#ask:[[Has Further Secondary Scholarly Subgroup::{{PAGENAME}}]]|?Has Further Primary Scholarly Subgroup|headers=hide|mainlabel=-|link=none|format=plainlist}}|,|@@@@|{{#set:Has Parent Version=@@@@}}}} | |||
[[Category:Secondary Version]] | [[Category:Secondary Version]] | ||
</includeonly> | </includeonly> |
Latest revision as of 19:42, 28 October 2024
This is the "Secondary Version" template.
It should be called in the following format:
{{Secondary Version |Has Language Within Version= |Has Narrative Or Scholarly Group= }}
Edit the page to see the template text.