Difference between revisions of "Template:Infobox astronomical event/doc"
Jump to navigation
Jump to search
imported>Mike Peel (P528) |
|||
| Line 58: | Line 58: | ||
| ''name'' || Page name || Name of the event | | ''name'' || Page name || Name of the event | ||
|- | |- | ||
| − | | ''image'' || {{ | + | | ''image'' || {{Wikidata entity link|P18}} || Illustration |
|- | |- | ||
| ''caption'' || — || Picture caption (if necessary). | | ''caption'' || — || Picture caption (if necessary). | ||
|- | |- | ||
| − | | ''Event type'' || {{ | + | | ''Event type'' || {{Wikidata entity link|P31}} || Event type |
|- | |- | ||
| − | | ''Names'' || {{ | + | | ''Names'' || {{Wikidata entity link|P528}} || Other designations |
|- | |- | ||
| − | | ''Start time'' || {{ | + | | ''Start time'' || {{Wikidata entity link|P575}} || Start time |
|- | |- | ||
| − | | ''Detected by'' || {{ | + | | ''Detected by'' || {{Wikidata entity link|P65}} || Instrument name |
|- | |- | ||
| − | | ''Duration'' || {{ | + | | ''Duration'' || {{Wikidata entity link|P2047}} || Duration |
|- | |- | ||
| − | | ''Constellation''|| {{ | + | | ''Constellation''|| {{Wikidata entity link|P59}} || Constellation |
|- | |- | ||
| ''RA'' || — || RA | | ''RA'' || — || RA | ||
| Line 80: | Line 80: | ||
| ''Epoch'' || — || Epoch | | ''Epoch'' || — || Epoch | ||
|- | |- | ||
| − | | ''Redshift'' || {{ | + | | ''Redshift'' || {{Wikidata entity link|P1090}} || Redshift |
|- | |- | ||
| ''Distance'' || — || Distance | | ''Distance'' || — || Distance | ||
| Line 88: | Line 88: | ||
| ''Energy'' || — || Total energy output | | ''Energy'' || — || Total energy output | ||
|- | |- | ||
| − | | ''website'' || {{ | + | | ''website'' || {{Wikidata entity link|P856}} || The URL of the telescope's website. use {{tl|URL}} |
|- | |- | ||
| − | | ''commons'' || {{ | + | | ''commons'' || {{Wikidata entity link|P373}} || The appropriate page or category name at Wikimedia Commons |
|} | |} | ||
Revision as of 21:32, 3 November 2016
| 40px | This is a documentation subpage for Template:Infobox astronomical event. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Simple
{{infobox astronomical event}}
Data will be automatically included from Wikidata.
Full
| Script error: No such module "Wikidata". {{{caption}}} | |
| Other designations | Script error: No such module "Wikidata". |
|---|---|
| Event type | {{{Event_type}}} |
| Date | {{{start_time}}} |
| Duration | {{{duration}}} |
| Instrument | {{{detected_by}}} |
| Constellation | {{{constellation}}} |
| Right ascension | {{{ra}}} |
| Declination | {{{dec}}} |
| Epoch | {{{epoch}}} |
| Distance | {{{distance}}} |
| Redshift | {{{redshift}}} |
| Peak apparent magnitude | {{{peak}}} |
| Total energy output | {{{energy}}} |
| Website | {{{website}}} |
| 16x16px [[Commons:{{{commons}}} |Related media on Wikimedia Commons]] | |
{{Infobox astronomical event
| name = {{{name}}}
| image = {{{image}}}
| caption = {{{caption}}}
| event_type = {{{event_type}}}
| start_time = {{{start_time}}}
| detected_by = {{{detected_by}}}
| duration = {{{duration}}}
| redshift = {{{redshift}}}
| constellation = {{{constellation}}}
| ra = {{{ra}}}
| dec = {{{dec}}}
| epoch = {{{epoch}}}
| distance = {{{distance}}}
| peak = {{{peak}}}
| energy = {{{energy}}}
| website = {{{website}}}
| commons = <!-- (Page or category name at Commons) -->
}}
Parameters
This template returns values from Wikidata where they are available; these values can be overridden by passing values to the relevant parameters.