Template:Star infobox: Difference between revisions

From Ultronomicon
Jump to navigation Jump to search
Svip (talk | contribs)
Created page with "<includeonly>{{infobox |above=Star |top={{{type}}} |title={{{name}}} |image={{{image|}}} |caption={{{caption|}}} |label1=Coordinates..."
 
Svip (talk | contribs)
No edit summary
 
Line 8: Line 8:
|data1={{{coordinates}}}
|data1={{{coordinates}}}
|label2=Constellation
|label2=Constellation
|data2={{{constellation|}}}
|data2={{#if:{{{constellation|}}}|[[{{{constellation}}}]]|}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}{{#if:{{{constellation|}}}|[[Category:Stars|{{{constellation|}}}, {{{constellation char|}}}]]|[[Category:Stars]]}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 08:24, 28 August 2012

Documentation for {{star infobox}}

Use

Like {{planet infobox}}, this infobox is for star articles.

Usage

{{star infobox
|name               = Name of star
|image              = Image of star (optional)
|caption            = Image caption (optional)
|coordinates        = Star map coordinates (optional)
|constellation      = Constellation (optional)
|constellation char = Latin letter for its position in the constellation (e.g. C for Gamma) (optional)
}}