FANDOM


Template UsageEdit

{{:swbook
|name = 
|image = 
|type = 
|hometitle = 
|homename = 
|homedist = 
|capital = 
|govt = 
|govtype = 
|leader = 
|sun = 
|moon = 
|pop = 
|spec = 
|rad = 
|ldper = 
|wtper = 
|dens = 
|sg = 
|ve = 
|atm = 
|temp = 
|comp = 
|day = 
|year = 
|age = 
|navbar = 
}}

Sample CodingEdit

Sample InputEdit

{{:swbook
|name = name
|image = image
|type = type
|hometitle = home title
|homename = home name
|homedist = home ditance
|capital = capital
|govt = gov
|govtype = gov type
|leader = leader
|sun = sun
|moon = moon
|pop = population
|spec = species
|rad = 1200
|ldper = 50
|wtper = 50
|dens = 12.7
|sg = 11.7
|ve = 6.89
|atm = 0.73
|temp = 285
|comp = companion
|day = day
|year = year
|age = age
|navbar = navbar}}

Sample OutputEdit

<
name
image
Astrographical
 -  Type type
 -  Parent home title home name
 -  Distance from home title home ditance
 -  Capital capital
 -  Governance gov
 -  Type of government gov type
 -  Leader leader
 -  No. of Stars sun
 -  No. of satellites moon
 -  Population population
 -  Species species
Physical Characteristics
 -  Radius 1200 km
 -  Diameter 2400 km
 -  Circumference 7416 km
 -  Area Total 18086400 km2
 -  Land Area (50 %) 9043200 km2
 -  Water Area (50 %) 9043200 km2
 -  Volume 7.24 × 109 km3
 -  Density 12.7 g/cc
 -  Mass 0.92 × 1023 kg
 -  Surface gravity  11.7 m/sec2 38.4 ft/sec2
 -  Escape Velocity 6.89 km/sec 4.28 mi/sec
 -  Surface pressure 0.73 atm (10.7 PSI)
 -  Temperature 285 °K 12 °C
 -  Companion companion
 -  Length of day day
 -  Length of year year
 -  Current year age
Template:Navbar



To view the source code go to swbook/source