Difference between revisions of "Template:UWPexpand"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (CSS tweak)
m (Add pop multipler)
Line 60: Line 60:
 
}}</td></tr><tr><td>
 
}}</td></tr><tr><td>
 
Population</td><td>{{#sub:{{{1}}}|4|1}}</td><td> {{#switch: {{#sub:{{{1}}}|4|1}}
 
Population</td><td>{{#sub:{{{1}}}|4|1}}</td><td> {{#switch: {{#sub:{{{1}}}|4|1}}
  | 0 = Low <10
+
  | 0 = Low ({{{2|1}}})
  | 1 = Low (tens)
+
  | 1 = Low ({{{2|1}}}0)
  | 2 = Low (hundreds)
+
  | 2 = Low ({{{2|1}}}00)
  | 3 = Low (thousands)
+
  | 3 = Low ({{{2|1}}} thousands)
  | 4 = Moderate (10 thousands)
+
  | 4 = Moderate {{{2|1}}}0 thousands)
  | 5 = Moderate (100 thousands)
+
  | 5 = Moderate ({{{2|1}}}00 thousands)
  | 6 = Moderate (millions)
+
  | 6 = Moderate ({{{2|1}}} millions)
  | 7 = Moderate (10 millions)
+
  | 7 = Moderate ({{{2|1}}}0 millions)
  | 8 = Moderate (100 millions)
+
  | 8 = Moderate ({{{2|1}}}00 millions)
  | 9 = High (billions)
+
  | 9 = High ({{{2|1}}} billions)
  | A = High (10 billions)
+
  | A = High ({{{2|1}}}0 billions)
  | B = High (100 billions)
+
  | B = High ({{{2|1}}}00 billions)
 
  | Error in Population Decode
 
  | Error in Population Decode
 
}}</td></tr><tr><td>
 
}}</td></tr><tr><td>
Line 140: Line 140:
 
  | L = Extreme Stellar (matter transport)
 
  | L = Extreme Stellar (matter transport)
 
  | Error in Tech Decode}}
 
  | Error in Tech Decode}}
</td></tr></table>
+
</td></tr></table><noinclude>[[Category: Templates|UWPexpand]]
 +
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.
 +
{{Sources|S1=[[Imperial Encyclopedia]]}}
 +
</noinclude>

Revision as of 12:08, 12 December 2007

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.