Template:Infobox star/sandbox
{{Infobox
| headerstyle = font-size: 100%; background-color: #{{#switch:{{{type|}}} | Compact star = D9F9FF | Black hole = E9E9E9 | #default = FFFFCD}}
| title = {{{name|}}}
| image =
| caption =
| header1 =
| label2 = Stars
| data2 = {{{stars|}}}
| label3 = Epoch
| data3 =
| label4 = Proper name
| data4 = {{{proper name|}}}
| label5 = Galaxy
| data5 = {{{galaxy|}}}
| label6 = Coordinates
| data6 = {{Unbulleted list|{{{ascension|}}}|{{{declination|}}}}}
| label7 = Apparent magnitude (V)
| data7 = {{{apparent|}}}
| label8 = {{#if:{{{apparent band|}}} | {{#if:{{{apparent|}}} | Apparent {{Mvar|m}} ({{{apparent band|}}}) | Apparent magnitude ({{{apparent band|}}}) }} | }}
| data8 = {{#if:{{{apparent band|}}} | {{{apparent alt|}}} | }}
| label9 = Absolute magnitude ({{#if:{{{apparent|}}}{{{apparent alt band|}}}{{{apparent alt|}}} | V | V }})
| data9 = {{{absolute|}}}
| label10 = Distance
| data10 = {{{distance|}}}
| label11 = Proper motion
| data11 = {{Unbulleted list|{{{motion ra|}}}|{{{motion dec|}}}}}
| label12 = Radial velocity
| data12 = {{{velocity|}}}
| header13 = {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{#if:{{{age|}}}{{{mass|}}}{{{radius|}}}{{{rotation|}}}{{{temperature|}}}{{{stellar|}}}{{{variable|}}}{{{planets|}}} | Characteristics | }} | }} | {{#if:{{{age|}}}{{{mass|}}}{{{radius|}}}{{{rotation|}}}{{{temperature|}}}{{{stellar|}}}{{{variable|}}}{{{planets|}}} | Characteristics | }} }}
| label14 = {{#if:{{{age|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | Age | }} | Age }} | }}
| data14 = {{#if:{{{age|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{age|}}} | }} | {{{age|}}} }} | }}
| label15 = {{#if:{{{mass|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | Mass | }} | Mass }} | }}
| data15 = {{#if:{{{mass|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{mass|}}} | }} | {{{mass|}}} }} | }}
| label16 = {{#if:{{{radius|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | Radius | }} | Radius }} | }}
| data16 = {{#if:{{{radius|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{radius|}}} | }} | {{{radius|}}} }} | }}
| label17 = {{#if:{{{rotation|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | Rotation | }} | Rotation }} | }}
| data17 = {{#if:{{{rotation|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{rotation|}}} | }} | {{{rotation|}}} }} | }}
| label18 = {{#if:{{{temperature|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | Temperature | }} | Temperature }} | }}
| data18 = {{#if:{{{temperature|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{temperature|}}} | }} | {{{temperature|}}} }} | }}
| label19 = {{#if:{{{stellar|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | Stellar classes | }} | Stellar class }} | }}
| data19 = {{#if:{{{stellar|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | {{{stellar|}}} | }} | {{{stellar|}}} }} | }}
| label20 = {{#if:{{{variable|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | Variable classes | }} | Variable class }} | }}
| data20 = {{#if:{{{variable|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | {{{variable|}}} | }} | {{{variable|}}} }} | }}
| label21 = Planets
| data21 = {{{planets|}}}
}}