Difference between revisions of "Template:Infobox astronomical survey/doc"
Jump to navigation
Jump to search
imported>Zyxw m (add Category:Infobox templates using Wikidata (via JWB)) |
imported>Zyxw m (note Lua module used, add link to tracking category, add template category) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| − | {{Generic template demo | name | image | caption | alt_names | type | target | organization | namedafter | started | ended | published | observations | wavelength | frequency | band | products | website | commons}} | + | {{Generic template demo | name | image | caption | alt_names | type | target | organization | namedafter | code | started | ended | published | observations | wavelength | frequency | band | products | website | commons}} |
| − | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:WikidataIB}} | + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:WikidataIB|Module:Check for unknown parameters}} |
| − | {{Uses Wikidata|P18|P31|P121|P137|P138|P373|P577|P580|P582|P856|P921|P1056|P1227|P2096|P2144|P2808}} | + | {{Uses Wikidata|P18|P31|P121|P137|P138|P373|P577|P580|P582|P625|P717|P856|P921|P1056|P1227|P2096|P2144|P2808}} |
== Usage == | == Usage == | ||
| Line 26: | Line 26: | ||
|- | |- | ||
| ''alt_names'' || Wikidata aliases (en) || Alternative names / aliases for the survey | | ''alt_names'' || Wikidata aliases (en) || Alternative names / aliases for the survey | ||
| + | |- | ||
| + | | ''coords'' || {{Wikidata entity link|P625}} || Coordinates for the survey location | ||
|- | |- | ||
| ''type'' || {{Wikidata entity link|P31}} || Survey type | | ''type'' || {{Wikidata entity link|P31}} || Survey type | ||
| Line 34: | Line 36: | ||
|- | |- | ||
| ''namedafter'' || {{Wikidata entity link|P138}} || Person or organisation the survey was named after | | ''namedafter'' || {{Wikidata entity link|P138}} || Person or organisation the survey was named after | ||
| + | |- | ||
| + | | ''code'' || {{Wikidata entity link|P717}} || Observatory code | ||
|- | |- | ||
| ''started'' || {{Wikidata entity link|P580}} || Year started | | ''started'' || {{Wikidata entity link|P580}} || Year started | ||
| Line 54: | Line 58: | ||
|- | |- | ||
| ''commons'' || {{Wikidata entity link|P373}} || Commons category | | ''commons'' || {{Wikidata entity link|P373}} || Commons category | ||
| + | |- | ||
| + | | ''embedded'' || || Embed another infobox into this one | ||
|} | |} | ||
| + | |||
| + | == Tracking categories == | ||
| + | * {{clc|Articles using Infobox astronomical survey using locally defined parameters}} | ||
| + | * {{clc|Articles with infoboxes completely from Wikidata}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
| Line 60: | Line 70: | ||
[[Category:Astronomy infobox templates|Astronomical survey]] | [[Category:Astronomy infobox templates|Astronomical survey]] | ||
[[Category:Infobox templates using Wikidata]] | [[Category:Infobox templates using Wikidata]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 12:34, 10 February 2019
| This is a documentation subpage for Template:Infobox astronomical survey. It contains usage information, categories and other content that is not part of the original template page. |
- redirect Template:Parameter names example
| This template uses Lua: |
Usage
Just add:
{{infobox astronomical survey}}
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 astronomical survey
| name =
}}
The full list of parameters is:
Tracking categories
- Category:Articles using Infobox astronomical survey using locally defined parameters (0)
- Category:Articles with infoboxes completely from Wikidata (0)