Template:Version: Difference between revisions

From Seven Sages of Rome
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 14: Line 14:
</noinclude>
</noinclude>
<includeonly><nowiki/>
<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 33: Line 34:
{{TableAttribute|type=list|display_name=Adapted into (version)|value={{{Is Adapted Into|}}}|property=Is Adapted Into|form=Version}}
{{TableAttribute|type=list|display_name=Adapted into (version)|value={{{Is Adapted Into|}}}|property=Is Adapted Into|form=Version}}
|-
|-
{{TableAttribute|type=attr|display_name=Source for composition and adaptation information|value={{{Has Source For Composition And Adaption Information|}}}|property=Has Source For Composition And Adaption Information}}
{{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=attr|display_name=Original language of version|value={{{Has Original Language Of Version|}}}|property=Has Original Language Of Version|form=Language}}
Line 41: Line 42:
{{TableAttribute|type=attr|display_name=Place of composition|value={{{Has Place Of Text Composition|}}}|property=Has Place Of Text Composition|form=Location}}
{{TableAttribute|type=attr|display_name=Place of composition|value={{{Has Place Of Text Composition|}}}|property=Has Place Of Text Composition|form=Location}}
|-
|-
{{TableAttribute|type=attr|display_name=Date of composition|value={{{Has Date Of Text Composition|}}}|property=Has Date Of Text Composition}}
| '''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=Source for date of composition|value={{{Has Source For Date Of Text Composition|}}}|property=Has Source For Date Of Text Composition}}
Line 50: Line 52:
|-
|-
{{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 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 58: Line 72:
  |?Has Sequence Number=Sequence Number
  |?Has Sequence Number=Sequence Number
  |?Has Narrator=Narrator
  |?Has Narrator=Narrator
|?Has Name Variation=Name Variations
  |mainlabel=-
  |mainlabel=-
  |sort=Has Sequence Number
  |sort=Has Sequence Number
Line 73: Line 88:
   |?Has Location=Location
   |?Has Location=Location
   |?Has Date Of Production=Date of Production
   |?Has Date Of Production=Date of Production
   |format=datatable
   |class=datatable
   |datatables-pageLength=5
   |mainlabel=Manuscript
   |datatables-lengthMenu=5,10,20,50
   |default=No connected manuscripts
}}
}}
[[Category:Version]]
[[Category:Version]]
</includeonly>
</includeonly>

Latest revision as of 19:41, 28 October 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.