Difference between revisions of "Template:UWPexpand"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Added size code "D" for pages such as Comet Mid-Rift)
Line 12: Line 12:
 
Size</td><td>{{#sub:{{{1}}}|1|1}}</td><td> {{#switch: {{#sub:{{{1}}}|1|1}}
 
Size</td><td>{{#sub:{{{1}}}|1|1}}</td><td> {{#switch: {{#sub:{{{1}}}|1|1}}
 
  | R = Asteroid/Planetoid Ring
 
  | R = Asteroid/Planetoid Ring
 +
| D = Debris (<400 km)
 
  | S = Very Small (400 km)
 
  | S = Very Small (400 km)
 
  | 0 = Asteroid/Planetoid Belt
 
  | 0 = Asteroid/Planetoid Belt

Revision as of 20:20, 1 August 2013

Starport{ Error in Starport Decode
Size{ Error in Size Decode
Atmosphere{ Error in Atmosphere Decode
Hydrographics1 Dry World 10%
Population} Error in Population Decode
Government} Error in Government Decode
Law} Error in Law Decode
Tech Level Error in Tech Decode

This template expands the UPW code into a table of expanded text with a description for each position.

The template assumes the UWP is in the standard format of AXXXXXX-T. If not, the template may return an "Error in xxx decode".

The template takes a second parameter, which is a population multiplier, it appears in the population description. The template assumes a multiplier of 1 if not supplied.

This list of sources was used by the Traveller Wiki Editorial Team and individual contributors to compose this article. Copyrighted material is used under license from Far Future Enterprises or by permission of the author. The page history lists all of the contributions.