Template:Infobox library: Difference between revisions
From Clavis Canonum
(Added rows in case of multiple GNDs or ISILs) |
(added second webpage) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
{{#if:{{{qid|}}}|{{infoboxtablerow|title=Wikidata Item no.|value=[https://www.wikidata.org/wiki/{{{qid}}} {{{qid}}}]}}}} | {{#if:{{{qid|}}}|{{infoboxtablerow|title=Wikidata Item no.|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:{{{gnd_id|}}}|{{infoboxtablerow|title=GND ID|value={{{gnd_id}}}}}}} | {{#if:{{{gnd_id|}}}|{{infoboxtablerow|title=GND ID|value={{{gnd_id}}}}}}} | ||
{{#if:{{{gnd_id2|}}}|{{infoboxtablerow|title=GND ID 2|value={{{gnd_id2}}}}}}} | {{#if:{{{gnd_id2|}}}|{{infoboxtablerow|title=GND ID 2|value={{{gnd_id2}}}}}}} | ||
Line 30: | Line 31: | ||
"type": "url" | "type": "url" | ||
}, | }, | ||
"website2": { | |||
"label": "Second Website", | |||
"description": "The URL of a second relevant webpage", | |||
"type": "url" | |||
}, | |||
"isil": { | "isil": { | ||
"label": "ISIL", | "label": "ISIL", | ||
Line 72: | Line 78: | ||
"country", | "country", | ||
"website", | "website", | ||
"website2", | |||
"qid", | "qid", | ||
"gnd_id", | "gnd_id", | ||
Line 80: | Line 87: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Template]] | |||
</noinclude> | </noinclude> |
Latest revision as of 12:52, 21 November 2024
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 |
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 |