Difference between pages "Template:Infobox star" and "Template:Infobox star/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>PhilipTerryGraham (Merged {{Deprecated}} into custom {{Mbox}} message) |
imported>PhilipTerryGraham (Even brighter colour for compact stars) |
||
Line 1: | Line 1: | ||
− | + | {{Infobox | |
− | | headerstyle = font-size: 100%; background-color: # | + | | headerstyle = font-size: 100%; background-color: #{{#switch:{{{type|}}} | [[Compact star]] = D9F9FF | [[Black hole]] = E9E9E9 | #default = FFFFCD}} |
| title = {{{name|}}} | | title = {{{name|}}} | ||
− | | image = <includeonly>{{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}} | {{{image|}}} | <div style="position: relative">[[File:{{{constellation|}}} constellation map.svg|frameless|alt=Diagram showing star positions and boundaries of the {{{constellation|}}} constellation and its surroundings]]<div style="position: absolute; left: {{{map x|}}}%; top: {{{map y|}}}%;">[[File:Red circle.svg|{{{map circle|12}}}px]]</div></div> }}|alt={{{alt|}}}}}</includeonly> | + | | image = <includeonly>{{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}} | {{#ifeq:{{{image|}}} | none | | {{{image|}}} }} | <div style="position: relative">[[File:{{#if:{{{map image|}}} | {{{map image|}}} | {{{constellation|}}} constellation map.svg }}|frameless|alt=Diagram showing star positions and boundaries of the {{{constellation|}}} constellation and its surroundings, with the location of {{{name|}}} circled]]<div style="position: absolute; left: {{{map x|}}}%; top: {{{map y|}}}%;">[[File:Red circle.svg|{{{map circle|12}}}px]]</div></div> }}|alt={{{alt|}}}}}</includeonly> |
− | | caption = <includeonly>{{#if:{{{image|}}} | + | | caption = <includeonly>{{#if:{{{image|}}}{{{map image|}}} | {{{caption|}}} | }}</includeonly> |
− | | | + | | header1 = <includeonly>{{#if: {{{type|}}} | {{{type|}}} in [[{{{constellation|}}} (constellation)|{{{constellation|}}}]] | {{#if: {{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | [[Star system]] in [[{{{constellation|}}} (constellation)|{{{constellation|}}}]] | [[Star]] in [[{{{constellation|}}} (constellation)|{{{constellation|}}}]] }} | [[Star]] in [[{{{constellation|}}} (constellation)|{{{constellation|}}}]] }} }}</includeonly> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | | | + | | label2 = [[Star]]s |
− | | | + | | data2 = {{{stars|}}} |
+ | | label3 = [[Epoch (astronomy)|Epoch]] | ||
+ | | data3 = <includeonly>{{#if:{{{epoch|}}} | {{{epoch|}}} | [[Epoch (astronomy)#Julian years and J2000|J2000.0]] }}</includeonly> | ||
+ | | label4 = [[List of proper names of stars|Proper name]] | ||
+ | | data4 = {{{proper name|}}} | ||
+ | | label5 = [[Galaxy]] | ||
+ | | data5 = {{{galaxy|}}} | ||
+ | | label6 = [[Celestial coordinate system|Coordinates]] | ||
+ | | data6 = {{Unbulleted list|{{{ascension|}}}|{{{declination|}}}}} | ||
+ | | label7 = [[Apparent magnitude|Apparent {{Mvar|m}}]] <sub>([[Visible spectrum|V]])</sub> | ||
+ | | data7 = {{{apparent|}}} | ||
+ | | label8 = {{#if:{{{apparent band|}}} | {{#if:{{{apparent|}}} | Apparent {{Mvar|m}} <sub>({{{apparent band|}}})</sub> | [[Apparent magnitude|Apparent {{Mvar|m}}]] <sub>({{{apparent band|}}})</sub> }} | }} | ||
+ | | data8 = {{#if:{{{apparent band|}}} | {{{apparent alt|}}} | }} | ||
+ | | label9 = [[Absolute magnitude|Absolute {{Mvar|m}}]] <sub>({{#if:{{{apparent|}}}{{{apparent alt band|}}}{{{apparent alt|}}} | V | [[Visible spectrum|V]] }})</sub> | ||
+ | | data9 = {{{absolute|}}} | ||
+ | | label10 = [[Cosmic distance ladder|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 | [[Stellar evolution|Age]] | }} | [[Stellar evolution|Age]] }} | }} |
− | + | | data14 = {{#if:{{{age|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{age|}}} | }} | {{{age|}}} }} | }} | |
− | + | | label15 = {{#if:{{{mass|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | [[Stellar mass|Mass]] | }} | [[Stellar 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 | [[Stellar rotation|Rotation]] | }} | [[Stellar rotation|Rotation]] }} | }} | |
− | + | | data17 = {{#if:{{{rotation|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{rotation|}}} | }} | {{{rotation|}}} }} | }} | |
− | + | | label18 = {{#if:{{{temperature|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | [[Effective temperature|Temperature]] | }} | [[Effective temperature|Temperature]] }} | }} | |
− | + | | data18 = {{#if:{{{temperature|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} < 2 | {{{temperature|}}} | }} | {{{temperature|}}} }} | }} | |
− | | | + | | label19 = {{#if:{{{stellar|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | [[Stellar classification|Stellar classes]] | }} | [[Stellar classification|Stellar class]] }} | }} |
− | + | | data19 = {{#if:{{{stellar|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | {{{stellar|}}} | }} | {{{stellar|}}} }} | }} | |
− | | | + | | label20 = {{#if:{{{variable|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | [[Variable star|Variable classes]] | }} | [[Variable star|Variable class]] }} | }} |
− | + | | data20 = {{#if:{{{variable|}}} | {{#if:{{{stars|}}} | {{#ifexpr: {{{stars|}}} > 1 | {{{variable|}}} | }} | {{{variable|}}} }} | }} | |
− | | | + | | label21 = [[Planetary system|Planets]] |
− | + | | data21 = {{{planets|}}} | |
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |