Template:Infobox collection: Difference between revisions

From Clavis Canonum
(Display size)
(added template for copy&paste)
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| 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 17: 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}}}]}}}}
! Size
{{#if:{{{size|}}}|{{infoboxtablerow|title=Size|value={{{size}}}}}}}
| {{{size|}}}
{{#if:{{{tpq|}}}|{{infoboxtablerow|title=Terminus post quem|value={{{tpq}}}}}}}
|-
{{#if:{{{taq|}}}|{{infoboxtablerow|title=Terminus ante quem|value={{{taq}}}}}}}
! Terminus post quem
{{infoboxtablerow|title=Century|value={{{century|?}}}}}}}
| {{{tpq|?}}}
{{#if:{{{location|}}}|{{infoboxtablerow|title=Place of origin|value={{{location}}}}}}}
|-
{{#if:{{{normregion|}}}|{{infoboxtablerow|title=European region of origin|value={{{normregion}}}}}}}
! Terminus ante quem
{{#if:{{{generalregion|}}}|{{infoboxtablerow|title=General region of origin|value={{{generalregion}}}}}}}
| {{{taq|?}}}
{{#if:{{{specificregion|}}}|{{infoboxtablerow|title=Specific region of origin|value={{{specificregion}}}}}}}
|-
! Location
| {{{location|?}}}
|-
{{#if:{{{author1|}}}|{{infoboxtablerow|title=Main author|value={{{author1}}}}}}}
{{#if:{{{author1|}}}|{{infoboxtablerow|title=Main author|value={{{author1}}}}}}}
{{#if:{{{author2|}}}|{{infoboxtablerow|title=Main author|value={{{author2}}}}}}}
{{#if:{{{author2|}}}|{{infoboxtablerow|title=Main author|value={{{author2}}}}}}}
{{#if:{{{author3|}}}|{{infoboxtablerow|title=Main author|value={{{author3}}}}}}}
{{#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>
Line 41: Line 35:
"label": "Title",
"label": "Title",
"description": "Collection title, usually the same as the page title",
"description": "Collection title, usually the same as the page title",
"required": true
"required": true,
"autovalue": "{{subst:FULLPAGENAME}}"
},
},
"key": {
"key": {
Line 50: Line 45:
"author1": {
"author1": {
"label": "Principal author 1",
"label": "Principal author 1",
"description": "The main author of this description (up to three authors are supported)",
"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,
"required": true,
"type": "string"
"type": "string",
"autovalue": "{{subst:Linda Fowler-Magerl}}",
"example": "[[User:Clemens Radl|Clemens Radl]]"
},
},
"author2": {
"author2": {
"label": "Principal author 2",
"label": "Principal author 2",
"description": "Main author of this description (up to three authors are supported)",
"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
"required": false,
"example": "[[User:Danica Summerlin|Danica]]"
},
},
"author3": {
"author3": {
"label": "Principal author 3",
"label": "Principal author 3",
"description": "Main author of this description (up to three authors are supported)",
"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
"required": false,
"example": "[[User:Christof Rolker|Christof Rolker]]"
},
},
"alttitle": {
"alttitle": {
Line 123: Line 122:
"description": "Please give one specific year, avoid qualifiers such as 'ca.'",
"description": "Please give one specific year, avoid qualifiers such as 'ca.'",
"required": false
"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": {
"location": {
"label": "Location",
"label": "Place of origin",
"required": false
"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)"
]
},
},
        "size": {
          "label": "Size",
          "description": "Please use on of the suggested entries. The page should also be placed in the corresponding category of the same name.",
          "suggestedvalues": [
            "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": {
"wikidata": {
"label": "Wikidata Item No.",
"label": "Wikidata Item No.",
"description": "Just the wikidata number, usually beginning with 'Q...' followed by several digits, the appropriate link will be created automatically",
"description": "Just the wikidata number, usually beginning with 'Q...' followed by several digits, the appropriate link will be created automatically",
"required": false
"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"
}
}
},
},
Line 157: Line 234:
"alttitle8",
"alttitle8",
"alttitle9",
"alttitle9",
"key",
"author1",
"author1",
"author2",
"author2",
"author3",
"author3",
"key",
"size",
        "size",
"tpq",
"taq",
"taq",
"tpq",
"century",
"location",
"location",
"wikidata"
"normregion",
"generalregion",
"specificregion",
"wikidata",
"structure",
"mss"
]
]
}
}
Line 173: Line 256:


@@@TODO: document fields
@@@TODO: document fields
== Copy&paste ==
To manually insert an infobox, you can copy&paste the following lines (containing only those fields that normally are filled; for a complete list, see above):
<code><nowiki>
{{Infobox collection
    | century    = saec. ...
    | title      = Collectio ...
    | location    =
    | normregion  =
    | wikidata    =
    | alttitle    =
    | author1    =
}}
</nowiki></code>
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 09:58, 13 December 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

Copy&paste

To manually insert an infobox, you can copy&paste the following lines (containing only those fields that normally are filled; for a complete list, see above):

{{Infobox collection | century = saec. ... | title = Collectio ... | location = | normregion = | wikidata = | alttitle = | author1 = }}