Template:Infobox theatre/wikidata

{{Infobox
 * bodyclass  = vcard
 * headerstyle = background-color: #eee;
 * titleclass = fn org


 * title      = {{#if:{{#invoke:WikidataIB|checkBlacklist|name=name|suppressfields=}}|{{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#if:{{#invoke:WikidataIB |getLabel |}}|{{#invoke:WikidataIB |getLabel |}}|{{PAGENAMEBASE}}}}}}}}}}}


 * subheader  = {{#if:{{{native_name|}}}|{{{native_name}}} |{{#if:{{#property:P1705}}|{{#if:{{#property:P103}}|{{#property:P103}}: }}{{#property:P1705}}}}}}


 * image1     = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getPreferredValue |P154 |name=logo |qid= |suppressfields= |fetchwikidata= |onlysourced=no |noicon=yes|{{{logo|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}|suppressplaceholder=yes}}
 * caption1   = {{{logo_caption|}}}


 * image2     = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getPreferredValue |P18 |name=image |qid= |suppressfields= |fetchwikidata= |onlysourced=no |noicon=yes|{{{image|}}}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright={{#if:{{{image_upright|}}}|{{{image_upright}}}|1.36}}|alt={{{alt|}}}}}
 * caption2   = {{{caption|{{#if:{{#invoke:WikidataIB|checkBlacklist|name=caption|suppressfields=}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}

| border = infobox | caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}} | float  = center | alt = {{{map_alt|}}} | width  = {{#if:{{{map_size|}}}|{{{map_size}}}|220}} | relief = {{{pushpin_relief|{{{map_relief|}}}}}} | label  = {{{map dot label|{{{map_dot_label|}}}}}} | coordinates = }}}}
 * image3     = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type}}}}}}

"|sorted=yes|suppressfields=|fetchwikidata=|onlysourced=no|{{{type|}}}}}{{#ifeq:|yes|{{wikidata|references|normal+||P31}} }}
 * label1     = Type
 * data1      = {{#invoke:WikidataIB|getValue|P31|qid=|name=type|sep="


 * label2     = Established
 * data2      = {{#invoke:WikidataIB|getValue|P571|qid=|name=established|suppressfields=|fetchwikidata=|onlysourced={{{onlysourced|}}}}|{{{established|}}}}}{{#ifeq:|yes|{{wikidata|references|normal+||P571}} }}


 * label3     = Official opening
 * data3      = {{#invoke:WikidataIB|getValue|P1619|qid=|name=opening|suppressfields=|fetchwikidata=|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+||P1619}} }}


 * labe4     = Dissolved
 * data4      = {{#invoke:WikidataIB|getValue|P576|qid=|name=dissolved|suppressfields={{{suppressfields|}}}|fetchwikidata=|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+||P576}} }}


 * label5     = Official closure
 * data5      = {{#invoke:WikidataIB|getValue|P3999|qid=|name=closure|suppressfields={{{suppressfields|}}}|fetchwikidata=|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+||P3999}} }}


 * label6     = Located at
 * data6      = {{#invoke:WikidataIB|getValue|P131|qid=|name=located|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|}}{{#ifeq:|yes|{{wikidata|references|normal+||P131}} }}
 * class6     = locality


 * label8     = Street address
 * data8      = {{#invoke:WikidataIB|getValue|P6375|qid=|name=address|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|}}{{#ifeq:|yes|{{wikidata|references|normal+||P6375}} }}
 * class8     = locality


 * label9     = Coordinates
 * data9      = {{#if: |  {{if empty||}} |  }}{{#ifeq:|yes|{{wikidata|references|normal+||P625}} }}

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+||P136}} }}
 * label10     = Genre
 * data10      = {{#invoke:WikidataIB|getValue|P136|qid=|name=genre|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|}}{{#ifeq:|yes|{{wikidata|references|normal+||P1435}} }}
 * label11     = Heritage designation
 * data11      = {{#invoke:WikidataIB|getValue|P1435|qid=|name=heritage_designation|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+||P138}} }}
 * label12     = Named after
 * data12      = {{#invoke:WikidataIB|getValue|P138|qid=|name=named_after|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|}}{{#ifeq:|yes|{{wikidata|references|normal+||P361}} }}
 * label13     = Part of
 * data13      = {{#invoke:WikidataIB|getValue|P361|qid=|name=part_of|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|}}{{#ifeq:|yes|{{wikidata|references|normal+||P527}} }}
 * label14     = Has part
 * data14      = {{#invoke:WikidataIB|getValue|P527|qid=|name=has_part|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+||P466}} }}
 * label15     = Occupant
 * data15      = {{#invoke:WikidataIB|getValue|P466|qid=|name=occupant|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P463}} }}
 * label16     = Member of
 * data16      = {{#invoke:WikidataIB|getValue|P463|qid=|name=member_of|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P101}} }}
 * label17     = Field of work
 * data17      = {{#invoke:WikidataIB|getValue|P101|qid={{{qid|}}}|name=fieldofwork|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P1083}} }}
 * label18     = Maximum capacity
 * data18      = {{#invoke:WikidataIB|getValue|P1083|qid={{{qid|}}}|name=capacity|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|}}{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P17}} }}
 * label19    = Country
 * data19     = {{#invoke:WikidataIB|getValue|P17|qid={{{qid|}}}|name=country|sep="

"|sorted=yes| }}|{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P112}}}}
 * label20    = Founder
 * data20     = {{#invoke:WikidataIB|getPreferredValue|P112|qid={{{qid|}}}|name=founder|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|sep="
 * class20   = agent

"|sorted=yes| }}|{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P1037}}}}
 * label21    = Director
 * data21     = {{#invoke:WikidataIB|getPreferredValue|P1037|qid={{{qid|}}}|name=director|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|sep="
 * class21    = agent

"|sorted=yes| }}|{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P137}}}}
 * label22    = Operator
 * data22     = {{#invoke:WikidataIB|getPreferredValue|P137|qid={{{qid|}}}|name=operator|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|sep="
 * class22    = agent

"|sorted=yes| }}|{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P127}}}}
 * label23    = Owned by
 * data23     = {{#invoke:WikidataIB|getPreferredValue|P127|qid={{{qid|}}}|name=owned|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|sep="
 * class23    = agent

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:|yes|{{wikidata|references|normal+|{{{qid|}}}|P793}} }}
 * label24     = Significant event
 * data24      = {{#invoke:WikidataIB|getValue|P793|qid={{{qid|}}}|name=event|sep="

"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}}|}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P166}} }}
 * label25     = Award received
 * data25      = {{#invoke:WikidataIB|getValue|P166|qid={{{qid|}}}|name=award|sep="


 * label26    = Website
 * data26     = {{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P856}} }}


 * header27   =
 * data28     =


 * header29   =

| zoom = {{#invoke:AutoMapZoom | autoMapZoom | {{#invoke:wd | property | raw | {{#invoke:WikidataIB |getQid |qid={{{qid|}}} }} |P2046}}}} | marker_size=medium | marker_color=006699 | align=center | width= | height= | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }} }}}}
 * data30 = {{#if:{{#invoke:WikidataIB|getPreferredValue|P625|qid={{{qid|}}}|name=coordinates|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|{{{coordinates|}}} }}|{{Mapframe/Wikidata


 * below    =

}}