Template:Infobox library: Difference between revisions

From Clavis Canonum
mNo edit summary
(added second webpage)
 
(6 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|?}}}}}}}
{{infoboxtablerow|title=Country|value={{{country|?}}}}}}}
{{#if:{{{Abbreviated as|}}}|{{infoboxtablerow|title=Abbreviated as|value={{{Abbreviated as}}}}}}}
{{#if:{{{lib_short|}}}|{{infoboxtablerow|title=Abbreviated as|value={{{lib_short}}}}}}}
{{#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:{{{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={{{gnd_id}}}}}}}
{{#if:{{{gnd_id2|}}}|{{infoboxtablerow|title=GND ID 2|value={{{gnd_id2}}}}}}}
{{#if:{{{isil|}}}|{{infoboxtablerow|title=ISIL|value={{{isil}}}}}}}
{{#if:{{{isil2|}}}|{{infoboxtablerow|title=ISIL 2|value={{{isil2}}}}}}}
|}
|}
<noinclude>
<noinclude>
Line 11: Line 16:
{
{
"params": {
"params": {
"Place": {
"gnd_id": {
"description": "The city, town, etc. of the library",
"label": "GND ID",
"required": true
"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"
},
"website": {
"label": "Official Website",
"description": "The URL to the webpage of the library",
"type": "url"
},
"website2": {
"label": "Second Website",
"description": "The URL of a second relevant webpage",
"type": "url"
        },
"isil": {
"label": "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": {
"label": "QID",
"description": "The QID the library has in Wikidata",
"suggested": true
},
},
"Country": {
"country": {
"label": "Country",
"description": "The country where the library is",
"description": "The country where the library is",
"required": true
"required": true
},
},
"Name": {
"place": {
"description": "The full name of the library as used on this wiki",
"label": "Place",
"description": "The city, town, etc. of the library",
"required": true
"required": true
},
},
"Abbreviated as": {
"lib_normalized": {
"description": "The abbreviation that is usually used (either on this wiki or in general)"
"label": "Full Name",
"description": "The full name of the library in the language of its country",
"required": true
},
},
"QID": {
"lib_short": {
"description": "The QID the library has in Wikidata",
"label": "Abbreviated as",
"description": "The abbreviation that is used on the wiki",
"type": "string",
"suggested": true
"suggested": true
},
"Webpage": {
"description": "The URL to the webpage of the library",
"type": "url"
}
}
},
},
"description": "Template giving basic information about the library a manuscript or collection is located at.",
"description": "Template giving basic information about the library a manuscript or collection is located at.",
"paramOrder": [
"paramOrder": [
"Name",
"lib_normalized",
"Abbreviated as",
"lib_short",
"Place",
"place",
"Country",
"country",
"QID",
"website",
"Webpage"
        "website2",
"qid",
"gnd_id",
"gnd_id2",
"isil",
"isil2"
]
]
}
}
</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.

Template parameters

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
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