|
|
Line 1: |
Line 1: |
| {{Infobox
| |
| | bodyclass = vcard
| |
| | titleclass = fn org
| |
| | child = {{{child|no}}}
| |
| | title = {{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}
| |
|
| |
|
| | image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| |
| | caption1 = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption|{{#invoke:Wikidata|getImageLegend|qid={{{qid|}}}|FETCH_WIKIDATA}}}}}}}
| |
|
| |
| | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P154 |name=logo |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{logo|}}}}}|size={{{logo size|{{{logo_size|{{{logo_width|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{logo_alt|}}}|suppressplaceholder=yes}}
| |
| | caption2 = {{{logo_caption|{{{Logo_caption|}}}}}}
| |
|
| |
| | label1 = Alternative names
| |
| | data1 = {{#if:{{#invoke:WikidataIB|getValue|rank=best|P1813|name=alt_names|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{alt_names|}}} }}|{{#invoke:WikidataIB|getValue|rank=best|P1813|name=alt_names|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{alt_names|}}} }}|{{#ifeq:{{{fetchwikidata|ALL}}}|NONE||{{#if:{{#invoke:Wikidata|ViewSomething|aliases|en|1|value}}|{{#invoke:Wikidata|ViewSomething|aliases|en|1|value}}{{EditAtWikidata|qid={{{qid|}}} }}|}}}} }}
| |
|
| |
| | label2 = Named after
| |
| | data2 = {{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P138|name=namedafter|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{namedafter|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P138}} }} }}
| |
|
| |
| | label3 = Organization
| |
| | data3 = {{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P137|name=organisation|qid={{{qid|}}}|sep="<br />"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{organization|{{{organisation|}}}}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P137}} }} }}
| |
|
| |
| | label4 = [[List of observatory codes|Observatory code]]
| |
| | data4 = {{#invoke:WikidataIB |getValue |P717 |rank=b |name=code |spf={{{suppressfields|}}} |fwd={{{fetchwikidata|ALL}}} |osd={{{onlysourced|no}}} |lp="[List of observatory codes#" |linkpostfix={{!}} |postfix="]" |qid={{{qid|}}} |{{{code|}}} }}
| |
|
| |
| | label6 = Location
| |
| | data6 = {{If then show | <!--
| |
| -->{{#ifeq:{{#invoke:WikidataIB | getValue | rank=best | P131 | name=adminunit | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }} | spf={{{spf|}}} | fwd={{{fwd|ALL}}} | osd={{{osd|no}}} | maxvals=1}}|{{#invoke:WikidataIB | getValue | rank=best | P131 | name=adminunit | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }} | spf={{{spf|}}} | fwd={{{fwd|ALL}}} | osd={{{osd|no}}}}}|<!--
| |
| -->{{#ifeq:{{#invoke:WikidataIB | getValue | rank=best | P276 | name=adminunit | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }} | spf={{{spf|}}} | fwd={{{fwd|ALL}}} | osd={{{osd|no}}} | maxvals=1}}|{{#invoke:WikidataIB | getValue | rank=best | P276 | name=adminunit | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }} | spf={{{spf|}}} | fwd={{{fwd|ALL}}} | osd={{{osd|no}}}}}|<!--
| |
| -->{{If then show|{{#invoke:WikidataIB | location | {{#invoke:WikidataIB |getQid |qid={{{qid|}}} }}}}|{{Wikidata location | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|location={{{location|}}} }}}} |<!--
| |
| -->{{Wikidata location | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|location={{{location|}}} }} }} | <!--
| |
| -->{{Wikidata location | qid={{#invoke:WikidataIB |getQid |qid={{{qid|}}} }}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|location={{{location|}}} }} }}<!--
| |
| --> }}
| |
|
| |
| | label7 = [[Geographic coordinate system|Coordinates]]
| |
| | data7 = {{#if:{{{coordinates|{{{coords|{{{coord|}}}}}}}}} | {{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|{{{coord}}}}}}}}}|type:landmark|{{#if:{{{location_country|}}}|region:{{CountryAbbr|{{{location_country}}}}}}}}} | {{#if:{{#Property:P625|from={{{qid|}}}}} | {{Coord|3=type:landmark{{#if:{{{location_country|}}}|_region:{{CountryAbbr|{{{location_country}}}}}}}|qid={{{qid|}}}|display={{{coordinates_display|{{{coord_display|inline,title}}}}}}|format=dms}} }} }}
| |
|
| |
| | label8 = Altitude
| |
| | data8 = {{{altitude|{{#if:{{#property:P2044|from={{{qid|}}}}}|{{If first display both|{{#ifeq:{{#invoke:Wikidata|getUnits|P2044|qid={{{qid|}}}|FETCH_WIKIDATA}}|foot|{{convert|input=P2044|qid={{{qid|}}}|m|abbr=on}}|{{convert|input=P2044|qid={{{qid|}}}|ft|abbr=on}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2044}} }}{{EditAtWikidata|pid=P2044|qid={{{qid|}}} }} }} }} }}}
| |
|
| |
| | label9 = Weather
| |
| | data9 = {{{weather|}}}
| |
|
| |
| | label10 = Observing time
| |
| | data10 = {{{obs-time|{{#if:{{#Property:P3891|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |getValue |P3891 |name=obs-time |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3891}} }} }} }}}
| |
|
| |
| | label11 = Established
| |
| | data11 = {{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P1619|name=established|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{established|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1619}} }} }}
| |
|
| |
| | label12 = Closed
| |
| | data12 = {{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P582|name=closed|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{closed|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P582}} }} }}
| |
|
| |
| | label13 = Website
| |
| | data13 = {{{website|{{#if:{{#property:P856|from={{{qid|}}}}}|{{If first display both|{{Url|1={{#invoke:Wikidata|getValue|P856|qid={{{qid|}}}|FETCH_WIKIDATA}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P856}} }}{{EditAtWikidata|pid=P856|qid={{{qid|}}} }} }} }} }}}
| |
|
| |
| | label15 = Architect
| |
| | data15 = {{{architect|}}}
| |
|
| |
| | label16 = Architecture firm
| |
| | data16 = {{{architecture_firm|}}}
| |
|
| |
| | label17 = Main contractors
| |
| | data17 = {{{main_contractor|{{{main_contractors|}}}}}}
| |
|
| |
| | label18 = Telescopes
| |
| | data18 = {{#if:{{{telescope1_type|}}}||{{#invoke:WikidataIB|getValue|P527|name=telescopes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sep="<br />"|sorted=yes|{{{telescopes|}}} }} }}
| |
|
| |
| | label19 = Commercial telescopes
| |
| | data19 = {{#if:{{{telescope1_type|}}}||{{#invoke:WikidataIB|getValue|P2670|name=commercialtelescopes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sep="<br />"|sorted=yes|{{{commercialtelescopes|}}} }} }}
| |
|
| |
| | header20 = {{#if:{{{telescope1_type|}}}{{{telescope1_name|}}}|Telescopes}}
| |
| | data21 = {{#if:{{{telescope1_type|}}}{{{telescope1_name|}}}|{{Infobox
| |
| | subbox = yes | decat = yes
| |
|
| |
| | label1 = {{{telescope1_name}}} | data1 = {{{telescope1_type|}}}
| |
| | label2 = {{{telescope2_name}}} | data2 = {{{telescope2_type|}}}
| |
| | label3 = {{{telescope3_name}}} | data3 = {{{telescope3_type|}}}
| |
| | label4 = {{{telescope4_name}}} | data4 = {{{telescope4_type|}}}
| |
| | label5 = {{{telescope5_name}}} | data5 = {{{telescope5_type|}}}
| |
| | label6 = {{{telescope6_name}}} | data6 = {{{telescope6_type|}}}
| |
| | label7 = {{{telescope7_name}}} | data7 = {{{telescope7_type|}}}
| |
| | label8 = {{{telescope8_name}}} | data8 = {{{telescope8_type|}}}
| |
| | label9 = {{{telescope9_name}}} | data9 = {{{telescope9_type|}}}
| |
| | label10 = {{{telescope10_name}}} | data10 = {{{telescope10_type|}}}
| |
| | label11 = {{{telescope11_name}}} | data11 = {{{telescope11_type|}}}
| |
| | label12 = {{{telescope12_name}}} | data12 = {{{telescope12_type|}}}
| |
| | label13 = {{{telescope13_name}}} | data13 = {{{telescope13_type|}}}
| |
| | label14 = {{{telescope14_name}}} | data14 = {{{telescope14_type|}}}
| |
| | label15 = {{{telescope15_name}}} | data15 = {{{telescope15_type|}}}
| |
| | label16 = {{{telescope16_name}}} | data16 = {{{telescope16_type|}}}
| |
| | label17 = {{{telescope17_name}}} | data17 = {{{telescope17_type|}}}
| |
| | label18 = {{{telescope18_name}}} | data18 = {{{telescope18_type|}}}
| |
| | label19 = {{{telescope19_name}}} | data19 = {{{telescope19_type|}}}
| |
| | label20 = {{{telescope20_name}}} | data20 = {{{telescope20_type|}}}
| |
| | label21 = {{{telescope21_name}}} | data21 = {{{telescope21_type|}}}
| |
| | label22 = {{{telescope22_name}}} | data22 = {{{telescope22_type|}}}
| |
| | label23 = {{{telescope23_name}}} | data23 = {{{telescope23_type|}}}
| |
| | label24 = {{{telescope24_name}}} | data24 = {{{telescope24_type|}}}
| |
| | label25 = {{{telescope25_name}}} | data25 = {{{telescope25_type|}}}
| |
| | label26 = {{{telescope26_name}}} | data26 = {{{telescope26_type|}}}
| |
| | label27 = {{{telescope27_name}}} | data27 = {{{telescope27_type|}}}
| |
| | label28 = {{{telescope28_name}}} | data28 = {{{telescope28_type|}}}
| |
| | label29 = {{{telescope29_name}}} | data29 = {{{telescope29_type|}}}
| |
| | label30 = {{{telescope30_name}}} | data30 = {{{telescope30_type|}}}
| |
| }}}}
| |
|
| |
| | data31 = {{#if:{{{map_type|}}}|{{Location map|{{{map_type|}}}
| |
| | coordinates = {{if empty|{{{coordinates|{{{coords|{{{coord|}}}}}}}}}|{{Coord|qid={{{qid|}}}}}}}
| |
| | float = center
| |
| | label = {{If empty|{{{map_dot_label|}}}|{{{name|}}}|{{PAGENAMEBASE}}}}
| |
| | relief = {{{map_relief|}}}
| |
| | caption = {{If empty|{{{map_caption|}}}|Location in {{#invoke:Location map|data|{{{map_type}}}|name}}}}
| |
| | border = infobox
| |
| | width = {{{map_size|}}}
| |
| }}|{{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_size|}}}|sizedefault=frameless|alt={{{map_alt|}}}}}|{{Wikidata location map|qid={{{qid|}}}|locmapin={{{locmapin|}}}|map_caption={{{map_caption|}}}|name={{{name|}}}}}}}}}
| |
| | caption3 = {{#if:{{{image_map|}}}|{{{map_caption|}}}}}
| |
|
| |
| | data32 = {{{commons_category | {{#if:{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}| {{cclink|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}|Related media on Wikimedia Commons}} }}}}}
| |
|
| |
| | header35 = {{{embedded|}}}
| |
|
| |
| | below = {{#ifeq:{{{fetchwikidata|ALL}}}|NONE||{{EditOnWikidata|qid={{{qid|}}}}}}}
| |
|
| |
| }}<includeonly>{{main other|{{#if:{{safesubst:#invoke:Check for unknown parameters|check|unknown=1|preview=1|locmapin|refs}}|[[Category:Articles using Infobox observatory using locally defined parameters]]|[[Category:Articles with infoboxes completely from Wikidata]]}}}}</includeonly><noinclude>
| |
| {{Documentation}}</noinclude>
| |