Difference between revisions of "Template:Infobox planet"

From NSWiki
Jump to: navigation, search
m
m (messed up the code)
 
Line 18: Line 18:
 
|  data5      = {{{discovery_method|}}}
 
|  data5      = {{{discovery_method|}}}
  
| header10    = {{#if:{{{designations|{{{mp_name|}}}{{{named_after|}}}{{{alt_names|}}}{{{mp_category|}}}{{{pronounce|}}}{{{pronounced|}}}{{{adjective|}}}{{{adjectives|}}}}}}|{{#if:{{{exosolar planets|}}}|{{wp|Extrasolar planet#Nomenclature|Designations}}|Designations}} }}
+
| header10    = {{#if:{{{designations|{{{mp_name|}}}{{{named_after|}}}{{{alt_names|}}}{{{mp_category|}}}{{{pronounce|}}}{{{pronounced|}}}{{{adjective|}}}{{{adjectives|}}}}}}|{{#if:{{{exosolar planets|}}}|[[Extrasolar planet#Nomenclature|Designations]]|Designations}} }}
  
| label11    = {{wp|Minor planet designation|MPC designation}}
+
| label11    = [[Minor planet designation|MPC designation]]
 
|  data11    = {{{mp_name|}}}
 
|  data11    = {{{mp_name|}}}
 
| label12    = Pronunciation
 
| label12    = Pronunciation
Line 26: Line 26:
 
| label13    = {{longitem|Named after}}
 
| label13    = {{longitem|Named after}}
 
|  data13    = {{{named_after|}}}
 
|  data13    = {{{named_after|}}}
| label14    = {{longitem|[[Provisional designation in astronomy|Alternative names}}}}
+
| label14    = {{longitem|[[Provisional designation in astronomy|Alternative names]]}}
 
|  data14    = {{{alt_names|}}}
 
|  data14    = {{{alt_names|}}}
 
| label15    = Minor planet category
 
| label15    = Minor planet category
 
|  data15    = {{{mp_category|}}}
 
|  data15    = {{{mp_category|}}}
| label16    = {{wp|List of adjectivals and demonyms of astronomical bodies|Adjectives}}
+
| label16    = [[List of adjectivals and demonyms of astronomical bodies|Adjectives]]
 
|  data16    = {{{adjectives|{{{adjective|}}}}}}
 
|  data16    = {{{adjectives|{{{adjective|}}}}}}
  
Line 36: Line 36:
  
 
|  data21    = {{{orbit_diagram|}}}
 
|  data21    = {{{orbit_diagram|}}}
|  data22    = {{#if:{{{epoch|}}} |{{wp|Epoch (astronomy)|Epoch}} {{{epoch}}}}}
+
|  data22    = {{#if:{{{epoch|}}} |[[Epoch (astronomy)|Epoch]] {{{epoch}}}}}
| label23    = {{#switch:{{{apsis}}} |apsis|gee|(apsis)={{wp|Apsis|Apo{{{apsis}}}}} |{{wp|Aphelion|Ap{{#if:{{{apsis|}}}|{{{apsis}}}|helion}}}}}}
+
| label23    = {{#switch:{{{apsis}}} |apsis|gee|(apsis)=[[Apsis|Apo{{{apsis}}}]] |[[Aphelion|Ap{{#if:{{{apsis|}}}|{{{apsis}}}|helion}}]]}}
 
|  data23    = {{{aphelion|}}}
 
|  data23    = {{{aphelion|}}}
| label24    = {{wp|Perihelion|Peri{{#if:{{{apsis|}}}|{{{apsis}}}|helion}}}}
+
| label24    = [[Perihelion|Peri{{#if:{{{apsis|}}}|{{{apsis}}}|helion}}]]
 
|  data24    = {{{perihelion|}}}
 
|  data24    = {{{perihelion|}}}
| label25    = {{wp|Apsis|Peri{{#if:{{{apsis|}}}|{{{apsis}}}|apsis}}}}
+
| label25    = [[Apsis|Peri{{#if:{{{apsis|}}}|{{{apsis}}}|apsis}}]]
 
|  data25    = {{{periapsis|}}}
 
|  data25    = {{{periapsis|}}}
| label26    = {{#switch:{{{apsis}}} |helion|astron={{wp|Apsis|Ap{{{apsis}}}}} |{{wp|Apsis|Apo{{#if:{{{apsis|}}}|{{{apsis}}}|apsis}}}}}}
+
| label26    = {{#switch:{{{apsis}}} |helion|astron=[[Apsis|Ap{{{apsis}}}]] |[[Apsis|Apo{{#if:{{{apsis|}}}|{{{apsis}}}|apsis}}]]}}
 
|  data26    = {{{apoapsis|}}}
 
|  data26    = {{{apoapsis|}}}
| label27    = {{longitem|{{wp|Semi-major axis}}}}
+
| label27    = {{longitem|[[Semi-major axis]]}}
 
|  data27    = {{{semimajor|}}}
 
|  data27    = {{{semimajor|}}}
| label28    = {{longitem|Mean orbit [[radius}}}}
+
| label28    = {{longitem|Mean orbit [[radius]]}}
 
|  data28    = {{{mean_orbit_radius|}}}
 
|  data28    = {{{mean_orbit_radius|}}}
| label29    = {{wp|Orbital eccentricity|Eccentricity}}
+
| label29    = [[Orbital eccentricity|Eccentricity]]
 
|  data29    = {{{eccentricity|}}}
 
|  data29    = {{{eccentricity|}}}
| label30    = {{longitem|{{wp|Orbital period}}}}
+
| label30    = {{longitem|[[Orbital period]]}}
 
|  data30    = {{{period|}}}
 
|  data30    = {{{period|}}}
| label31    = {{longitem|{{wp|Orbital period|Synodic period}}}}
+
| label31    = {{longitem|[[Orbital period|Synodic period]]}}
 
|  data31    = {{{synodic_period|}}}
 
|  data31    = {{{synodic_period|}}}
 
| label32    = {{longitem|Average [[orbital speed]]}}
 
| label32    = {{longitem|Average [[orbital speed]]}}
 
|  data32    = {{{avg_speed|}}}
 
|  data32    = {{{avg_speed|}}}
| label33    = {{longitem|[[Mean anomaly}}}}
+
| label33    = {{longitem|[[Mean anomaly]]}}
 
|  data33    = {{{mean_anomaly|}}}
 
|  data33    = {{{mean_anomaly|}}}
| label34    = {{wp|Orbital inclination|Inclination}}
+
| label34    = [[Orbital inclination|Inclination]]
 
|  data34    = {{{inclination|}}}
 
|  data34    = {{{inclination|}}}
| label35    = {{longitem|{{wp|Angular distance}}}}
+
| label35    = {{longitem|[[Angular distance]]}}
 
|  data35    = {{{angular_dist|}}}
 
|  data35    = {{{angular_dist|}}}
| label36    = {{longitem|{{wp|Longitude of the ascending node|Longitude of ascending node}}}}
+
| label36    = {{longitem|[[Longitude of the ascending node|Longitude of ascending node]]}}
 
|  data36    = {{{asc_node|}}}
 
|  data36    = {{{asc_node|}}}
| label37    = {{longitem|{{wp|Longitude of the periapsis|Longitude of}} {{wp|Apsis|periastron}}}}
+
| label37    = {{longitem|[[Longitude of the periapsis|Longitude of]] [[Apsis|periastron]]}}
 
|  data37    = {{{long_periastron|}}}
 
|  data37    = {{{long_periastron|}}}
| label38    = {{longitem|{{wp|Apsis|Time of periastron}}}}
+
| label38    = {{longitem|[[Apsis|Time of periastron]]}}
 
|  data38    = {{{time_periastron|}}}
 
|  data38    = {{{time_periastron|}}}
| label39    = {{longitem|{{wp|Argument of periapsis|Argument of peri{{#if:{{{apsis|}}}|{{{apsis}}}|helion}}}}}}
+
| label39    = {{longitem|[[Argument of periapsis|Argument of peri{{#if:{{{apsis|}}}|{{{apsis}}}|helion}}]]}}
 
|  data39    = {{{arg_peri|}}}
 
|  data39    = {{{arg_peri|}}}
| label40    = {{nowrap|{{wp|Amplitude|Semi-amplitude}}}}
+
| label40    = {{nowrap|[[Amplitude|Semi-amplitude]]}}
 
|  data40    = {{{semi-amplitude|}}}
 
|  data40    = {{{semi-amplitude|}}}
| label41    = {{wp|Natural satellite|Satellite of}}
+
| label41    = [[Natural satellite|Satellite of]]
 
|  data41    = {{{satellite_of|}}}
 
|  data41    = {{{satellite_of|}}}
| label42    = {{#switch:{{{allsatellites|}}} |yes|true={{wp|Natural satellite|Satellite}}s |Known {{wp|Natural satellite|satellite}}s}}
+
| label42    = {{#switch:{{{allsatellites|}}} |yes|true=[[Natural satellite|Satellite]]s |Known [[Natural satellite|satellite]]s}}
 
|  data42    = {{{satellites|}}}
 
|  data42    = {{{satellites|}}}
| label43    = Earth {{wp|Minimum orbit intersection distance|MOID}}
+
| label43    = Earth [[Minimum orbit intersection distance|MOID]]
 
|  data43    = {{{moid|}}}
 
|  data43    = {{{moid|}}}
  

Latest revision as of 19:40, 11 October 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox planet
| name                   = 
| symbol                 = <!--([[File:...]])-->
| background             = 
| image                  = <!--([[File:...]])-->
| caption                = 
| apsis                  = 
| discovery_ref          = <ref>...</ref>
| discoverer             = 
| discovery_site         = 
| discovered             = 
| discovery_method       = 
| mp_name                = 
| pronounced             = 
| named_after            = 
| mp_category            = 
| alt_names              = 
| orbit_ref              = <ref>Osculating Orbital Elements</ref>
| orbit_diagram          = <!-- image link, just like in prose. ex.: [[File:1992 TC orbital diagram.jpg|260px]] -->
| epoch                  = 
| aphelion               = 
| perihelion             = 
| periastron             = 
| apoastron              = 
| periapsis              = 
| apoapsis               = 
| semimajor              = 
| mean_orbit_radius      = 
| eccentricity           = 
| period                 = 
| synodic_period         = 
| avg_speed              = <!--(Average orbital speed)-->
| mean_anomaly           = 
| inclination            = 
| angular_dist           = <!--(Angular distance)-->
| asc_node               = <!--(Longitude of ascending node)-->
| long_periastron        = <!--(Longitude of periastron)-->
| time_periastron        = <!--(Time of periastron)-->
| arg_peri               = <!--(Argument of peri[helion/astron/...])-->
| semi-amplitude         = 
| p_orbit_ref            = <ref>Proper Orbital Elements</ref>
| p_semimajor            = 
| p_eccentricity         = 
| p_inclination          = 
| p_mean_motion          = <!--(Proper orbital mean motion)-->
| perihelion_rate        = <!--(Proper perihelic precession rate)-->
| node_rate              = <!--(Proper nodal precession rate)-->
| satellite_of           = 
| satellites             = 
| moid                   = <!--(Earth MOID)-->
| dimensions             = 
| flattening             = 
| equatorial_radius      = 
| polar_radius           = 
| mean_radius            = 
| circumference          = 
| surface_area           = 
| volume                 = 
| mass                   = 
| density                = 
| surface_grav           = <!--(Equatorial surface gravity)-->
| moment_of_inertia_factor = <!--(Moment of inertia factor)-->
| escape_velocity        = 
| sidereal_day           = 
| rot_velocity           = <!--(Rotational velocity)-->
| axial_tilt             = 
| right_asc_north_pole   = <!--(North pole right ascension)-->
| declination            = <!--(North pole declination)-->
| pole_ecliptic_lat      = <!--(Pole ecliptic latitude)-->
| pole_ecliptic_lon      = <!--(Pole ecliptic longitude)-->
| albedo                 = 
| single_temperature     = 
| temp_name1             = 
| min_temp_1             = 
| mean_temp_1            = 
| max_temp_1             = 
| temp_name2             = 
| min_temp_2             = 
| mean_temp_2            = 
| max_temp_2             = 
| spectral_type          = 
| magnitude              = <!--(Apparent magnitude)-->
| abs_magnitude          = <!--(Absolute magnitude)-->
| angular_size           = 
| pronounced             = {{IPA-en|<!-- IPA string -->|}}
| adjectives             = 
| atmosphere_ref         = <ref>...</ref>
| surface_pressure       = 
| scale_height           = 
| atmosphere_composition = 
}}