Template:Infobox library: Difference between revisions

From WikiMD's Wellness Encyclopedia

m 1 revision imported
Replaced content with "{{nt}}"
Tag: Replaced
Line 1: Line 1:
{{Infobox
{{nt}}
| 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  = {{#if:{{{image|}}}|[[File:{{{image}}}|image={{{library_logo|{{{logo|}}}}}}|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
| image2 = {{#if:{{{image|}}}|[[File:{{{image}}}|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1.14}}}|sizedefault=250px|maxsize=325px|alt={{{alt|}}}}}
| caption2 = {{{caption|}}}
 
| image3    = {{#invoke:Infobox mapframe|auto|mapframe-marker=library|mapframe-frame-width=250|mapframe-marker-color={{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}|mapframe-stroke-width={{{mapframe-stroke-width|}}}|mapframe-zoom=14| mapframe-wikidata = yes|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}}
| caption3  = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}}
 
|  data1 = {{#if:{{{coordinates|}}}
|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}}}}}}} |}}
| label2    = Location
| label3 = Location
| data3  = {{comma separated entries
|1= {{if empty|{{{location|{{{Location|}}}}}}|{{{address|{{{Address|}}}}}}}}
|2 = {{{city|{{{City|}}}}}}
|3= {{{region|{{{Region|}}}}}}
|4= {{#switch: {{{state|{{{State|}}}}}}
    | GA = Georgia
    | WA = Washington
    | #default = {{{state|{{{State|}}}}}}
    }}
|5={{#switch: {{{country|{{{Country|}}}}}}
  | AU = Australia
  | CA = Canada
  | HK = Hong Kong
  | IE = Ireland
  | IN = India
  | IL = Israel
  | KE = Kenya
  | NZ = New Zealand
  | NO = Norway
  | PH = Philippines
  | PK = Pakistan
  | SA = South Africa
  | TR = Turkey
  | TZ = Tanzania
  | UK = United Kingdom
  | US = US
  | #default = {{{country|{{{Country|}}}}}}
  }}
|6 = {{{postcode|{{{Postcode|}}}|{{{zipcode|}}}|{{{Zipcode|}}}}}}
}}
| label4    = Type
| class4    = label
| data4      = {{{type|}}}
| label5    = Scope
| class5    = label
| data5      = {{{scope|}}}
| label6    = Established
| data6      = {{#invoke:WikidataIB |getValue |P571 |fwd=ALL |osd=yes |{{{established|}}} }}
| label7    = Dissolved
| data7      = {{{dissolved|}}}
| label8    = Closed
| data8      = {{{closed|}}}
| label9    = [[Architect|Architect(s)]]
| data9      = {{#invoke:WikidataIB |getValue |P84 |fwd=ALL|osd=yes |{{{architect|}}} }}
| label10    = Reference to legal mandate
| data10      = {{{ref_legal_mandate|}}}
| label11    = Service area
| data11    = {{{service_area|}}}
| 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|}}}{{{funding|}}}{{{publictransit|}}}{{{website|}}}|Other information}}
| label27    = Budget
| data27    = {{{budget|}}}
| label28    = Director
| data28    = {{#invoke:WikidataIB |getValue |P1037 |fwd=ALL |rank=b|osd=yes |{{{director|}}} }}
| label29    = Employees
| 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|}}}
| 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
| Address | address | affiliation | alt | annual_circulation | architect | branch_of | budget | caption | City | city | closed | collection_size | coordinates | Country | country | criteria | criteria_for_collection | dir_since | director | dissolved | embed | established | funding | id | image | image_size | image_upright | items_collected | legal_deposit | library_logo | library_name | Location | location | location_map | logo | logo_alt | logo_size | logo_upright | map | map dot label | map_alt | map_caption | map_dot_label | map_image | map_label | map_size | mapframe | mapframe-coord | mapframe-coordinates | mapframe-geomask | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-stroke-color | mapframe-stroke-colour | mapframe-width | mapframe-zoom | members | module | name | native_name | native_name_lang | num_branches | num_employees | parent_organisation | parent_organization | phone_num | pop_served | Postcode | postcode | publictransit | ref_legal_mandate | references | Region | region | relief | req_to_access | scope | service_area | specialisation | specialization | State | state | type | website | Zipcode | zipcode
}}<noinclude>
{{documentation}}
</noinclude>

Revision as of 23:26, 5 January 2025