Difference between revisions of "Template:Infobox astronomical event/doc"
Jump to navigation
Jump to search
imported>Mike Peel (document embedded parameter) |
imported>Vanisaac m (→Tracking categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:WikidataIB}} | + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:WikidataIB|Module:String2|Module:Check for unknown parameters}} |
{{Uses Wikidata|P18|P31|P59|P65|P155|P156|P215|P373|P528|P575|P1090|P856|P373|P2047|P2096|P2583}} | {{Uses Wikidata|P18|P31|P59|P65|P155|P156|P215|P373|P528|P575|P1090|P856|P373|P2047|P2096|P2583}} | ||
| 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" | ||
| Line 64: | Line 101: | ||
| ''website'' || {{Wikidata entity link|P856}} || The URL of the telescope's website. use {{tl|URL}} | | ''website'' || {{Wikidata entity link|P856}} || The URL of the telescope's website. use {{tl|URL}} | ||
|- | |- | ||
| − | | ''predecessor'' || {{Wikidata entity link|P155}} || | + | | ''predecessor'' || {{Wikidata entity link|P155}} || Preceded by |
|- | |- | ||
| ''successor'' || {{Wikidata entity link|P156}} || Succeeded by | | ''successor'' || {{Wikidata entity link|P156}} || Succeeded by | ||
| Line 73: | Line 110: | ||
|} | |} | ||
| − | + | == Tracking categories == | |
| + | * {{clc|Articles using Infobox astronomical event using locally defined parameters}} | ||
| + | * {{clc|Articles with infoboxes completely from Wikidata}} | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Astronomy infobox templates|Astronomical event]] | [[Category:Astronomy infobox templates|Astronomical event]] | ||
[[Category:Infobox templates using Wikidata]] | [[Category:Infobox templates using Wikidata]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 18:04, 25 April 2020
| 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 =
}}
Tracking categories
- Category:Articles using Infobox astronomical event using locally defined parameters (0)
- Category:Articles with infoboxes completely from Wikidata (0)