Difference between revisions of "Template:StellarData.layout"
Jump to navigation
Jump to search
(48 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{|cellspacing="0" class="va-infobox" | {|cellspacing="0" class="va-infobox" | ||
− | | colspan="2" style="font-size: larger | + | | colspan="2" | |
− | |- | + | {| width="100%" cellspacing="0" style="border-collapse:collapse; text-align:center" |
− | + | |colspan="2" style="border-top-left-radius: 6px;border-top-right-radius: 6px;font-size: larger; background: #{{#switch: {{{8}}}|As=8E9397|De=EDC9AF|Fl=FFB0B0|He=FF8D3F|Ic=A5F2F3|Oc=0094ED|Po=C4D6C4|Va=F0F0F0|Wa=7ACFF7|C0FFC0}}" |{{#ifeq: {{#counter: name}}|1|{{{33}}}|'''{{{1}}}'''/[[{{{3}}} Subsector|{{#if:{{#pos:{{{3}}}|(}}|{{#sub:{{{3}}}|0|{{#pos:{{{3}}}|(}}}}|{{{3}}}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{5}}}) }} | |
− | + | |- style="background:#{{#switch:{{{17}}}|F|R=ff6060|U|A=ffffA0|C0FFC0}}" | |
+ | | [[{{{4}}}]] | ||
+ | | <div class="UWPInfo">{{{7}}}<span>{{UWPexpand|{{{7}}}|{{{18|}}}}}</span></div> | ||
+ | |} | ||
|- | |- | ||
| See also || [[Universal World Profile|UWP]] | | See also || [[Universal World Profile|UWP]] | ||
{{#ifeq: {{#counter: stars|type=number}}|1|{{StellarData.layout-world|{{{1}}}|{{{2}}}|{{{3}}}|{{{5}}}|{{{23}}}|{{{21}}}|{{{20}}}|{{{19}}}}} }} | {{#ifeq: {{#counter: stars|type=number}}|1|{{StellarData.layout-world|{{{1}}}|{{{2}}}|{{{3}}}|{{{5}}}|{{{23}}}|{{{21}}}|{{{20}}}|{{{19}}}}} }} | ||
+ | |- | ||
+ | | colspan="2" class="color2" style="background: #f2f5e3" | '''Cultural Details''' | ||
+ | |- | ||
+ | | [[Government]] || {{GovCode|{{#sub:{{{7|A000123-X}}}|5|1}} }} | ||
+ | |- | ||
+ | | [[Law Level]] || {{LawCode|{{#sub:{{{7|A000123-X}}}|6|1}} }} | ||
+ | |- | ||
+ | | [[Cultural Extension]] || {{{14|}}} | ||
+ | |- | ||
+ | | [[Army|Army Size]] ([[BE]]s) || {{{30|}}} | ||
|- | |- | ||
− | | colspan="2" style=" | + | | colspan="2" class="color2" style="background: #f1fba9" | '''Economic Details''' |
|- | |- | ||
− | | | + | | [[Technology Level]] || {{HexConvert|{{#sub:{{{7|A000000-J}}}|8|1}}}} |
|- | |- | ||
− | | | + | | [[Economic Extension]] |
− | | | + | |<div class="UWPInfo">{{{13|}}}<span>{{EXexpand|{{{13|}}}|{{{18|}}}}}</span></div> |
− | | | ||
|- | |- | ||
− | | | + | | [[Importance Extension]] || {{{12|}}} |
|- | |- | ||
− | | | + | | [[Resource Unit]]s || {{formatnum:{{{25|}}}}} |
|- | |- | ||
− | | | + | | [[GWP]] ([[BCr]]) || {{formatnum:{{{26|}}}}} |
|- | |- | ||
− | | | + | | [[World Trade Number]] || {{#expr: {{{24|0}}}/2 round 1}} |
|- | |- | ||
− | | | + | | Trade Volume ([[MCr]]/year) || {{formatnum:{{{27|}}}}} |
|- | |- | ||
− | | | + | | colspan="2" class="color2" style="background: #d5edf0" | '''Starport Details''' |
|- | |- | ||
− | | | + | | [[Starport|Classification]] || [[Starport/class-{{#sub:{{{7|M}}}|0|1}}|Class-{{#sub:{{{7|M}}}|0|1}}]] |
|- | |- | ||
| Port Size || {{{31|}}} | | Port Size || {{{31|}}} | ||
Line 39: | Line 51: | ||
|} | |} | ||
{{#ifeq: {{#counter: header|type=number}}|1||=== Era: {{{4}}} ===}} | {{#ifeq: {{#counter: header|type=number}}|1||=== Era: {{{4}}} ===}} | ||
− | '''{{{1}}}''' {{{9}}} | + | '''{{{1}}}''' {{#if:{{{9|}}}|{{{9}}}|{{WorldSummaryComment|-}}}} {{#if: {{{11|}}}|{{#arraymaptemplate:{{{11}}}|WorldSummaryComment|,| }}}} {{#if: {{{36|}}}| |
− | {{#if: {{{11|}}}|{{#arraymaptemplate:{{{11}}}|WorldSummaryComment|,| | + | {{#arraymaptemplate:{{{36}}}|WorldSummaryComment|,| }} }} {{World summary allegiance|code={{{22|NaHu}}}|sector={{{2}}}|subsector={{{3}}} }} {{#if: {{{15|}}}|{{Imperial Nobility|name={{{1}}}|Noble={{{15}}}|paragraph=true}} }} {{#ifeq: {{{16|-}}}|-| |{{{34|'''missing base code''' }}} }} {{#if: {{{10|}}}| |
− | {{# | + | {{#arraymaptemplate:{{{10}}}|World summary sophont|,| }}}} {{#if: {{{37|}}}|{{Alternate world name|name={{{37}}} }} }} {{#if: {{{38|}}}|The [[Nahuatl]] name of the world is ''{{{38}}}''.}} |
− | {{ | ||
− | {{#arraymaptemplate:{{{10}}}|World summary sophont|,| | ||
− | {{#if: {{{ | ||
{{#switch: {{{17}}} | {{#switch: {{{17}}} | ||
− | |R=<includeonly>[[Category: Red Zone worlds]]</includeonly> | + | |F|R=<includeonly>[[Category: Red Zone worlds]]</includeonly> |
− | |A=<includeonly>[[Category: Amber Zone worlds]]</includeonly>|}} | + | |U|A=<includeonly>[[Category: Amber Zone worlds]]</includeonly>|}}<includeonly> |
− | + | {{#arraymap:{{{35|}}}|,|x|[[x]]| }}[[Category: Worlds]][[Category: Era: {{{4}}}]]</includeonly><noinclude> | |
− | <includeonly>[[Category: Worlds]][[Category: Era: {{{4}}}]]</includeonly><noinclude> | ||
[[Category: Cargo Templates|StellarData]] | [[Category: Cargo Templates|StellarData]] | ||
− | {{StellarData.layout/doc}} | + | [[Category: Infobox|StellarData]] |
+ | {{StellarData.layout/doc}} | ||
+ | * [[Template:StellarData.layout/doc]] | ||
</noinclude> | </noinclude> |
Revision as of 11:07, 22 October 2020
| |||||||||||||||||||||||||||||
See also | UWP | ||||||||||||||||||||||||||||
style="width: 220px; height: 250px;"
Jump map from Travellermap.com [1] | |||||||||||||||||||||||||||||
System Details | |||||||||||||||||||||||||||||
Primary | {{{23}}} | ||||||||||||||||||||||||||||
Worlds | {{{21}}} | ||||||||||||||||||||||||||||
Gas Giants | {{{20}}} | ||||||||||||||||||||||||||||
Planetoid Belts | {{{19}}} | ||||||||||||||||||||||||||||
Cultural Details | |||||||||||||||||||||||||||||
Government | Participating democracy | ||||||||||||||||||||||||||||
Law Level | Low | ||||||||||||||||||||||||||||
Cultural Extension | |||||||||||||||||||||||||||||
Army Size (BEs) | |||||||||||||||||||||||||||||
Economic Details | |||||||||||||||||||||||||||||
Technology Level | 18 | ||||||||||||||||||||||||||||
Economic Extension |
| ||||||||||||||||||||||||||||
Importance Extension | |||||||||||||||||||||||||||||
Resource Units | |||||||||||||||||||||||||||||
GWP (BCr) | |||||||||||||||||||||||||||||
World Trade Number | 0 | ||||||||||||||||||||||||||||
Trade Volume (MCr/year) | |||||||||||||||||||||||||||||
Starport Details | |||||||||||||||||||||||||||||
Classification | Class-M | ||||||||||||||||||||||||||||
Port Size | |||||||||||||||||||||||||||||
Building Capacity (Tons) | |||||||||||||||||||||||||||||
Port employees | |||||||||||||||||||||||||||||
Port passengers (annual) |
{{{1}}} system has a population between 10 and 100 million sophonts. It is a Human dominated Non-Aligned world in the [[{{{3}}} Subsector|{{{3}}} Subsector]] of [[{{{2}}} Sector]].
Description (Specifications)
This template is used by Template:StellarDataQuery to format the StellarData raw results into a layout for a world page.
- This layout includes a infobox side bar on the left size with the summary information about the world, and separated for each era.
- It also include a header section on the page with a summary of the world based upon the trade, sophont, and details and allegiance of the world.
- Different eras, particularly the changes from classic era through the hard times and into the new era, have changes to the starport, population, government, law level, and tech level. Along with these changes include changes to economic fortunes including starport size, trade, cultural changes, and so on.
Features of this template include:
- World Habitability is color coded in the planet title.
- Each era included can have its own travel zone.
- If details are know about the system (stellar types, Belts, gas giant counts) these are included.
- If there is a full article on the system, a link to that article can be included.
- And a popup box containing the expanded UWP descriptions will be shown when you put the mouse cursor over the UWP in the infobox table.
Layout
Parameter layout
{{{world}}} == {{{1}}} {{{sector}}} == {{{2}}} {{{subsector}}} == {{{3}}} {{{era}}} == {{{4}}} {{{hex}}} == {{{5}}} {{{name}}} == {{{6}}} {{{UWP}}} == {{{7}}} {{{pcode}}} == {{{8}}} {{{codes}}} == {{{9}}} {{{sophonts}}} == {{{10}}} {{{details|}}} == {{{11}}} {{{ix}}} == {{{12}}} {{{ex|}}} == {{{13}}} {{{cx|}}} == {{{14}}} {{{nobility|}}} == {{{15}}} {{{bases|}}} == {{{16}}} {{{zone|}}} == {{{17}}} {{{popmul|}}} == {{{18}}} {{{belts|}}} == {{{19}}} {{{giants|}}} == {{{20}}} {{{worlds|}}} == {{{21}}} {{{aleg|}}} == {{{22}}} {{{stars|}}} == {{{23}}} {{{wtn|}}} == {{{24}}} {{{ru|}}} == {{{25}}} {{{gwp|}}} == {{{26}}} {{{trade|}}} == {{{27}}} {{{pass|}}} == {{{28}}} {{{build|}}} == {{{29}}} {{{army|}}} == {{{30}}} {{{portSize|}}} == {{{31}}} {{{spa|}}} == {{{32}}} {{{worldName|}}} == {{{33}}} {{{basesDescription|}}} == {{{34}}} {{{basesCategories|}}} == {{{35}}} {{{Non-canon trade codes|}}} == {{{36}}} {{{First Survey name|}}} == {{{37}}}
Parameter Descriptions
Names
- world : Name of the world as given for the era. This may change over time.
- sector : Sector name for the location of the world
- subsector : Subsector name for the location of the world
- hex : Hex number location in the sector for the world
- name : The page name in the wiki for the world article. Will not change between era's.
Eras
- First Imperium : The planetary UWP for the world during the First Imperium. The exact time is a little vague because records from that time are not always complete.
- Interstellar Wars : The planetary UWP for the world during the Interstellar Wars and the Second Imperium.
- Milieu 0 : The UWP for the world at or around the founding of the Third Imperium
- First Survey : The UWP published for the world during the First Survey.
- Milieu 990 : The UWP established during the Solomani Rim War and the end of the first millennium.
- Second Survey : The UWP published for the world during the Second Survey.
- Milieu 1116 : The UWP established just after the Fifth Frontier War and just before the Rebellion.
- Hard Times : The UWP of the world for the Hard Times era during the Rebellion.
- New Era : The UWP of the world as surveyed during the The New Era.
- Milieu 1248 : The UWP of the world during the Fourth Imperium, TNE & Milieu 1248.
- ua : The UWP of the world during the Collapse and Interregnum.
- ue : The UWP of the world during the False Spring.
- Galaxiad : The UWP of the world during the Galaxiad .
Universal World Profile
UWP: the UWP code in standard format.
- The UWP format must be in the standard 7-1 format ("A000000-T"). The UWP template uses Template: UWPexpand (and a css trick) to enable a formated box which pops up when move your mouse cursor over the UWP. This box contains the expanded text for the UWP, for those of us who haven't yet memorized the UWP codes.
- The css trick to create a formatted pop-up box in contained MediaWiki:Common.css, and the four div.UWPInfo statements. To make this work you need to include the following in your page: <div class=UWPInfo>Text to be visible<span>Text to be in the popup</span></div>. The two sets of text can include any HTML code.
Trade codes
pcode: One of the planetary Trade classifications, the code determining the background color of the title bar for the world name.
- as (Asteroid Belt)
- de (Desert World)
- fl (Fluid Ocean)
- ga (Garden world) - Default
- he (Hell world)
- ic (Ice-Capped)
- oc (Ocean world)
- po (Poor world)
- va (Vacuum World))
- wa (Water World)
- codes: The complete set of planetary, populations, and economic codes. These create the starting list of description to the world for the era.
- sophonts: All of the trade information data regarding sophonts, including home worlds and population divisions.
- details: All of the details codes including climate, secondary, political, and special codes. This will include the owner and colony codes.
T5 Second Survey data
- ix: Importance
- ex: Economic extension data
- cx: Cultural extension data
- nobility: Nobility presence codes
Travel information
- bases : Any military or special bases located on this world or in the system
- zone : Travel zone, one of Red Zone, Amber Zone or (default) green
- Aleg : Allegiance Code for the world in the given era
- basesDescription: Description of the bases located on this world
- basesCategories: Categories for the included bases
PBGW & Stellar data
- popmul : population multiplier for the UWP population number
- belts : number of planetoid belts in the system
- There is an in-game distinction between asteroid belt and planetoid belt.
- giants : number of gas giants in the system
- GG's exist as SGG and LGG at this time.
- worlds : total number of worlds in the system. Including the mainworld.
- No clear method for including of not including moons or satellites.
- stars : comma list of the stars in the system.
- Six stars is the most that exists within Charted Space at this time.
Economic extension data
- wtn: World Trade Number, a calculation of approximate trade for the world.
- ru: Resource Units, a calculation of relative economic strength
- gwp: Gross World Product, another economic calculation (MCr)
- trade: External trade for the world (MCr/Year)
- pass: passenger volume through the star port (people/year)
- build: Estimation of maximum shipyard capacity
- army: Army size in BEs
- portSize: Port size, a relative calculation of size of the port based upon trade and passenger traffic
- spa: Starport Authority personnel. The number of people working at the port to support the trade and passenger traffic.
Extra Name
- worldName : The full Template:World name for this world.
- Non-canon trade code: Comma separated list of non-canon trade codes
- This includes Mongoose codes and others that have been absorbed into TravMap and other sources.
- First Survey name: name of the world from the First Survey, print the alternative name in the list.
History & Background (Dossier)
Thomas Jones-Low did all of the initial coding.
- Thomas has updated the code several times to take advantages of new capabilities as the wiki code was updated.
- Maksim has followed up so that someone else would understand it.
- Maksim has made minor edits to the template over the yeara.
Interacting Templates
- Template:EXexpand
- Template:GovCode
- Template:HexConvert
- Template:JumpMap
- Template:LawCode
- Template:Primary
- Template:Sources
- Template:StellarData.layout-world
- Template:StellarData.layout/doc
- Template:UWPexpand
- Template:World summary allegiance
- Template:World summary allegiance.layout
- Template:WorldSummaryComment
References & Contributors (Sources)
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.
- Traveller Wiki Editorial Team
- Author & Contributor: Lord (Marquis) and Master of Sophontology Maksim-Smelchak of the Ministry of Science
- ↑ "Jump Map API" and map location from Travellermap.com