Difference between revisions of "Template:Star infobox"

From Ultronomicon
Jump to navigation Jump to search
(Created page with "<includeonly>{{infobox |above=Star |top={{{type}}} |title={{{name}}} |image={{{image|}}} |caption={{{caption|}}} |label1=Coordinates...")
 
 
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[edit]

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

Usage[edit]

{{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)
}}