Difference between revisions of "Template:Infobox telescope"
Jump to navigation
Jump to search
imported>Tholme (Dont need three edit icons for when it was built.) |
imported>Cherkash m (dash) |
||
Line 46: | Line 46: | ||
| 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}}}} | + | | 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|getValue|rank=best|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 |
Latest revision as of 22:42, 19 February 2021
Alternative names | Script error: No such module "Wikidata".Script error: No such module "EditAtWikidata". |
---|---|
Location(s) | Lua error in Module:WikidataIB at line 1528: attempt to index field 'wikibase' (a nil value). |
Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value).Script error: No such module "EditAtWikidata". |
Wavelength | – |
Diameter | Script error: No such module "EditAtWikidata". |
Website | Template:UrlScript error: No such module "EditAtWikidata". |
Template:Wikidata location map | |
![]() | |
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template uses Lua: |
- redirect Template:Parameter names example
Usage
Just add:
{{infobox telescope}}
to the top of an article, and data will be automatically included from Wikidata where they are available. These values can be overridden by passing values to the relevant parameters in the article (if need be), e.g.:
{{infobox telescope | name = }}
The full list of parameters is:
Template data
Microformat
Tracking categories
- Category:Pages using infobox telescope with unknown parameters (0)
- Category:Articles with infoboxes completely from Wikidata (0)
- Category:Articles using Infobox telescope using locally defined parameters (0)
See also
The above documentation is transcluded from Template:Infobox telescope/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Categories:
- Pages with script errors
- Lua-based templates
- Wikipedia utility templates
- Template namespace templates
- Template documentation
- Astronomy infobox templates
- Buildings and structures infobox templates
- Technology and applied science infobox templates
- Embeddable templates
- Infobox templates using Wikidata
- Templates that add a tracking category