Template:Infobox museum: Difference between revisions

From Omniversalis
Content added Content deleted
(add executive director parameter)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Type in location|main|{{{type|}}}|{{{location|}}}|check-patterns = [Mm]useum;[Hh]all;[Gg]allery;[Cc]enter}}{{Infobox
{{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|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}}
| caption1 = {{{logo_caption|}}}
| caption1 = {{{logo_caption|}}}


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 25: Line 26:
}}}}
}}}}


| image4 = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}|mapframe-marker=museum}}
| label1 = Former name
| caption4 = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}}}
| data1 = {{{former_name|}}}
| class1 = nickname


| label1 = {{longitem|Former name{{#if:{{{former_names|}}}|s}}}}
| label2 = Established
| data2 = {{{established|}}}
| class1 = nickname
| data1 = {{if empty|{{{former_names|}}}|{{{former_name|}}}}}


| label3 = Dissolved
| label3 = Established
| data3 = {{{dissolved|}}}
| data3 = {{{established|}}}


| label4 = Location
| label6 = Dissolved
| data4 = {{{location|}}}
| data6 = {{{dissolved|}}}
| rowclass4 = adr
| class4 = locality


| label7 = Location
| label5 = [[Geographic coordinate system|Coordinates]]
| data7 = {{{location|}}}
| data5 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}} }}
| rowclass7 = adr
| class7 = locality


| label8 = {{W|Geographic coordinate system|Coordinates}}
| label6 = Type
| data8 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}} }}
| data6 = {{{type|}}}


| label7 = Accreditation
| label9 = Type
| data7 = {{{accreditation|}}}
| data9 = {{{type|}}}


| label8 = Key holdings
| label10 = Accreditation
| data8 = {{{key_holdings|}}}
| data10 = {{{accreditation|}}}


| label9 = Collections
| label11 = Key holdings
| data9 = {{{collections|}}}
| data11 = {{{key_holdings|}}}


| label12 = {{#if:{{{collections_type|}}}|{{{collections_type}}}|Collections}}
| label10 = Collection size
| data10 = {{{collection|{{{collection_size|{{{collection size|}}}}}}}}}
| data12 = {{{collections|}}}


| label11 = Visitors
| label13 = Collection size
| data13 = {{if empty|{{{collection|}}}|{{{collection_size|}}}|{{{collection size|}}}}}
| data11 = {{{visitors|}}}


| label12 = Founder
| label14 = Visitors
| data12 = {{{founder|}}}
| data14 = {{{visitors|}}}
| class12 = agent


| label13 = Executive director
| label15 = Founder
| data13 = {{{executive_director|{{{executive director|}}}}}}
| data15 = {{{founder|}}}
| class13 = agent

| label14 = Director
| data14 = {{{director|}}}
| class14 = agent

| label15 = President
| data15 = {{{president|}}}
| class15 = agent
| class15 = agent


| label16 = CEO
| label16 = Executive director
| data16 = {{{ceo|}}}
| data16 = {{{executive_director|{{{executive director|}}}}}}
| class16 = agent
| class16 = agent


| label17 = Chairperson
| label17 = {{#if:{{{leader_type|}}}|{{{leader_type}}}|Manager}}
| data17 = {{{chairperson|}}}
| 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 = {{#if:{{{architects|}}}|Architects|Architect}}
| data23 = {{{architects|{{{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 | 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 | architects | 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 | former_names | founder | historian | image | image_size | imagesize | image_upright | key_holdings | location | logo | logo_size | 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-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-width | mapframe-frame-height | mapframe-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 01:56, 10 May 2022

Infobox museum