Template:Constellation navbox

{{Intricate template}}{{Navbox

| name = {{#ifexist:Template:{{{constellation|}}}_(constellation)|{{{constellation|}}} (constellation)|{{{constellation|}}}}}

| title = {{#ifexist:{{{constellation

| bodyclass = hlist

| basestyle = text-align: center;

| state = {{{state|autocollapse}}}

| above = {{{related|}}}

| below = {{Icon|Category}} :Category:{{#ifexist:Category:{{{constellation

| group1 = Stars

| groupwidth = 55px

| list1 = {{Navbox|child

| group1 = Named

| groupwidth = 70px

| list1 = {{{stars_named|}}}

| group2 = Bayer

| list2 = {{{stars_bayer|}}}

| group3 = Flamsteed

| list3 = {{{stars_flamsteed|}}}

| group4 = Variable

| list4 = {{{stars_variable|}}}

| group5 = HR

| list5 = {{{stars_hr|}}}

| group6 = HD

| list6 = {{{stars_hd|}}}

| group7 = Other

| list7 = {{{stars_other|}}}

}}

| list2 = {{#if:{{{exoplanets|}}}|{{Navbox|child

| group1 = Exoplanets

| groupstyle = background: #ddddff;

| groupwidth = 151px

| list1 = {{{exoplanets|}}}

}}|}}

| group3 = Star
clusters

| list3 = {{#if:{{{sclusters_ngc|}}}{{{sclusters_other|}}}|{{Navbox|child

| group1 = NGC

| groupwidth = 70px

| list1 = {{{sclusters_ngc|}}}

| group2 = Other

| list2 = {{{sclusters_other|}}}

}}|}}

| list4 = {{#if:{{{sclusters_ngc|}}}{{{sclusters_other|}}}||{{#if:{{{sclusters|}}}|{{Navbox|child

| group1 = Star clusters

| groupstyle = background: #ddddff;

| groupwidth = 151px

| list1 = {{{sclusters|}}}

}}|}}}}

| group5 = Nebulae

| list5 = {{#if:{{{nebulae_ngc|}}}{{{nebulae_other|}}}|{{Navbox|child

| group1 = {{#if:{{{sclusters_ngc|}}}|NGC|NGC}}

| groupwidth = 70px

| list1 = {{{nebulae_ngc|}}}

| group2 = Other

| list2 = {{{nebulae_other|}}}

}}|}}

| list6 = {{#if:{{{nebulae_ngc|}}}{{{nebulae_other|}}}||{{#if:{{{nebulae|}}}|{{Navbox|child

| group1 = Nebulae

| groupstyle = background: #ddddff;

| groupwidth = 151px

| list1 = {{{nebulae|}}}

}}|}}}}

| group7 = Galaxies

| list7 = {{#if:{{{galaxies_messier|}}}{{{galaxies_ngc|}}}{{{galaxies_num|}}}{{{galaxies_other|}}}|{{Navbox|subgroup

| group1 = Messier

| groupwidth = 70px

| list1 = {{{galaxies_messier|}}}

| group2 = {{#if:{{{sclusters_ngc|}}}{{{nebulae_ngc|}}}|NGC|NGC}}

| list2 = {{{galaxies_ngc|}}}

| group3 = Numbered

| list3 = {{{galaxies_num|}}}

| group4 = Other

| list4 = {{{galaxies_other|}}}

}}|}}

| list8 = {{#if:{{{galaxies_messier|}}}{{{galaxies_ngc|}}}{{{galaxies_other|}}}||{{#if:{{{galaxies|}}}|{{Navbox|child

| group1 = Galaxies

| groupstyle = background: #ddddff;

| groupwidth = 151px

| list1 = {{{galaxies|}}}

}}|}}}}

| list9 = {{#if:{{{gclusters|}}}|{{Navbox|child

| group1 = Galaxy clusters

| groupstyle = background: #ddddff;

| groupwidth = 151px

| list1 = {{{gclusters|}}}

}}|}}

| list10 = {{#if:{{{events|}}}|{{Navbox|child

| group1 = Astronomical events

| groupstyle = background: #ddddff;

| groupwidth = 151px

| list1 = {{{events|}}}

}}|}}

}}

{{Documentation}}