Template:Infobox library: Difference between revisions

From WikiMD's Wellness Encyclopedia

en>Hooman Mallahzadeh
No edit summary
 
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| child       = {{#ifeq:{{{embed|}}}|yes|yes}}
| bodyclass = vcard
| bodyclass   = vcard
| titleclass = fn org
| titleclass = fn org
| above      = {{#ifeq:{{{embed|}}}|yes
  |
  |{{if empty|{{{name|}}}|{{{library_name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
  }}


| abovestyle     = text-align:center;background-color:#ededed;
| above      = {{#ifeq:{{{embed|}}}|yes||{{{name|{{{library_name|{{PAGENAMEBASE}}}}}}}}}}
| 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>}}
| subheader  = {{#if:{{{native_name|}}}|<span class="nickname"{{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}


|headerstyle = text-align:center;background: #ededed;
| headerstyle = text-align:center; background: #ededed;


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{library_logo|{{{logo|}}}}}}|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
| image       = {{#if:{{{library_logo|{{{logo|}}}}}}|[[File:{{{library_logo|{{{logo|}}}}}}|{{{logo_size|150px}}}|alt={{{logo_alt|}}}]]}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1.14}}}|sizedefault=250px|maxsize=325px|alt={{{alt|}}}}}
| image2     = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|}}}]]}}
| caption2 = {{{caption|}}}
| caption2   = {{{caption|}}}


| image3    = {{#invoke:Infobox mapframe|auto|mapframe-marker=library|mapframe-frame-width=250|mapframe-zoom=14| mapframe-wikidata = yes|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}}
| label1      = Location
| caption3  = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}}
| data1      = {{{location|{{{address|}}}}}} {{#if:{{{city|}}}|, {{{city}}}}} {{#if:{{{state|}}}|, {{{state}}}}} {{#if:{{{country|}}}|, {{{country}}}}} {{#if:{{{postcode|}}}|, {{{postcode}}}}}


| data1 = {{#if:{{{coordinates|}}}
| label2      = Type
|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}}}}}}} |}}
| data2      = {{{type|}}}
| label2    = Location
 
| label3 = Location
| label3     = Scope
| data3 = {{comma separated entries
| data3       = {{{scope|}}}
|1= {{if empty|{{{location|{{{Location|}}}}}}|{{{address|{{{Address|}}}}}}}}
 
|2 = {{{city|{{{City|}}}}}}
| label4      = Established
|3= {{{region|{{{Region|}}}}}}
| data4      = {{{established|}}}
|4= {{#switch: {{{state|{{{State|}}}}}}
 
    | GA = Georgia
| label5      = Dissolved
     | WA = Washington
| data5      = {{{dissolved|}}}
    | #default = {{{state|{{{State|}}}}}}
 
     }}
| label6      = Closed
|5={{#switch: {{{country|{{{Country|}}}}}}
| data6      = {{{closed|}}}
  | AU = Australia
 
  | CA = Canada
| label7      = Architect(s)
  | HK = Hong Kong
| data7      = {{{architect|}}}
  | IE = Ireland
 
  | IN = India
| label8     = Legal mandate
  | IL = Israel
| data8      = {{{ref_legal_mandate|}}}
  | KE = Kenya
 
  | NZ = New Zealand
| label9     = Service area
  | NO = Norway
| data9      = {{{service_area|}}}
  | PH = Philippines
 
  | PK = Pakistan
| label10    = Branch of
  | SA = South Africa
| data10      = {{{branch_of|}}}
  | TR = Turkey
 
  | TZ = Tanzania
| label11    = Number of branches
  | UK = United Kingdom
| data11      = {{{num_branches|}}}
  | US = US
 
  | #default = {{{country|{{{Country|}}}}}}
| header12    = Collection
  }}
 
|6 = {{{postcode|{{{Postcode|}}}|{{{zipcode|}}}|{{{Zipcode|}}}}}}
| label13    = Specialization
}}
| data13      = {{{specialisation|{{{specialization|}}}}}}
| label4     = Type
 
| class4    = label
| label14    = Items collected
| data4     = {{{type|}}}
| data14      = {{{items_collected|}}}
| label5    = Scope
 
| class5     = label
| label15    = Collection size
| data5     = {{{scope|}}}
| data15      = {{{collection_size|}}}
| label6     = Established
 
| data6     = {{#invoke:WikidataIB |getValue |P571 |fwd=ALL |osd=yes |{{{established|}}} }}
| label16    = Criteria for collection
| label7     = Dissolved
| data16      = {{{criteria|}}}
| data7     = {{{dissolved|}}}
 
| label8     = Closed
| label17     = Legal deposit
| data8     = {{{closed|}}}
| data17     = {{{legal_deposit|}}}
| label9     = [[Architect|Architect(s)]]
 
| data9     = {{#invoke:WikidataIB |getValue |P84 |fwd=ALL|osd=yes |{{{architect|}}} }}
| header18    = Access and use
| label10     = Reference to legal mandate
 
| data10     = {{{ref_legal_mandate|}}}
| label19     = Access requirements
| label11    = Service area
| data19     = {{{req_to_access|}}}
| data11    = {{{service_area|}}}
 
| label13    = Branch of
| label20     = Annual circulation
| data13    = {{{branch_of|}}}
| data20     = {{{annual_circulation|}}}
| label14    = Branches
 
| data14    = {{{num_branches|}}}
| label21    = Population served
| data21      = {{{pop_served|}}}
 
| label22     = Members
| data22     = {{{members|}}}
 
| header23    = Administration
 
| label24     = Budget
| data24     = {{{budget|}}}
 
| label25     = Director
| data25     = {{{director|}}}
 
| label26     = Leader
| data26     = {{{leader_name|}}}
 
| label27    = Employees
| data27      = {{{num_employees|}}}
 
| label28    = Parent organization
| data28      = {{{parent_organization|{{{parent_organisation|}}}}}}
 
| label29    = Affiliation
| data29      = {{{affiliation|}}}


| header15  = {{#if:{{{items_collected|}}}{{{collection_size|}}}{{#property:P1436}}{{{criteria_for_collection|}}}{{{legal_deposit|}}}|Collection}}
| label30     = Funding
| label16    = {{#if:{{{specialisation|}}}|Specialisation|Specialization}}
| data30      = {{{funding|}}}
| 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}}
| label31     = Public transit access
| label22    = Access requirements
| data31      = {{{publictransit|}}}
| 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}}
| label32     = Website
| label27    = Budget
| data32      = {{#if:{{{website|}}}|[{{{website}}} Website]}}
| 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|}}}
| header33    = Additional information
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
| data34      = {{{references|}}}
}}{{#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>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 03:11, 28 April 2025



Location
Type
Scope
Established
Dissolved
Closed
Architect(s)
Legal mandate
Service area
Branch of