Template:Infobox astronomical event
![]() | This template uses Lua: |

This template uses the Wikidata properties:
NO LABEL (P18) (see uses)
NO LABEL (P31) (see uses)
NO LABEL (P59) (see uses)
NO LABEL (P65) (see uses)
NO LABEL (P155) (see uses)
NO LABEL (P156) (see uses)
NO LABEL (P215) (see uses)
NO LABEL (P373) (see uses)
NO LABEL (P528) (see uses)
NO LABEL (P575) (see uses)
NO LABEL (P1090) (see uses)
NO LABEL (P856) (see uses)
NO LABEL (P373) (see uses)
NO LABEL (P2047) (see uses)
NO LABEL (P2096) (see uses)
NO LABEL (P2583) (see uses)
Usage
Just add:
<syntaxhighlight lang="wikitext"></syntaxhighlight> 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:
<syntaxhighlight lang="wikitext" style="overflow:auto">
</syntaxhighlight>
Parameter | Default | Description |
---|---|---|
name | Wikidata label (en) (Or Page name) |
Name of the event |
image | (P18) | Illustration |
caption | (P2096) | Picture caption (if necessary). |
name | (P528) | Other designations |
event_type | (P31) | Event type |
class | (P215) | Spectral class |
start_time | (P575) | Start time |
duration | (P2047) | Duration |
detected_by | (P65) | Instrument name |
constellation | (P59) | Constellation |
ra | — | RA |
dec | — | Dec |
epoch | — | Epoch |
gal | — | Galactic coordinates |
redshift | (P1090) | Redshift |
distance | (P2583) | Distance |
source | — | Source |
remnant | — | Remnant |
host | — | Host |
progenitor | — | Progenitor |
progenitor_type | — | Progenitor type |
b-v | — | B-V colour |
notes | — | Notable features |
peak | — | Peak apparent magnitude |
energy | — | Total energy output |
website | (P856) | The URL of the telescope's website. use {{URL}} |
predecessor | (P155) | Preceded by |
successor | (P156) | Succeeded by |
commons | (P373) | The appropriate page or category name at Wikimedia Commons |
embedded | — | Provide an embedded infobox into this one |
onlysourced | yes | Only use Wikidata with a source other than Wikipedia |