Mal:Infoboks teleskop: Forskjell mellom sideversjoner
Utseende
Slettet innhold Innhold lagt til
Ingen redigeringsforklaring |
Ingen redigeringsforklaring |
||
Linje 5: | Linje 5: | ||
| child = {{{child|no}}} |
| child = {{{child|no}}} |
||
| title = {{#if:{{{child|}}}||{{{name|{{#if:{{#invoke:Wd|ViewSomething|labels|en|value}}|{{#invoke:Wd|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}}} |
| title = {{#if:{{{child|}}}||{{{name|{{#if:{{#invoke:Wd|ViewSomething|labels|en|value}}|{{#invoke:Wd|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}}} |
||
| header1 = {{#if:{{{child|}}}|{{{name|{{#invoke:WikidataIB |
| header1 = {{#if:{{{child|}}}|{{{name|{{#invoke:WikidataIB |getLabel |{{{qid|}}}}}}}}}} |
||
| image1 = {{#if:{{{child|}}}||{{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |
| image1 = {{#if:{{{child|}}}||{{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getPreferredValue |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|<noinclude>image</noinclude>}}} |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:{{{child|}}}||{{#if:{{{image|}}}|{{{caption|}}}|{{If first display both|{{{caption|{{#invoke:Wd|getImageLegend|qid={{{qid|}}}|FETCH_WIKIDATA}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P18}} }} }} }}}} |
| caption1 = {{#if:{{{child|}}}||{{#if:{{{image|}}}|{{{caption|}}}|{{If first display both|{{{caption|{{#invoke:Wd|getImageLegend|qid={{{qid|}}}|FETCH_WIKIDATA}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P18}} }} }} }}}} |
||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getPreferredValue |P154 |name=logo |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{logo|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{logo_alt|}}}|suppressplaceholder=yes}} |
||
| caption2 = {{{logo_caption|}}} |
| caption2 = {{{logo_caption|}}} |
||
| label2 = Alternative names |
| label2 = Alternative names |
||
| data2 = {{#if:{{{child|}}}||{{#if:{{#invoke:WikidataIB |
| data2 = {{#if:{{{child|}}}||{{#if:{{#invoke:WikidataIB|getPreferredValue|P1813|name=alt_names|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{alt_names|}}} }}|{{#invoke:WikidataIB|getPreferredValue|P1813|name=alt_names|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{alt_names|}}} }}|{{#if:{{#invoke:Wd|ViewSomething|aliases|en|1|value}}|{{#invoke:Wd|ViewSomething|aliases|en|1|value}}{{EditAtWikidata|qid={{{qid|}}} }}|}} }}}} |
||
| label3 = Named after |
| label3 = Named after |
||
| data3 = {{If first display both|{{#invoke:WikidataIB |
| data3 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P138|name=namedafter|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{namedafter|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P138}} }} }} |
||
| label4 = Observatory |
| label4 = Observatory |
||
| data4 = {{#if:{{{child|}}}||{{If first display both|{{#invoke:WikidataIB |
| data4 = {{#if:{{{child|}}}||{{If first display both|{{#invoke:WikidataIB|getPreferredValue|P361|name=observatory|qid={{{qid|}}}|sep="<br />"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{observatory|{{{observatory|}}}}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P361}} }} }}}} |
||
| label5 = Location(s) |
| label5 = Location(s) |
||
Linje 29: | Linje 29: | ||
| label7 = Organization |
| label7 = Organization |
||
| data7 = {{If first display both|{{#invoke:WikidataIB |
| data7 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|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}} }} }} |
||
| label8 = [[List of observatory codes|Observatory code]] |
| label8 = [[List of observatory codes|Observatory code]] |
||
| data8 = {{#invoke:WikidataIB |
| data8 = {{#invoke:WikidataIB |getPreferredValue|P717|name=code|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|linkprefix="List of observatory codes#"|{{{code|}}}}} |
||
| label9 = Altitude |
| label9 = Altitude |
||
Linje 38: | Linje 38: | ||
| label10 = Observing time |
| label10 = Observing time |
||
| data10 = {{{obs-time|{{#if:{{#Property:P3891|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |
| data10 = {{{obs-time|{{#if:{{#Property:P3891|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |getPreferredValue |P3891 |name=obs-time |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3891}} }} }} }}} |
||
| label11 = [[Wavelength]] |
| label11 = [[Wavelength]] |
||
| data11 = {{{wavelength|{{#if:{{#property:P3738|from={{{qid|}}}}}|{{convert|input=P3738|qid={{{qid|}}}|frequency|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3738}}}}-{{convert|input=P3737|qid={{{qid|}}}|frequency|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3737}}}}|{{#if:{{#property:P2808|from={{{qid|}}}}}|{{convert|input=P2808|qid={{{qid|}}}|frequency|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2808}} }} | {{convert|input=P2144|qid={{{qid|}}}|wavelength|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2144}} }} | {{#invoke:WikidataIB |
| data11 = {{{wavelength|{{#if:{{#property:P3738|from={{{qid|}}}}}|{{convert|input=P3738|qid={{{qid|}}}|frequency|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3738}}}}-{{convert|input=P3737|qid={{{qid|}}}|frequency|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3737}}}}|{{#if:{{#property:P2808|from={{{qid|}}}}}|{{convert|input=P2808|qid={{{qid|}}}|frequency|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2808}} }} | {{convert|input=P2144|qid={{{qid|}}}|wavelength|abbr=on}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2144}} }} | {{#invoke:WikidataIB|getPreferredValue|P1227|name=wavelength|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{wavelength|}}}}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1227}} }} {{EditAtWikidata|pid=P3738|qid={{{qid|}}} }} }} }} }}} |
||
| label12 = Built |
| label12 = Built |
||
| data12 = {{{built|{{#if:{{#invoke:WikidataIB |
| data12 = {{{built|{{#if:{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P580 |name=constructed |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P582 |name=constructed |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}|{{Start date|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P580 |name=constructed |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }}–{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P582 |name=constructed |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }} }} {{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P793|Q385378}} }}{{EditAtWikidata|pid=P793|qid={{{qid|}}} }} }}}}} |
||
| label13 = [[First light (astronomy)|First light]] |
| label13 = [[First light (astronomy)|First light]] |
||
| data13 = {{If first display both|{{#invoke:WikidataIB |
| data13 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P729|name=first_light|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{first_light|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P729}} }} }} |
||
| label14 = Decommissioned |
| label14 = Decommissioned |
||
| data14 = {{If first display both|{{#invoke:WikidataIB |
| data14 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P576|name=decommissioned|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{decommissioned|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P576}} }} }} |
||
| label15 = Discovered |
| label15 = Discovered |
||
| data15 = {{{discovered|{{#if:{{#Property:P793|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |
| data15 = {{{discovered|{{#if:{{#Property:P793|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q753297 |qual=P642 |name=discovered |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P793|Q753297}} }} }} }} }}} |
||
| label16 = Telescope style |
| label16 = Telescope style |
||
| class16 = category |
| class16 = category |
||
| data16 = {{If first display both|{{#invoke:WikidataIB |
| data16 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P31|name=style|qid={{{qid|}}}|sep="<br />"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{style|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P31}} }} }} |
||
| label17 = Number of telescopes |
| label17 = Number of telescopes |
||
| data17 = {{If first display both|{{#invoke:WikidataIB |
| data17 = {{If first display both|{{#invoke:WikidataIB|getQualifierValue| P2670 |pval=Q4213 |qual=P1114 |name=style|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{number|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2670|Q4213}} }} }} |
||
| label18 = Diameter |
| label18 = Diameter |
||
Linje 88: | Linje 88: | ||
| label25 = [[Angular resolution]] |
| label25 = [[Angular resolution]] |
||
| data25 = {{If first display both|{{#invoke:WikidataIB |
| data25 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P3439|name=angular_resolution|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{angular_resolution|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3439}} }} }} |
||
| label26 = Collecting area |
| label26 = Collecting area |
||
Linje 98: | Linje 98: | ||
| label28 = [[Focal length]] |
| label28 = [[Focal length]] |
||
| data28 = {{{focal_length|{{If first display both|{{#invoke:WikidataIB |
| data28 = {{{focal_length|{{If first display both|{{#invoke:WikidataIB|getPreferredValue|P2151}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2151}} }}{{EditAtWikidata|pid=P2151|qid={{{qid|}}} }} }} }}} |
||
| label29 = [[Telescope mount|Mounting]] |
| label29 = [[Telescope mount|Mounting]] |
||
| data29 = {{{mounting|{{#if:{{#Property:P2670|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |
| data29 = {{{mounting|{{#if:{{#Property:P2670|from={{{qid|}}}}} | {{If first display both|{{#invoke:WikidataIB |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |name=mount |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2670|Q1205231}} }}{{EditAtWikidata|pid=P2670|qid={{{qid|}}} }} }} }} }}} |
||
| label30 = Enclosure |
| label30 = Enclosure |
||
| data30 = {{If first display both|{{#invoke:WikidataIB |
| data30 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P3158|name=dome|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{dome|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3158}} }} }} |
||
| label31 = Replaced |
| label31 = Replaced |
||
| data31 = {{If first display both|{{#invoke:WikidataIB |
| data31 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P1365|name=replaced|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{replaced|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1365}} }} }} |
||
| label32 = Replaced by |
| label32 = Replaced by |
||
| data32 = {{If first display both|{{#invoke:WikidataIB |
| data32 = {{If first display both|{{#invoke:WikidataIB|getPreferredValue|P1366|name=replacedby|qid={{{qid|}}}|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{replacedby|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1366}} }} }} |
||
| label33 = Website |
| label33 = Website |
Sideversjonen fra 26. mai 2020 kl. 20:39
Denne malen er under arbeid. Som leser bør du være forberedt på at innholdet kan endre seg fra dag til dag. Som bidragsyter bør du være forberedt på redigeringskollisjoner. |
Alternative names | Skriptfeil: Funksjonen «ViewSomething» eksisterer ikke. | ||
---|---|---|---|
Telescope style | Wikimedia-mal for infobokser | ||
Mal:Wikidata location map | |||
[[Commons:Category:Skriptfeil: Funksjonen «getValue» eksisterer ikke. |Related media on Wikimedia Commons]] | |||