Template:Infobox library: Difference between revisions

Selected Canon Law Collections, ca. 500–1234
mNo edit summary
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable floatright"
{| class="wikitable floatright"
{{infoboxtablerow|title=Place|value={{{Place|?}}}}}}}
{{infoboxtablerow|title=Place|value={{{place|?}}}}}}}
{{infoboxtablerow|title=Name|value={{{Name|?}}}}}}}
{{infoboxtablerow|title=Full Name|value={{{lib_normalized|?}}}}}}}
{{infoboxtablerow|title=Country|value={{{Country|?}}}}}}}
{{#if:{{{lib_short|}}}|{{infoboxtablerow|title=Abbreviated as|value={{{lib_short}}}}}}}
{{#if:{{{Abbreviated as|}}}|{{infoboxtablerow|title=Abbreviated as|value={{{Abbreviated as}}}}}}}
{{infoboxtablerow|title=Country|value={{{country|?}}}}}}}
{{#if:{{{QID|}}}|{{infoboxtablerow|title=Wikidata Item no.|value=[https://www.wikidata.org/wiki/{{{QID}}} {{{QID}}}]}}}}
{{#if:{{{qid|}}}|{{infoboxtablerow|title=Wikidata QID |value=[https://www.wikidata.org/wiki/{{{qid}}} {{{qid}}}]}}}}
{{#if:{{{Webpage|}}}|{{infoboxtablerow|title=Webpage|value={{{Webpage}}}}}}}
{{#if:{{{website|}}}|{{infoboxtablerow|title=Official Website|value={{{website}}}}}}}
{{#if:{{{website2|}}}|{{infoboxtablerow|title=Second Website|value={{{website2}}}}}}}
{{#if:{{{gnd_id|}}}|{{infoboxtablerow|title=GND ID|value=[https://d-nb.info/gnd/{{{gnd_id}}} {{{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:{{{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": {
"label": "GND ID",
"label": "GND ID",
"description": "The ID the library has in the GND",
"description": "The ID the library has in the GND",
"type": "unknown"
},
"gnd_id2": {
"label": "GND ID 2",
"description": "If the library has two GND IDs (e.g. in historical cases)",
"type": "unknown"
"type": "unknown"
},
},
Line 21: Line 51:
"type": "url"
"type": "url"
},
},
"website2": {
"label": "Second Website",
"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"
        },
"isil": {
"isil": {
"label": "ISIL",
"label": "ISIL",
"description": "The International Standard Identifier for Libraries and Related Organizations (ISIL)"
"description": "The International Standard Identifier for Libraries and Related Organizations (ISIL)"
},
"isil2": {
"label": "ISIL 2",
"description": "If the library has a second ISIL (e.g. in historical cases)"
},
},
"qid": {
"qid": {
Line 44: Line 108:
"description": "The full name of the library in the language of its country",
"description": "The full name of the library in the language of its country",
"required": true
"required": true
},
"lib_short": {
"label": "Abbreviated as",
"description": "The abbreviation that is used on the wiki",
"type": "string",
"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"
}
}
},
},
"description": "Template giving basic information about the library a manuscript or collection is located at.",
"paramOrder": [
"paramOrder": [
"lib_normalized",
"lib_normalized",
"lib_short",
"place",
"place",
"country",
"country",
"catalogue1",
"catalogue2",
"catalogue3",
"catalogue4",
"catalogue5",
"website",
"website",
        "website2",
"qid",
"qid",
"gnd_id",
"gnd_id",
"isil"
"gnd_id2",
"isil",
"isil2",
"latitude",
"longitude"
]
]
}
}
</templatedata>
</templatedata>
[[Category:Template]]
</noinclude>
</noinclude>

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Full Namelib_normalized

The full name of the library in the language of its country

Unknownrequired
Abbreviated aslib_short

The abbreviation that is used on the wiki

Stringsuggested
Placeplace

The city, town, etc. of the library

Unknownrequired
Countrycountry

The country where the library is

Unknownrequired
Cataloguecatalogue1

The URL of a catalogue of the (medieval) manuscripts, be it an online catalogue or a digital copy of a printed catalogue.

URLoptional
Catalogue 2catalogue2

The URL of a second relevant catalogue.

URLoptional
Catalogue 3catalogue3

The URL of a another relevant catalogue.

URLoptional
Catalogue 4catalogue4

The URL of a another relevant catalogue.

URLoptional
Catalogue 5catalogue5

The URL of a another relevant catalogue.

URLoptional
Official Websitewebsite

The URL to the webpage of the library

URLoptional
Second Websitewebsite2

The URL of a second relevant webpage

URLoptional
QIDqid

The QID the library has in Wikidata

Unknownsuggested
GND IDgnd_id

The ID the library has in the GND

Unknownoptional
GND ID 2gnd_id2

If the library has two GND IDs (e.g. in historical cases)

Unknownoptional
ISILisil

The International Standard Identifier for Libraries and Related Organizations (ISIL)

Unknownoptional
ISIL 2isil2

If the library has a second ISIL (e.g. in historical cases)

Unknownoptional
Latitudelatitude

Latitude in decimal degrees for map display

Example
40.75
Numberoptional
Longitudelongitude

Longitude in decimal degrees for map display

Example
14.633
Numberoptional