Template:Infobox library: Difference between revisions
mNo edit summary |
added map feature to template |
||
| Line 16: | Line 16: | ||
{{#if:{{{catalogue4|}}}|{{infoboxtablerow|title=Catalogue 4|value={{{catalogue4}}}}}}} | {{#if:{{{catalogue4|}}}|{{infoboxtablerow|title=Catalogue 4|value={{{catalogue4}}}}}}} | ||
{{#if:{{{catalogue5|}}}|{{infoboxtablerow|title=Catalogue 5|value={{{catalogue5}}}}}}} | {{#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=200|height=200|zoom=7|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 99: | 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 118: | Line 146: | ||
"gnd_id2", | "gnd_id2", | ||
"isil", | "isil", | ||
"isil2" | "isil2", | ||
"latitude", | |||
"longitude" | |||
] | ] | ||
} | } | ||
Revision as of 12:11, 28 November 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 |