Template:Infobox library: Difference between revisions
mNo edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
{{#if:{{{lib_short|}}}|{{infoboxtablerow|title=Abbreviated as|value={{{lib_short}}}}}}} | {{#if:{{{lib_short|}}}|{{infoboxtablerow|title=Abbreviated as|value={{{lib_short}}}}}}} | ||
{{infoboxtablerow|title=Country|value={{{country|?}}}}}}} | {{infoboxtablerow|title=Country|value={{{country|?}}}}}}} | ||
{{#if:{{{qid|}}}|{{infoboxtablerow|title=Wikidata | {{#if:{{{qid|}}}|{{infoboxtablerow|title=Wikidata QID |value=[https://www.wikidata.org/wiki/{{{qid}}} {{{qid}}}]}}}} | ||
{{#if:{{{website|}}}|{{infoboxtablerow|title=Official Website|value={{{website}}}}}}} | {{#if:{{{website|}}}|{{infoboxtablerow|title=Official Website|value={{{website}}}}}}} | ||
{{#if:{{{website2|}}}|{{infoboxtablerow|title=Second Website|value={{{website2}}}}}}} | {{#if:{{{website2|}}}|{{infoboxtablerow|title=Second Website|value={{{website2}}}}}}} | ||
{{#if:{{{gnd_id|}}}|{{infoboxtablerow|title=GND ID|value={{{gnd_id}}}}}}} | {{#if:{{{gnd_id|}}}|{{infoboxtablerow|title=GND ID|value=[https://d-nb.info/gnd/{{{gnd_id}}} {{{gnd_id}}}]}}}} | ||
{{#if:{{{gnd_id2|}}}|{{infoboxtablerow|title=GND ID | {{#if:{{{gnd_id2|}}}|{{infoboxtablerow|title=GND ID|value=[https://d-nb.info/gnd/{{{gnd_id2}}} {{{gnd_id2}}}]}}}} | ||
{{#if:{{{isil|}}}|{{infoboxtablerow|title=ISIL|value={{{isil}}}}}}} | {{#if:{{{isil|}}}|{{infoboxtablerow|title=ISIL|value={{{isil}}}}}}} | ||
{{#if:{{{isil2|}}}|{{infoboxtablerow|title=ISIL 2|value={{{isil2}}}}}}} | {{#if:{{{isil2|}}}|{{infoboxtablerow|title=ISIL 2|value={{{isil2}}}}}}} | ||
{{#if:{{{catalogue1|}}}|{{infoboxtablerow|title=Catalogue|value={{{catalogue1}}}}}}} | |||
{{#if:{{{catalogue2|}}}|{{infoboxtablerow|title=Catalogue 2|value={{{catalogue2}}}}}}} | |||
{{#if:{{{catalogue3|}}}|{{infoboxtablerow|title=Catalogue 3|value={{{catalogue3}}}}}}} | |||
{{#if:{{{catalogue4|}}}|{{infoboxtablerow|title=Catalogue 4|value={{{catalogue4}}}}}}} | |||
{{#if:{{{catalogue5|}}}|{{infoboxtablerow|title=Catalogue 5|value={{{catalogue5}}}}}}} | |||
{{#if:{{{latitude|}}}| | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align: center; padding: 5px;" {{!}} {{#tag:mapframe|{ | |||
"type": "Feature", | |||
"geometry": { | |||
"type": "Point", | |||
"coordinates": [{{{longitude}}}, {{{latitude}}}] | |||
}, | |||
"properties": { | |||
"marker-symbol": "monument", | |||
"marker-color": "#ff0000" | |||
} | |||
}|width=300|height=300|zoom=5|latitude={{{latitude}}}|longitude={{{longitude}}}|align=center}} | |||
}} | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Template giving basic information about the library a manuscript or collection is located at.", | |||
"params": { | "params": { | ||
"gnd_id": { | "gnd_id": { | ||
| Line 23: | Line 43: | ||
"gnd_id2": { | "gnd_id2": { | ||
"label": "GND ID 2", | "label": "GND ID 2", | ||
"description": "If the library has two GND | "description": "If the library has two GND IDs (e.g. in historical cases)", | ||
"type": "unknown" | "type": "unknown" | ||
}, | }, | ||
| Line 34: | Line 54: | ||
"label": "Second Website", | "label": "Second Website", | ||
"description": "The URL of a second relevant webpage", | "description": "The URL of a second relevant webpage", | ||
"type": "url" | |||
}, | |||
"catalogue1": { | |||
"label": "Catalogue", | |||
"description": "The URL of a catalogue of the (medieval) manuscripts, be it an online catalogue or a digital copy of a printed catalogue.", | |||
"type": "url" | |||
}, | |||
"catalogue2": { | |||
"label": "Catalogue 2", | |||
"description": "The URL of a second relevant catalogue.", | |||
"type": "url" | |||
}, | |||
"catalogue3": { | |||
"label": "Catalogue 3", | |||
"description": "The URL of a another relevant catalogue.", | |||
"type": "url" | |||
}, | |||
"catalogue4": { | |||
"label": "Catalogue 4", | |||
"description": "The URL of a another relevant catalogue.", | |||
"type": "url" | |||
}, | |||
"catalogue5": { | |||
"label": "Catalogue 5", | |||
"description": "The URL of a another relevant catalogue.", | |||
"type": "url" | "type": "url" | ||
}, | }, | ||
| Line 69: | Line 114: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | |||
"latitude": { | |||
"label": "Latitude", | |||
"description": "Latitude in decimal degrees for map display", | |||
"required": false, | |||
"type": "number", | |||
"example": "40.75" | |||
}, | |||
"longitude": { | |||
"label": "Longitude", | |||
"description": "Longitude in decimal degrees for map display", | |||
"required": false, | |||
"type": "number", | |||
"example": "14.633" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"lib_normalized", | "lib_normalized", | ||
| Line 77: | Line 135: | ||
"place", | "place", | ||
"country", | "country", | ||
"catalogue1", | |||
"catalogue2", | |||
"catalogue3", | |||
"catalogue4", | |||
"catalogue5", | |||
"website", | "website", | ||
"website2", | "website2", | ||
| Line 83: | Line 146: | ||
"gnd_id2", | "gnd_id2", | ||
"isil", | "isil", | ||
"isil2" | "isil2", | ||
"latitude", | |||
"longitude" | |||
] | ] | ||
} | } | ||
Latest revision as of 22:47, 2 December 2025
| Place | ? |
|---|---|
| Full Name | ? |
| Country | ? |
Template giving basic information about the library a manuscript or collection is located at.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Full Name | lib_normalized | The full name of the library in the language of its country | Unknown | required |
| Abbreviated as | lib_short | The abbreviation that is used on the wiki | String | suggested |
| Place | place | The city, town, etc. of the library | Unknown | required |
| Country | country | The country where the library is | Unknown | required |
| Catalogue | catalogue1 | The URL of a catalogue of the (medieval) manuscripts, be it an online catalogue or a digital copy of a printed catalogue. | URL | optional |
| Catalogue 2 | catalogue2 | The URL of a second relevant catalogue. | URL | optional |
| Catalogue 3 | catalogue3 | The URL of a another relevant catalogue. | URL | optional |
| Catalogue 4 | catalogue4 | The URL of a another relevant catalogue. | URL | optional |
| Catalogue 5 | catalogue5 | The URL of a another relevant catalogue. | URL | optional |
| Official Website | website | The URL to the webpage of the library | URL | optional |
| Second Website | website2 | The URL of a second relevant webpage | URL | optional |
| QID | qid | The QID the library has in Wikidata | Unknown | suggested |
| GND ID | gnd_id | The ID the library has in the GND | Unknown | optional |
| GND ID 2 | gnd_id2 | If the library has two GND IDs (e.g. in historical cases) | Unknown | optional |
| ISIL | isil | The International Standard Identifier for Libraries and Related Organizations (ISIL) | Unknown | optional |
| ISIL 2 | isil2 | If the library has a second ISIL (e.g. in historical cases) | Unknown | optional |
| Latitude | latitude | Latitude in decimal degrees for map display
| Number | optional |
| Longitude | longitude | Longitude in decimal degrees for map display
| Number | optional |