Template:Infobox collection: Difference between revisions
Clemens Radl (talk | contribs) m (Typo (?)) |
(added template for copy&paste) |
||
(44 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable floatright" | {| class="wikitable floatright" | ||
{{infoboxtablerow|title=Title|value={{{title|?}}}}}}} | |||
| {{{title|}}} | {{infoboxtablerow|title=Key|value={{{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: {{{ | {{#if:{{{alttitle2|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle2}}}}}}} | ||
| | {{#if:{{{alttitle3|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle3}}}}}}} | ||
{{#if:{{{alttitle4|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle4}}}}}}} | |||
| {{{tpq| | {{#if:{{{alttitle5|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle5}}}}}}} | ||
| | {{#if:{{{alttitle6|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle6}}}}}}} | ||
{{#if:{{{alttitle7|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle7}}}}}}} | |||
| {{{ | {{#if:{{{alttitle8|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle8}}}}}}} | ||
| | {{#if:{{{alttitle9|}}}|{{infoboxtablerow|title=Alternative title|value={{{alttitle9}}}}}}} | ||
{{#if:{{{wikidata|}}}|{{infoboxtablerow|title=Wikidata Item no.|value=[https://www.wikidata.org/wiki/{{{wikidata}}} {{{wikidata}}}]}}}} | |||
| {{{ | {{#if:{{{size|}}}|{{infoboxtablerow|title=Size|value={{{size}}}}}}} | ||
{{#if:{{{tpq|}}}|{{infoboxtablerow|title=Terminus post quem|value={{{tpq}}}}}}} | |||
{{#if:{{{taq|}}}|{{infoboxtablerow|title=Terminus ante quem|value={{{taq}}}}}}} | |||
{{infoboxtablerow|title=Century|value={{{century|?}}}}}}} | |||
{{#if:{{{location|}}}|{{infoboxtablerow|title=Place of origin|value={{{location}}}}}}} | |||
{{#if:{{{normregion|}}}|{{infoboxtablerow|title=European region of origin|value={{{normregion}}}}}}} | |||
{{#if:{{{generalregion|}}}|{{infoboxtablerow|title=General region of origin|value={{{generalregion}}}}}}} | |||
{{#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 | ||
== 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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Collection title, usually the same as the page title
| Unknown | required |
Alternative title | alttitle | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 1 | alttitle1 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 2 | alttitle2 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 3 | alttitle3 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 4 | alttitle4 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 5 | alttitle5 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 6 | alttitle6 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 7 | alttitle7 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 8 | alttitle8 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Alternative title 9 | alttitle9 | Alternative title for the collection, you can use up to ten alternative titles. | Unknown | optional |
Key | key | The Clavis Canonum database key (usually two upper case letters) | Unknown | optional |
Principal author 1 | author1 | 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.
| String | required |
Principal author 2 | author2 | Second main author of this description (up to three authors are supported). Please provide only one name in the form "First name(s) Surname".
| Unknown | optional |
Principal author 3 | author3 | Third main author of this description (up to three authors are supported). Please provide only one name in the form "First name(s) Surname".
| Unknown | optional |
Size | size | Please use one of the suggested entries. The page should also be placed in the corresponding category of the same name.
| Unknown | optional |
Terminus post quem | tpq | Please give one specific year, avoid qualifiers such as 'ca.' | Unknown | optional |
Terminus ante quem | taq | Please give one specific year, avoid qualifiers such as 'ca.' | Unknown | optional |
Century | century | Please choose one century. The page should also be placed in the corresponding category.
| Unknown | optional |
Place of origin | location | If applicable, supply a precise place of origin (modern place names).
| Unknown | optional |
Region of origin | normregion | 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.
| Unknown | optional |
General region | generalregion | 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").
| Unknown | optional |
Specific region | specificregion | If possible, you can add a specific region below the level of the predefined European regions. This value should correspond to an appropriate category.
| Unknown | optional |
Wikidata Item No. | wikidata | Just the wikidata number, usually beginning with 'Q...' followed by several digits, the appropriate link will be created automatically | Unknown | optional |
Structure | structure | Structure of the collection, please choose one that seems best fitting.
| Unknown | optional |
Manuscripts | mss | Please choose the appropriate category
| Unknown | optional |
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 =
}}