Template:Infobox collection: Difference between revisions

From Clavis Canonum
(Started with templatedata)
(some collections are lost, hence no mss at all)
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatedata>
{
  "description": "Infobox for a collection entry",
  "params": {
    "title": {
      "label": "Title",
      "required": false
    }
  }
}
</templatedata>
{| class="wikitable floatright"
{| class="wikitable floatright"
! Title
{{infoboxtablerow|title=Title|value={{{title|?}}}}}}}
| {{{title|}}}
{{infoboxtablerow|title=Key|value={{{key|?}}}}}}}
|-
! Key
| {{Coll|{{{key|}}}}}
|-
{{#if:{{{alttitle|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle}}}}}}}
{{#if:{{{alttitle|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle}}}}}}}
{{#if:{{{alttitle1|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle1}}}}}}}
{{#if:{{{alttitle1|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle1}}}}}}}
Line 28: Line 13:
{{#if:{{{alttitle9|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle9}}}}}}}
{{#if:{{{alttitle9|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle9}}}}}}}
{{#if:{{{wikidata|}}}|{{infoboxtablerow|title=Wikidata Item no.|value=[https://www.wikidata.org/wiki/{{{wikidata}}} {{{wikidata}}}]}}}}
{{#if:{{{wikidata|}}}|{{infoboxtablerow|title=Wikidata Item no.|value=[https://www.wikidata.org/wiki/{{{wikidata}}} {{{wikidata}}}]}}}}
! Terminus post quem
{{#if:{{{size|}}}|{{infoboxtablerow|title=Size|value={{{size}}}}}}}
| {{{tpq|?}}}
{{#if:{{{tpq|}}}|{{infoboxtablerow|title=Terminus post quem|value={{{tpq}}}}}}}
|-
{{#if:{{{taq|}}}|{{infoboxtablerow|title=Terminus ante quem|value={{{taq}}}}}}}
! Terminus ante quem
{{infoboxtablerow|title=Century|value={{{century|?}}}}}}}
| {{{taq|?}}}
{{#if:{{{location|}}}|{{infoboxtablerow|title=Place of origin|value={{{location}}}}}}}
|-
{{#if:{{{normregion|}}}|{{infoboxtablerow|title=European region of origin|value={{{normregion}}}}}}}
! Location
{{#if:{{{generalregion|}}}|{{infoboxtablerow|title=General region of origin|value={{{generalregion}}}}}}}
| {{{location|?}}}
{{#if:{{{specificregion|}}}|{{infoboxtablerow|title=Specific region of origin|value={{{specificregion}}}}}}}
{{#if:{{{author1|}}}|{{infoboxtablerow|title=Main author|value={{{author1}}}}}}}
{{#if:{{{author2|}}}|{{infoboxtablerow|title=Main author|value={{{author2}}}}}}}
{{#if:{{{author3|}}}|{{infoboxtablerow|title=Main author|value={{{author3}}}}}}}
{{#if:{{{structure|}}}|{{infoboxtablerow|title=Structure|value={{{structure}}}}}}}
{{#if:{{{mss|}}}|{{infoboxtablerow|title=No. of manuscripts|value={{{mss}}}}}}}
|}
|}
<noinclude>
<noinclude>
<templatedata>
{
"description": "Infobox for a collection entry",
"params": {
"title": {
"label": "Title",
"description": "Collection title, usually the same as the page title",
"required": true,
"autovalue": "{{subst:FULLPAGENAME}}"
},
"key": {
"label": "Key",
"description": "The Clavis Canonum database key (usually two upper case letters)",
"required": false
},
"author1": {
"label": "Principal author 1",
"description": "The main author of this description (up to three authors are supported). Please use the form \"First name(s) Surname\". Please use only one name per field and link it to the user page. If no name is provided, Linda Fowler-Magerl is assumed to be author.",
"required": true,
"type": "string",
"autovalue": "{{subst:Linda Fowler-Magerl}}",
"example": "[[User:Clemens Radl|Clemens Radl]]"
},
"author2": {
"label": "Principal author 2",
"description": "Second main author of this description (up to three authors are supported). Please provide only one name in the form \"First name(s) Surname\".",
"required": false,
"example": "[[User:Danica Summerlin|Danica]]"
},
"author3": {
"label": "Principal author 3",
"description": "Third main author of this description (up to three authors are supported). Please provide only one name in the form \"First name(s) Surname\".",
"required": false,
"example": "[[User:Christof Rolker|Christof Rolker]]"
},
"alttitle": {
"label": "Alternative title",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle1": {
"label": "Alternative title 1",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle2": {
"label": "Alternative title 2",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle3": {
"label": "Alternative title 3",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle4": {
"label": "Alternative title 4",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle5": {
"label": "Alternative title 5",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle6": {
"label": "Alternative title 6",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle7": {
"label": "Alternative title 7",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle8": {
"label": "Alternative title 8",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"alttitle9": {
"label": "Alternative title 9",
"description": "Alternative title for the collection, you can use up to ten alternative titles.",
"required": false
},
"taq": {
"label": "Terminus ante quem",
"description": "Please give one specific year, avoid qualifiers such as 'ca.'",
"required": false
},
"tpq": {
"label": "Terminus post quem",
"description": "Please give one specific year, avoid qualifiers such as 'ca.'",
"required": false
},
"century": {
"label": "Century",
"description": "Please choose one century. The page should also be placed in the corresponding category.",
"required": false,
"suggestedvalues": [
"saec. I",
"saec. II",
"saec. III",
"saec. IV",
"saec. V",
"saec. VI",
"saec. VII",
"saec. VIII",
"saec. IX",
"saec. X",
"saec. XI",
"saec. XII",
"saec. XIII"
]
},
"location": {
"label": "Place of origin",
"required": false,
"description": "If applicable, supply a precise place of origin (modern place names).",
"example": "Regensburg, Worms, Rome, ..."
},
"size": {
"label": "Size",
"description": "Please use one of the suggested entries. The page should also be placed in the corresponding category of the same name.",
"suggestedvalues": [
"very large (more than 2000 canons)",
"large (1000 to 2000 canons)",
"medium (500 to 1000 canons)",
"small (100 to 500 canons)",
"very large (more than 2000 canons)",
"very small (less than 100 canons)"
]
},
"wikidata": {
"label": "Wikidata Item No.",
"description": "Just the wikidata number, usually beginning with 'Q...' followed by several digits, the appropriate link will be created automatically",
"required": false
},
"structure": {
"label": "Structure",
"description": "Structure of the collection, please choose one that seems best fitting.",
"suggestedvalues": [
"chronological",
"by topic",
"farrago"
]
},
"mss": {
"label": "Manuscripts",
"description": "Please choose the appropriate category",
"suggestedvalues": [
"none",
                "one",
"some (2–9)",
"many (10 to 99)",
                "very many (100+)"
]
},
"normregion": {
"label": "Region of origin",
"description": "If at all possible, please choose one of the predefined regions. If none of them seems fitting, you may leave this field blank and enter one of the other values from the broader regional categories into the field \"General region\". If you know the exact place of origin, please use the field \"Place of origin\" above and also specify the appropriate region here.",
"suggestedvalues": [
"Western France",
"Southern France",
"Eastern France",
"Northern France",
"Iberian Peninsula (excluding Catalonia)",
"Northern Italy",
"Central Italy",
"Southern Italy",
"Western Germany",
"Southern Germany",
"England",
"Ireland",
"Northern Africa"
]
},
"generalregion": {
"label": "General region",
"description": "This is an alternative region parameter. If you cannot fit the collection into one of the predefined thirteen European regions, you may use higher level regions here (such as \"Italy\" instead of the more specific \"Northern\", \"Central\", or \"Southern Italy\").",
"suggestedvalues": [
"Italy",
"Southern Europe and Mediterranean",
"France",
"Northwestern Europe",
"Germany"
]
},
"specificregion": {
"label": "Specific region",
"description": "If possible, you can add a specific region below the level of the predefined European regions. This value should correspond to an appropriate category.",
"example": "Bavaria"
}
},
"paramOrder": [
"title",
"alttitle",
"alttitle1",
"alttitle2",
"alttitle3",
"alttitle4",
"alttitle5",
"alttitle6",
"alttitle7",
"alttitle8",
"alttitle9",
"key",
"author1",
"author2",
"author3",
"size",
"tpq",
"taq",
"century",
"location",
"normregion",
"generalregion",
"specificregion",
"wikidata",
"structure",
"mss"
]
}
</templatedata>
== Usage ==
== Usage ==


@@@TODO: document fields
@@@TODO: document fields
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 22:39, 8 June 2024

Title ?
Key ?
Century ?

Infobox for a collection entry

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Collection title, usually the same as the page title

Auto value
{{subst:FULLPAGENAME}}
Unknownrequired
Alternative titlealttitle

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 1alttitle1

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 2alttitle2

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 3alttitle3

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 4alttitle4

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 5alttitle5

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 6alttitle6

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 7alttitle7

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 8alttitle8

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Alternative title 9alttitle9

Alternative title for the collection, you can use up to ten alternative titles.

Unknownoptional
Keykey

The Clavis Canonum database key (usually two upper case letters)

Unknownoptional
Principal author 1author1

The main author of this description (up to three authors are supported). Please use the form "First name(s) Surname". Please use only one name per field and link it to the user page. If no name is provided, Linda Fowler-Magerl is assumed to be author.

Example
[[User:Clemens Radl|Clemens Radl]]
Auto value
{{subst:Linda Fowler-Magerl}}
Stringrequired
Principal author 2author2

Second main author of this description (up to three authors are supported). Please provide only one name in the form "First name(s) Surname".

Example
[[User:Danica Summerlin|Danica]]
Unknownoptional
Principal author 3author3

Third main author of this description (up to three authors are supported). Please provide only one name in the form "First name(s) Surname".

Example
[[User:Christof Rolker|Christof Rolker]]
Unknownoptional
Sizesize

Please use one of the suggested entries. The page should also be placed in the corresponding category of the same name.

Suggested values
very large (more than 2000 canons) large (1000 to 2000 canons) medium (500 to 1000 canons) small (100 to 500 canons) very large (more than 2000 canons) very small (less than 100 canons)
Unknownoptional
Terminus post quemtpq

Please give one specific year, avoid qualifiers such as 'ca.'

Unknownoptional
Terminus ante quemtaq

Please give one specific year, avoid qualifiers such as 'ca.'

Unknownoptional
Centurycentury

Please choose one century. The page should also be placed in the corresponding category.

Suggested values
saec. I saec. II saec. III saec. IV saec. V saec. VI saec. VII saec. VIII saec. IX saec. X saec. XI saec. XII saec. XIII
Unknownoptional
Place of originlocation

If applicable, supply a precise place of origin (modern place names).

Example
Regensburg, Worms, Rome, ...
Unknownoptional
Region of originnormregion

If at all possible, please choose one of the predefined regions. If none of them seems fitting, you may leave this field blank and enter one of the other values from the broader regional categories into the field "General region". If you know the exact place of origin, please use the field "Place of origin" above and also specify the appropriate region here.

Suggested values
Western France Southern France Eastern France Northern France Iberian Peninsula (excluding Catalonia) Northern Italy Central Italy Southern Italy Western Germany Southern Germany England Ireland Northern Africa
Unknownoptional
General regiongeneralregion

This is an alternative region parameter. If you cannot fit the collection into one of the predefined thirteen European regions, you may use higher level regions here (such as "Italy" instead of the more specific "Northern", "Central", or "Southern Italy").

Suggested values
Italy Southern Europe and Mediterranean France Northwestern Europe Germany
Unknownoptional
Specific regionspecificregion

If possible, you can add a specific region below the level of the predefined European regions. This value should correspond to an appropriate category.

Example
Bavaria
Unknownoptional
Wikidata Item No.wikidata

Just the wikidata number, usually beginning with 'Q...' followed by several digits, the appropriate link will be created automatically

Unknownoptional
Structurestructure

Structure of the collection, please choose one that seems best fitting.

Suggested values
chronological by topic farrago
Unknownoptional
Manuscriptsmss

Please choose the appropriate category

Suggested values
none one some (2–9) many (10 to 99) very many (100+)
Unknownoptional

Usage

@@@TODO: document fields