Template:Infobox astronomical event/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

Usage

Simple

{{infobox astronomical event}}

Data will be automatically included from Wikidata.

Full

{{{name}}}
Script error: No such module "Wikidata".
{{{caption}}}
Other designationsScript 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.

Parameter Default Description
name Page name Name of the event
image Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P18) Illustration
caption Picture caption (if necessary).
Event type Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P31) Event type
Names Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P528) Other designations
Start time Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P575) Start time
Detected by Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P65) Instrument name
Duration Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2047) Duration
Constellation Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P59) Constellation
RA RA
Dec Dec
Epoch Epoch
Redshift Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1090) Redshift
Distance Distance
Peak Peak apparent magnitude
Energy Total energy output
website Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P856) The URL of the telescope's website. use {{URL}}
commons Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P373) The appropriate page or category name at Wikimedia Commons