Difference between revisions of "Template:Infobox telescope"
Jump to navigation
Jump to search
(Add pass-through of bodystyle to underlying infobox.) |
(Um, I put that in the wrong place.) |
||
Line 70: | Line 70: | ||
| below = {{#if:{{#invoke:Wikidata|getValue|P373|{{{commons|FETCH_WIKIDATA}}} }} | | below = {{#if:{{#invoke:Wikidata|getValue|P373|{{{commons|FETCH_WIKIDATA}}} }} | ||
| {{icon|Commons}} [[Commons:{{#if:{{{commons|}}} | {{{commons}}} | Category:{{#invoke:Wikidata|getValue|P373|FETCH_WIKIDATA}} }} |Related media on Wikimedia Commons]] | | {{icon|Commons}} [[Commons:{{#if:{{{commons|}}} | {{{commons}}} | Category:{{#invoke:Wikidata|getValue|P373|FETCH_WIKIDATA}} }} |Related media on Wikimedia Commons]] | ||
+ | }} | ||
<!--Pass-through parameters --> | <!--Pass-through parameters --> | ||
| bodystyle = {{{bodystyle|}}} | | bodystyle = {{{bodystyle|}}} | ||
− | |||
− | |||
− | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 19:29, 7 August 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