Template:Infobox astronomical event/doc

From The Global Wiki
Jump to navigation Jump to search

Usage

Just add:

{{infobox astronomical event}}

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. The full list of parameters is:

{{Infobox astronomical event
|name            = 
|image           = 
|image_size      = 
|caption         = 
|alt             = 
|names           = 
|event_type      = 
|class           = 
|start_time      = 
|duration        = 
|detected_by     = 
|constellation   = 
|ra              = 
|dec             = 
|epoch           = 
|gal             = 
|distance        = 
|redshift        = 
|source          = 
|remnant         = 
|host            = 
|progenitor      = 
|progenitor_type = 
|b-v             = 
|notes           = 
|peak            = 
|energy          = 
|website         = 
|predecessor     = 
|successor       = 
|commons         = 
|embedded        = 
}}
Parameter Default Description
name Wikidata label (en)
(Or 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 Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2096) Picture caption (if necessary).
name Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P528) Other designations
event_type Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P31) Event type
class Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P215) Spectral class
start_time Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P575) Start time
duration Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2047) Duration
detected_by Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P65) Instrument name
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
gal Galactic coordinates
redshift Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1090) Redshift
distance Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2583) Distance
source Source
remnant Remnant
host Host
projenitor Projenitor
projenitor_type Projenitor type
b-v B-V colour
notes Notable features
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}}
predecessor Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P155) Preceded by
successor Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P156) Succeeded by
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
embedded Provide an embedded infobox into this one

Tracking categories