Difference between revisions of "Template:Infobox astronomical event/doc"
Jump to navigation
Jump to search
imported>John of Reading |
imported>Huntster (Re-add param list. Easier to copy this than self-format based on the following list.) |
||
| Line 8: | Line 8: | ||
<pre>{{infobox astronomical event}}</pre> | <pre>{{infobox astronomical event}}</pre> | ||
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: | 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: | ||
| + | |||
| + | <pre style="overflow:auto"> | ||
| + | {{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 = | ||
| + | }} | ||
| + | </pre> | ||
{| class="wikitable" | {| class="wikitable" | ||
Revision as of 03:20, 25 June 2018
| 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. |
| This template uses Lua: |
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 =
}}