Difference between revisions of "Template:UWPexpand"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
<table style="width: 21em; text-align: left; font-size: 95%"><tr><td>
+
<table style="width: 21em; text-align: left; font-size: 95%; border-style: none"><tr><td>
 
Starport</td><td>{{#sub:{{{1}}}|0|1}}</td><td> {{#switch: {{#sub:{{{1}}}|0|1}}
 
Starport</td><td>{{#sub:{{{1}}}|0|1}}</td><td> {{#switch: {{#sub:{{{1}}}|0|1}}
 
  | A = Excellent: Starship Construction, Overhaul, Refined fuel
 
  | A = Excellent: Starship Construction, Overhaul, Refined fuel

Revision as of 20:03, 4 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.