FANDOM


Template UsageEdit

{{:planetbook
|name = planet name
|rad = radius
|ldper = percent of land
|wtper = 5percent of water
|dens = density
|sg = surface gravity
|ve = escape velocity
|atm = pressure
|temp = mean temperature
|sun = number of stars
|moon = number of sattelites
|comp = companions
|day = length of day
|year = length of year
|age = current year
|pop = est population
|spec = species living
}}

Sample UsageEdit

Sample InputEdit

{{:planetbook
|name = essylt
|rad = 1450
|ldper = 50
|wtper = 50
|dens = 14.56
|sg = 
|ve = 
|atm = 0.80
|temp = 275
|sun = 1
|moon = 2
|comp = 
|day = 15 hours
|year = 375 days
|age = 789
|pop = 2 billion
|spec = Humantids
}}

Sample OutputEdit


essylt
Profile
 -  Radius 1450 km
 -  Diameter 2900 km
 -  Circumference 8961 km
 -  Area Total 26407400 km2
 -  Land Area (50 %) 13203700 km2
 -  Water Area (50 %) 13203700 km2
 -  Volume 12.76 × 109 km3
 -  Density 14.56 g/cc
 -  Mass 1.86 × 1023 kg
 -  Surface pressure 0.80 atm (11.8 PSI)
 -  Temperature 275 °K 2 °C
 -  No. of Stars 1
 -  No. of satellites 2
 -  Length of day 15 hours
 -  Length of year 375 days
 -  Current year 789
 -  Population 2 billion
 -  Species Humantids



To view the source code go to planetbook/source