Changes
Jump to navigation
Jump to search
Template:Infobox library (view source)
Revision as of 20:18, 29 January 2022
, 20:18, 29 January 2022abnormal sizing for an infobox title
{{Infobox
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| bodyclass = vcard
| titleclass = fn org
| above = {{#ifeq:{{{embed|}}}|yes
|
|{{if empty|{{{name|}}}|{{{library_name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
}}
| abovestyle = text-align:center;background-color:#ededed;
| subheader = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
|headerstyle = text-align:center;background: #ededed;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{library_logo|{{{logo|}}}}}}|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1.1}}}|alt={{{alt|}}}}}
| caption2 = {{{caption|}}}
| label1 = Country
| data1 = {{{country|}}}
| label2 = Type
| class2 = label
| data2 = {{{type|}}}
| label3 = Scope
| class3 = label
| data3 = {{{scope|}}}
| label4 = Established
| data4 = {{#invoke:WikidataIB |getValue |P571 |fwd=ALL |osd=yes |{{{established|}}} }}
| label5 = Dissolved
| data5 = {{{dissolved|}}}
| label6 = Closed
| data6 = {{{closed|}}}
| label7 = Architect
| data7 = {{#invoke:WikidataIB |getValue |P84 |fwd=ALL|osd=yes |{{{architect|}}} }}
| label9 = Reference to legal mandate
| data9 = {{{ref_legal_mandate|}}}
| label10 = Location
| class10 = label
| data10 = {{{location|}}}
| label11 = Service area
| data11 = {{{service_area|}}}
| label12 = Coordinates
| data12 = {{{coordinates|}}}
| label13 = Branch of
| data13 = {{{branch_of|}}}
| label14 = Branches
| data14 = {{{num_branches|}}}
| header15 = {{#if:{{{items_collected|}}}{{{collection_size|}}}{{#property:P1436}}{{{criteria_for_collection|}}}{{{legal_deposit|}}}|Collection}}
| label16 = {{#if:{{{specialisation|}}}|Specialisation|Specialization}}
| data16 = {{#if:{{{specialisation|}}}|{{{specialisation}}}|{{{specialization|}}}}}
| label17 = Items collected
| data17 = {{{items_collected|}}}
| label18 = Size
| data18 = {{#invoke:WikidataIB |getValue |P1436 |rank=b |qual=P585 |fwd=ALL |osd=yes |{{{collection_size|}}} }}
| label19 = Criteria for collection
| data19 = {{{criteria|}}}
| label20 = [[Legal deposit]]
| data20 = {{{legal_deposit|}}}
| header21 = {{#if:{{{req_to_access|}}}{{{annual_circulation|}}}{{{pop_served|}}}{{{members|}}}|Access and use}}
| label22 = Access requirements
| data22 = {{{req_to_access|}}}
| label23 = Circulation
| data23 = {{{annual_circulation|}}}
| label24 = Population served
| data24 = {{{pop_served|}}}
| label25 = Members
| data25 = {{{members|}}}
| header26 = {{#if:{{{budget|}}}{{{director|}}}{{#property:P1037}}{{{dir_since|}}}{{{num_employees|}}}{{{affiliation|}}}|Other information}}
| label27 = Budget
| data27 = {{{budget|}}}
| label28 = Director
| data28 = {{#invoke:WikidataIB |getValue |P1037 |fwd=ALL |rank=b|osd=yes |{{{director|}}} }}
| label29 = Staff
| data29 = {{{num_employees|}}}
| label30 = Parent {{#if:{{{parent_organization|}}}|organization|organisation}}
| data30 = {{#if:{{{parent_organization|}}}|{{{parent_organization|}}}|{{{parent_organisation|}}}}}
| label31 = Affiliation
| data31 = {{{affiliation|}}}
| label32 = Funding
| data32 = {{{funding|}}}
| label40 = Public transit access
| data40 = {{{publictransit|}}}
| label43 = Website
| data43 = {{{website|}}}
| header44 = {{yesno|{{{mapframe|yes}}}
|yes = {{#if: {{#property:P625}}{{{coordinates|}}} | {{{map_label|Map}}} }}
|no = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
}}
| data45 = {{yesno|{{{mapframe|yes}}}
|no = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{location_map}}}
|alt = {{{map_alt|}}}
|coordinates = {{{coordinates|}}}
|float = center
|label = {{if empty| {{{map dot label|}}} | {{{map_dot_label|}}} }}
|relief = {{{relief|}}}
|border = infobox
|caption = {{If empty|{{{map_caption|}}}|Location in {{#invoke:Location map|data|{{{location_map}}}|name}}}}
|width = {{{map_size|}}}
}}}}
|yes = {{Infobox mapframe
|id = {{{id|}}}
|coord = {{{coordinates|}}}
|zoom = {{{mapframe-zoom|}}}
|frame-width = {{{mapframe-width|{{{map_size|}}}}}}
|frame-height = {{{mapframe-height|}}}
|marker = {{{mapframe-marker|library}}}
|marker-color = {{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
|frame-coordinates = {{{mapframe-coordinates|{{{mapframe-coord|}}}}}}
|stroke-color = {{{mapframe-stroke-color|{{{mapframe-stroke-colour|}}}}}}
|geomask = {{yesno|{{{mapframe-geomask|}}}
|no= |blank=<!-- no geomask -->
|yes=P276<!-- Location (P276) from Wikidata -->
|def={{{mapframe-geomask|}}}<!-- User-supplied P- or Q-number -->
}}
}}
}}
| data46 = {{yesno|{{{mapframe|yes}}} |no=<!-- no mapframe map --> |yes={{{map_caption| {{yesno|{{{mapframe-geomask|}}}
|no= |blank=<!-- no geomask -->
|yes={{#if:{{#property:P276}}|Location in {{wikidata|property|{{{id|}}}|P276}}}}
|def={{#switch:{{Str left|{{{mapframe-geomask|}}}|1}}
|P|p= {{#if: {{#property:{{{mapframe-geomask|}}}}} | Location in {{wikidata|property|{{{id|}}}|{{{mapframe-geomask|}}}}} }}
|Q|q= {{#if: {{Label|{{{mapframe-geomask|}}}}} | Location in {{Label|{{{mapframe-geomask|}}}}} }}
}}<!-- end #switch -->
}}<!-- end inner yesno --> }}}<!-- end map_caption param -->
}}<!-- end outer yesno -->
| header47 = {{{module|}}}
| below = {{#if:{{{references|}}}|References:}} {{{references|}}}
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox library with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox library]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliation | alt | annual_circulation | architect | branch_of | budget | caption | collection_size | coordinates | country | criteria | criteria_for_collection | dir_since | director | dissolved | embed | established | funding | image | image_size | image_upright | items_collected | legal_deposit | library_logo | library_name | location | location_map | logo | logo_alt | logo_size | logo_upright | map dot label | map_alt | map_caption | map_dot_label | map_label | map_size | members | module | name | native_name | native_name_lang | num_branches | num_employees | parent_organisation | parent_organization | pop_served | publictransit | ref_legal_mandate | references | relief | req_to_access | scope | service_area | specialisation | specialization | type | website | phone_num | mapframe | id | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-coordinates | mapframe-coord | mapframe-stroke-color | mapframe-stroke-colour | mapframe-geomask }}<noinclude>
{{documentation}}<!-- place category and templatedate the /doc sub-page, not here -->
</noinclude>
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| bodyclass = vcard
| titleclass = fn org
| above = {{#ifeq:{{{embed|}}}|yes
|
|{{if empty|{{{name|}}}|{{{library_name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
}}
| abovestyle = text-align:center;background-color:#ededed;
| subheader = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
|headerstyle = text-align:center;background: #ededed;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{library_logo|{{{logo|}}}}}}|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1.1}}}|alt={{{alt|}}}}}
| caption2 = {{{caption|}}}
| label1 = Country
| data1 = {{{country|}}}
| label2 = Type
| class2 = label
| data2 = {{{type|}}}
| label3 = Scope
| class3 = label
| data3 = {{{scope|}}}
| label4 = Established
| data4 = {{#invoke:WikidataIB |getValue |P571 |fwd=ALL |osd=yes |{{{established|}}} }}
| label5 = Dissolved
| data5 = {{{dissolved|}}}
| label6 = Closed
| data6 = {{{closed|}}}
| label7 = Architect
| data7 = {{#invoke:WikidataIB |getValue |P84 |fwd=ALL|osd=yes |{{{architect|}}} }}
| label9 = Reference to legal mandate
| data9 = {{{ref_legal_mandate|}}}
| label10 = Location
| class10 = label
| data10 = {{{location|}}}
| label11 = Service area
| data11 = {{{service_area|}}}
| label12 = Coordinates
| data12 = {{{coordinates|}}}
| label13 = Branch of
| data13 = {{{branch_of|}}}
| label14 = Branches
| data14 = {{{num_branches|}}}
| header15 = {{#if:{{{items_collected|}}}{{{collection_size|}}}{{#property:P1436}}{{{criteria_for_collection|}}}{{{legal_deposit|}}}|Collection}}
| label16 = {{#if:{{{specialisation|}}}|Specialisation|Specialization}}
| data16 = {{#if:{{{specialisation|}}}|{{{specialisation}}}|{{{specialization|}}}}}
| label17 = Items collected
| data17 = {{{items_collected|}}}
| label18 = Size
| data18 = {{#invoke:WikidataIB |getValue |P1436 |rank=b |qual=P585 |fwd=ALL |osd=yes |{{{collection_size|}}} }}
| label19 = Criteria for collection
| data19 = {{{criteria|}}}
| label20 = [[Legal deposit]]
| data20 = {{{legal_deposit|}}}
| header21 = {{#if:{{{req_to_access|}}}{{{annual_circulation|}}}{{{pop_served|}}}{{{members|}}}|Access and use}}
| label22 = Access requirements
| data22 = {{{req_to_access|}}}
| label23 = Circulation
| data23 = {{{annual_circulation|}}}
| label24 = Population served
| data24 = {{{pop_served|}}}
| label25 = Members
| data25 = {{{members|}}}
| header26 = {{#if:{{{budget|}}}{{{director|}}}{{#property:P1037}}{{{dir_since|}}}{{{num_employees|}}}{{{affiliation|}}}|Other information}}
| label27 = Budget
| data27 = {{{budget|}}}
| label28 = Director
| data28 = {{#invoke:WikidataIB |getValue |P1037 |fwd=ALL |rank=b|osd=yes |{{{director|}}} }}
| label29 = Staff
| data29 = {{{num_employees|}}}
| label30 = Parent {{#if:{{{parent_organization|}}}|organization|organisation}}
| data30 = {{#if:{{{parent_organization|}}}|{{{parent_organization|}}}|{{{parent_organisation|}}}}}
| label31 = Affiliation
| data31 = {{{affiliation|}}}
| label32 = Funding
| data32 = {{{funding|}}}
| label40 = Public transit access
| data40 = {{{publictransit|}}}
| label43 = Website
| data43 = {{{website|}}}
| header44 = {{yesno|{{{mapframe|yes}}}
|yes = {{#if: {{#property:P625}}{{{coordinates|}}} | {{{map_label|Map}}} }}
|no = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
}}
| data45 = {{yesno|{{{mapframe|yes}}}
|no = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{location_map}}}
|alt = {{{map_alt|}}}
|coordinates = {{{coordinates|}}}
|float = center
|label = {{if empty| {{{map dot label|}}} | {{{map_dot_label|}}} }}
|relief = {{{relief|}}}
|border = infobox
|caption = {{If empty|{{{map_caption|}}}|Location in {{#invoke:Location map|data|{{{location_map}}}|name}}}}
|width = {{{map_size|}}}
}}}}
|yes = {{Infobox mapframe
|id = {{{id|}}}
|coord = {{{coordinates|}}}
|zoom = {{{mapframe-zoom|}}}
|frame-width = {{{mapframe-width|{{{map_size|}}}}}}
|frame-height = {{{mapframe-height|}}}
|marker = {{{mapframe-marker|library}}}
|marker-color = {{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
|frame-coordinates = {{{mapframe-coordinates|{{{mapframe-coord|}}}}}}
|stroke-color = {{{mapframe-stroke-color|{{{mapframe-stroke-colour|}}}}}}
|geomask = {{yesno|{{{mapframe-geomask|}}}
|no= |blank=<!-- no geomask -->
|yes=P276<!-- Location (P276) from Wikidata -->
|def={{{mapframe-geomask|}}}<!-- User-supplied P- or Q-number -->
}}
}}
}}
| data46 = {{yesno|{{{mapframe|yes}}} |no=<!-- no mapframe map --> |yes={{{map_caption| {{yesno|{{{mapframe-geomask|}}}
|no= |blank=<!-- no geomask -->
|yes={{#if:{{#property:P276}}|Location in {{wikidata|property|{{{id|}}}|P276}}}}
|def={{#switch:{{Str left|{{{mapframe-geomask|}}}|1}}
|P|p= {{#if: {{#property:{{{mapframe-geomask|}}}}} | Location in {{wikidata|property|{{{id|}}}|{{{mapframe-geomask|}}}}} }}
|Q|q= {{#if: {{Label|{{{mapframe-geomask|}}}}} | Location in {{Label|{{{mapframe-geomask|}}}}} }}
}}<!-- end #switch -->
}}<!-- end inner yesno --> }}}<!-- end map_caption param -->
}}<!-- end outer yesno -->
| header47 = {{{module|}}}
| below = {{#if:{{{references|}}}|References:}} {{{references|}}}
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox library with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox library]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliation | alt | annual_circulation | architect | branch_of | budget | caption | collection_size | coordinates | country | criteria | criteria_for_collection | dir_since | director | dissolved | embed | established | funding | image | image_size | image_upright | items_collected | legal_deposit | library_logo | library_name | location | location_map | logo | logo_alt | logo_size | logo_upright | map dot label | map_alt | map_caption | map_dot_label | map_label | map_size | members | module | name | native_name | native_name_lang | num_branches | num_employees | parent_organisation | parent_organization | pop_served | publictransit | ref_legal_mandate | references | relief | req_to_access | scope | service_area | specialisation | specialization | type | website | phone_num | mapframe | id | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-coordinates | mapframe-coord | mapframe-stroke-color | mapframe-stroke-colour | mapframe-geomask }}<noinclude>
{{documentation}}<!-- place category and templatedate the /doc sub-page, not here -->
</noinclude>