Difference between revisions of "Template:StellarData"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(12 intermediate revisions by 3 users not shown)
Line 82: Line 82:
 
=== {{{era}}} ===
 
=== {{{era}}} ===
 
{{{world}}} vs. {{{name}}} -> {{World|{{{world}}}|{{{sector}}}|{{{subsector}}}|{{{hex}}}}} <div class="UWPInfo">{{{UWP}}}<span>{{UWPexpand‎|{{{UWP}}}|{{{popmul|}}}}}</span></div>
 
{{{world}}} vs. {{{name}}} -> {{World|{{{world}}}|{{{sector}}}|{{{subsector}}}|{{{hex}}}}} <div class="UWPInfo">{{{UWP}}}<span>{{UWPexpand‎|{{{UWP}}}|{{{popmul|}}}}}</span></div>
 +
 +
[[Universal World Profile]] Data:
 
====System Details====
 
====System Details====
:{{{stars}}} with Worlds: {{{worlds}}} - Giants: {{{giants}}} - Belts: {{{belts}}}
+
* {{{stars}}} with Worlds: {{{worlds}}}  
 +
* [[Travel Zone]]: {{{zone|}}}
 +
* [[Population Multiplier]]: {{{popmul}}}
 +
* [[Planetoid Belt|Belt]]s: {{{belts}}}
 +
* [[Gas Giant|Giant]]s: {{{giants}}}
 +
 
 
====Trade Codes ====
 
====Trade Codes ====
: pCode: {{{pcode}}} - Trade codes: {{{codes|}}} - Sophonts: {{{sophonts}}} - Detail codes: {{{details|}}}
+
* [[Trade Code]]s: {{{codes|}}}  
: Travel Zone: {{{zone|}}}
+
* Planetary code (pCode): {{{pcode}}}  
: Bases: {{{bases|}}}
+
* [[Trade Code|Detail Codes]]: {{{details|}}}
==== Cultural details====
+
* [[Sophont]]s: {{{sophonts}}}  
:CX: {{{cx}}}  - Army: {{{army}}}
+
* [[Base]]s: {{{bases|}}}
: Allegiance: {{{aleg|}}} - Nobility: {{{nobility|}}}
+
 
====Economic details====
+
==== Cultural Details====
: Economic Extension: {{{ex}}} - Importance: {{{ix}}} - Resource Units: {{{ru|}}} - GWP (MCr): {{{gwp|}}} - World Trade Number: {{{wtn|}}} Trade Volume (MCr/year): {{{trade|}}}
+
[[Cultural Extension]] ([[Cx]]): {{{cx}}}   
====Starport details====
+
* [[Battalion Equivalent |Army]]: {{{army}}}
:Port Size {{{portSize|}}} - Building Capacity (Tons) {{{build|}}} - Port employees {{{spa|}}} - Port passengers (annual) {{{pass|}}}<includeonly>
+
* [[Allegiance Code|Allegiance]]: {{{aleg|}}}  
 +
* [[Nobility]]: {{{nobility|}}}
 +
 
 +
====Economic Details====
 +
* [[Economic Extension]] ([[Ex]]): {{{ex}}}  
 +
* [[Importance Extension]] ([[Ix]]): {{{ix}}}  
 +
* [[Resource Unit]]s ([[RU]]): {{{ru|}}}  
 +
* [[Gross World Product]] ([[GWP]] in [[MCr]]): {{{gwp|}}}  
 +
* [[World Trade Number]] ([[WTN]]): {{{wtn|}}}  
 +
* Trade Volume ([[MCr]]/year): {{{trade|}}}
 +
 
 +
====Starport Details====
 +
* Port Size {{{portSize|}}}  
 +
* Building Capacity (Tons) {{{build|}}}  
 +
* [[Starport Authority|Port employees]] {{{spa|}}}  
 +
* Port Passengers (annual) {{{pass|}}}<includeonly>
 
{{#cargo_store:
 
{{#cargo_store:
 
  _table=StellarData
 
  _table=StellarData
Line 129: Line 151:
 
  |port_size={{{portSize|}}}
 
  |port_size={{{portSize|}}}
 
  |SPA = {{{spa|}}}
 
  |SPA = {{{spa|}}}
  |sectorCode = {{#sub:{{{sector}}}|0|4}}}
+
  |sectorCode = {{#sub:{{{sector}}}|0|4}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 18:35, 28 June 2020

This template defines the table "StellarData". View table.

This is a template to enter stellar data, captured per era.

This is a Cargo template, meaning is is used to capture data, not format the results. The formatting is done through the Template: StellarDataQuery and Template: StellarData.layout templates.

{{StellarData
 |world     = World Name
 |sector    = Sector Name
 |subsector = Subsector Name
 |era       = Era for this data -> See Category:Milieus
 |hex       = Hex in the sector (4 digits)
 |name      = Page name for this data
 |UWP       = UWP code
 |pcode     = Planetary trade code (single)
 |codes     = Trade codes (Comma list)
 |sophonts  = Sophonts codes: (Humaniti) or HumaW (Comma list)
 |details   = Details codes (Comma list)
 |ix        = Importance number
 |ex        = Ex codes
 |cx        = Cultural Extension codes
 |nobility  = Nobility codes
 |bases     = Bases codes
 |zone      = Travel zone codes
 |popmul    = population multiplier (PBG value)
 |belts     = Planetoid belts (PBG Value)
 |giants    = Gas Giant count (PBG value)
 |worlds    = Worlds in system 
 |aleg      = Allegiance code
 |stars     = Stars in the system (Comma list)
 |wtn       = World Trade Number value
 |ru        = Resource Units value
 |gwp       = Gross World Product (GWP) in BCr
 |trade     = Annual trade value in BCr
 |pass      = Annual passenger count
 |build     = Starport construction capacity (Tons)
 |army      = Standing army size (BEs)
 |portSize  = GT:Staports port size 
 |spa       = Star port authority population
}}

The output values are:

{{{era}}}

{{{world}}} vs. {{{name}}} -> [[{{{world}}} (world)|{{{world}}}]]/[[{{{subsector}}} Subsector|{{{subsector}}}]] ([[{{{sector}}} Sector|{{{sector}}}]] {{{hex}}})

{{{UWP}}}
Starport{ Error in Starport Decode
Size{ Error in Size Decode
Atmosphere{ Error in Atmosphere Decode
HydrographicsU Error in Hydrographics Decode
PopulationW Error in Population Decode
GovernmentP K'kree station or facility
Law} Error in Law Decode
Tech Level} Error in Tech Decode

Universal World Profile Data:

System Details

Trade Codes

Cultural Details

Cultural Extension (Cx): {{{cx}}}

Economic Details

Starport Details

  • Port Size
  • Building Capacity (Tons)
  • Port employees
  • Port Passengers (annual)