Template:Infobox collection: Difference between revisions
Clemens Radl (talk | contribs) (Some more descriptions) |
Clemens Radl (talk | contribs) (Principal author) |
||
Line 25: | Line 25: | ||
! Location | ! Location | ||
| {{{location|?}}} | | {{{location|?}}} | ||
{{#if:{{{author1|}}}|{{infoboxtablerow|title=Main author|value={{{author1}}}}}}} | |||
{{#if:{{{author2|}}}|{{infoboxtablerow|title=Main author|value={{{author2}}}}}}} | |||
{{#if:{{{author3|}}}|{{infoboxtablerow|title=Main author|value={{{author3}}}}}}} | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox for a collection entry", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Collection title, usually the same as the page title", | |||
"required": true | |||
}, | |||
"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)", | |||
"required": true, | |||
"type": "string" | |||
}, | |||
"author2": { | |||
"label": "Principal author 2", | |||
"description": "Main author of this description (up to three authors are supported)", | |||
"required": false | |||
}, | |||
"author3": { | |||
"label": "Principal author 3", | |||
"description": "Main author of this description (up to three authors are supported)", | |||
"required": false | |||
}, | |||
"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 | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"required": false | |||
}, | |||
"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 | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"alttitle", | |||
"alttitle1", | |||
"alttitle2", | |||
"alttitle3", | |||
"alttitle4", | |||
"alttitle5", | |||
"alttitle6", | |||
"alttitle7", | |||
"alttitle8", | |||
"alttitle9", | |||
"author1", | |||
"author2", | |||
"author3", | |||
"key", | |||
"taq", | |||
"tpq", | |||
"location", | |||
"wikidata" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 10:52, 18 April 2023
Title | |
---|---|
Key | [1] |
Terminus post quem | ? |
Terminus ante quem | ? |
Location | ?
|
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 |
Principal author 1 | author1 | The main author of this description (up to three authors are supported) | String | required |
Principal author 2 | author2 | Main author of this description (up to three authors are supported) | Unknown | optional |
Principal author 3 | author3 | Main author of this description (up to three authors are supported) | Unknown | optional |
Key | key | The Clavis Canonum database key (usually two upper case letters) | Unknown | optional |
Terminus ante quem | taq | Please give one specific year, avoid qualifiers such as 'ca.' | Unknown | optional |
Terminus post quem | tpq | Please give one specific year, avoid qualifiers such as 'ca.' | Unknown | optional |
Location | location | no description | 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 |
Usage
@@@TODO: document fields