Difference between revisions of "Template:Infobox telescope"
Jump to navigation
Jump to search
imported>RexxS (if there's no website as in South Pole Telescope, it was failing to fetch from Wikidata. This should fix it.) |
imported>Izkala (Fix parameter names) |
||
Line 27: | Line 27: | ||
| label8 = Built | | label8 = Built | ||
− | | | + | | rowclass8 = note |
| data8 = {{{built|{{#if:{{#Property:P793}} | {{Start date|{{#invoke:Wikidata|claim|P793|qualifier=P580|FETCH_WIKIDATA}}–{{#invoke:Wikidata|claim|P793|qualifier=P582|FETCH_WIKIDATA}} }} }}}}} | | data8 = {{{built|{{#if:{{#Property:P793}} | {{Start date|{{#invoke:Wikidata|claim|P793|qualifier=P580|FETCH_WIKIDATA}}–{{#invoke:Wikidata|claim|P793|qualifier=P582|FETCH_WIKIDATA}} }} }}}}} | ||
Line 34: | Line 34: | ||
| label10 = Telescope style | | label10 = Telescope style | ||
− | | | + | | rowclass10 = note |
| class10 = category | | class10 = category | ||
| data10 = {{#invoke:Wikidata|getValue|P31|{{{style|FETCH_WIKIDATA}}}}} | | data10 = {{#invoke:Wikidata|getValue|P31|{{{style|FETCH_WIKIDATA}}}}} | ||
| label11 = Diameter | | label11 = Diameter | ||
− | | | + | | rowclass11 = note |
| data11 = {{{diameter|}}} | | data11 = {{{diameter|}}} | ||
| label12 = Secondary dia. | | label12 = Secondary dia. | ||
− | | | + | | rowclass12 = note |
| data12 = {{{diameter2|}}} | | data12 = {{{diameter2|}}} | ||
| label13 = Tertiary dia. | | label13 = Tertiary dia. | ||
− | | | + | | rowclass13 = note |
| data13 = {{{diameter3|}}} | | data13 = {{{diameter3|}}} | ||
Revision as of 16:43, 26 June 2015
Script error: No such module "Wikidata". | |
Location(s) | Script error: No such module "Wikidata"., Script error: No such module "Wikidata". |
---|---|
Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). |
Built | Script error: No such module "Wikidata".–Script error: No such module "Wikidata". |
First light | Script error: No such module "Wikidata". |
Telescope style | Script error: No such module "Wikidata". |
Website | Template:Url |
![]() |
[[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