Coordinates: 44°06′43″N 87°54′47″W / 44.112°N 87.913°W / 44.112; -87.913

Template:Infobox museum: Difference between revisions

From WIDEVERSE Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(hide mapframe if pushpin_map is present)
Line 1: Line 1:
{{Infobox
{{#invoke:Type in location|main|{{{type|}}}|{{{location|}}}|check-patterns = [Mm]useum;[Hh]all;[Gg]allery;[Cc]enter}}{{Infobox
| child = {{{embed|}}}
| bodyclass  = vcard
| bodyclass  = vcard


Line 5: Line 6:


| titleclass  = fn org
| titleclass  = fn org
| title      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| title      = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{embed|}}}|yes||{{PAGENAMEBASE}}}}}}
| subheader  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
| subheader  = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}


| image1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|maxsize=300|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
| image1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|maxsize=300|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
Line 16: Line 17:
| image3      = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type}}}}}}
| image3      = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type}}}}}}
  | border  = infobox
  | border  = infobox
  | caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}}
  | caption = {{#switch:{{{map_caption|}}}|#default={{{map_caption}}}|none=|=Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}}
  | float  = center
  | float  = center
  | alt = {{{map_alt|}}}
  | alt = {{{map_alt|}}}
Line 24: Line 25:
  | coordinates = {{{coordinates|}}}
  | coordinates = {{{coordinates|}}}
  }}}}
  }}}}
| image4    = {{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}||{{If declined|{{{mapframe|}}}||{{Infobox mapframe
|zoom={{{mapframe-zoom|}}}
|frame-width={{{mapframe-width|}}}
|frame-height={{{mapframe-height|}}}
|marker={{{mapframe-marker|museum}}}
|marker-color={{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
|frame-lat={{{mapframe-lat|{{{mapframe-latitude|}}}}}}
|frame-long={{{mapframe-long|{{{mapframe-longitude|}}}}}}
}}}}}}
| caption4 = {{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}||{{If declined|{{{mapframe|}}}||{{{mapframe-caption|}}}}}}}


| label1      = Former name
| label1      = Former name
Line 29: Line 41:
| class1      = nickname
| class1      = nickname


| label2     = Established
| label3     = Established
| data2       = {{{established|}}}
| data3       = {{{established|}}}
 
| label3      = Dissolved
| data3      = {{{dissolved|}}}
 
| label4      = Location
| data4      = {{{location|}}}
| rowclass4  = adr
| class4      = locality
 
| label5      = [[Geographic coordinate system|Coordinates]]
| data5      = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}} }}


| label6      = Type
| label6      = Dissolved
| data6      = {{{type|}}}
| data6      = {{{dissolved|}}}


| label7      = Accreditation
| label7      = Location
| data7      = {{{accreditation|}}}
| data7      = {{{location|}}}
| rowclass7  = adr
| class7      = locality


| label8      = Key holdings
| label8      = [[Geographic coordinate system|Coordinates]]
| data8      = {{{key_holdings|}}}
| data8      = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}} }}


| label9      = Collections
| label9      = Type
| data9      = {{{collections|}}}
| data9      = {{{type|}}}


| label10    = Collection size
| label10    = Accreditation
| data10      = {{{collection|{{{collection_size|{{{collection size|}}}}}}}}}
| data10      = {{{accreditation|}}}


| label11    = Visitors
| label11    = Key holdings
| data11      = {{{visitors|}}}
| data11      = {{{key_holdings|}}}


| label12    = Founder
| label12    = {{#if:{{{collections_type|}}}|{{{collections_type}}}|Collections}}
| data12      = {{{founder|}}}
| data12      = {{{collections|}}}
| class12    = agent


| label13    = Executive director
| label13    = Collection size
| data13      = {{{executive_director|{{{executive director|}}}}}}
| data13      = {{if empty|{{{collection|}}}|{{{collection_size|}}}|{{{collection size|}}}}}
| class13    = agent


| label14    = {{#if:{{{leader_type|}}}|{{{leader_type}}}|Manager}}
| label14    = Visitors
| data14      = {{{leader|}}}
| data14      = {{{visitors|}}}
| class14    = agent


| label15    = Director
| label15    = Founder
| data15      = {{{director|}}}
| data15      = {{{founder|}}}
| class15    = agent
| class15    = agent


| label16    = President
| label16    = Executive director
| data16      = {{{president|}}}
| data16      = {{{executive_director|{{{executive director|}}}}}}
| class16    = agent
| class16    = agent


| label17    = CEO
| label17    = {{#if:{{{leader_type|}}}|{{{leader_type}}}|Manager}}
| data17      = {{{ceo|}}}
| data17      = {{{leader|}}}
| class17    = agent
| class17    = agent


| label18    = Curator
| label18    = Director
| data18      = {{{curator|}}}
| data18      = {{{director|}}}
| class18    = agent
| class18    = agent


| label19    = Architect
| label19    = President
| data19      = {{{architect|}}}
| data19      = {{{president|}}}
| class19    = agent
| class19    = agent


| label20    = Historian
| label20    = CEO
| data20      = {{{historian|}}}
| data20      = {{{ceo|}}}
| class20    = agent
| class20    = agent


| label21    = Owner
| label21    = Chairperson
| data21      = {{{owner|}}}
| data21      = {{{chairperson|}}}
| class21    = agent
| class21    = agent


| label22    = Employees
| label22     = Curator
| data22     = {{{employees|}}}
| data22      = {{{curator|}}}
| class22    = agent
 
| label23    = Architect
| data23      = {{{architect|}}}
| class23    = agent
 
| label24    = Historian
| data24      = {{{historian|}}}
| class24    = agent
 
| label25    = Owner
| data25      = {{{owner|}}}
| class25    = agent
 
| label26     = Employees
| data26     = {{{employees|}}}


| label23     = Public transit access
| label27     = Public transit access
| data23     = {{{publictransit|}}}
| data27     = {{{publictransit|}}}


| label24     = Nearest {{#if:{{{parking|}}}|parking|car park}}
| label28     = Nearest {{#if:{{{parking|}}}|parking|car park}}
| data24     = {{#if:{{{parking|}}}|{{{parking}}}|{{{car_park|}}}}}
| data28     = {{#if:{{{parking|}}}|{{{parking}}}|{{{car_park|}}}}}


| label25     = Website
| label29     = Website
| data25     = {{{website|}}}
| data29     = {{{website|}}}


| header26   = {{#if:{{{network|}}}|{{Infobox museum/{{{network}}} network|header}} }}
| header30   = {{#if:{{{network|}}}|{{Infobox museum/{{{network}}} network|header}} }}
| data27     = {{#if:{{{network|}}}|{{Infobox museum/{{{network}}} network|data}} }}
| data31     = {{#if:{{{network|}}}|{{Infobox museum/{{{network}}} network|data}} }}


| header28   = {{{nrhp|{{{embedded|}}}}}}
| header32   = {{{nrhp|{{{embedded|}}}}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox museum with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox museum]] with unknown parameter "_VALUE_"|ignoreblank=y| accreditation | alt | architect | caption | car_park | ceo | chairperson | leader | leader_type | collection | collection size | collection_size | collections | coordinates | curator | director | dissolved | embedded | employees | established | executive director | executive_director | former_name | founder | historian | image | image_size | imagesize | image_upright | key_holdings | location | logo | logo_alt | logo_caption | logo_upright | map dot label | map_dot_label | map_alt | map_caption | map_relief | map_size | map_type | name | native_name | native_name_lang | network | nrhp | owner | parking | president | publictransit | pushpin_map | pushpin_relief | type | visitors | website }}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox museum with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox museum]] with unknown parameter "_VALUE_"|ignoreblank=y| accreditation | alt | architect | caption | car_park | ceo | chairperson | leader | leader_type | collection | collection size | collection_size | collections | collections_type | coordinates | curator | director | dissolved | embed | embedded | employees | established | executive director | executive_director | former_name | founder | historian | image | image_size | imagesize | image_upright | key_holdings | location | logo | logo_alt | logo_caption | logo_upright | map dot label | map_dot_label | map_alt | map_caption | map_relief | map_size | map_type | name | native_name | native_name_lang | network | nrhp | owner | parking | president | publictransit | pushpin_map | pushpin_relief | type | visitors | website | mapframe | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-caption | mapframe-lat | mapframe-latitude | mapframe-long | mapframe-longitude }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 13:36, 14 December 2018

Infobox museum
Lua error in Module:Infobox_mapframe at line 118: attempt to index field 'wikibase' (a nil value).