Difference between revisions of "Template:InfoboxSubsector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 5: Line 5:
 
  |sector=Page
 
  |sector=Page
 
  |capital=Wikitext
 
  |capital=Wikitext
 +
|era=String
 
}}</noinclude>
 
}}</noinclude>
 
{| class="va-infobox"
 
{| class="va-infobox"
Line 34: Line 35:
 
| No. of Stars
 
| No. of Stars
 
| {{{number}}}
 
| {{{number}}}
{{#ifexist: {{PAGENAME}}/data |
+
{{#ifexist: {{PAGENAME}}/data/{{{era|Milieu 1116}}} |
 
{{!}}-
 
{{!}}-
{{!}} Sector and Economic data
+
{{!}} Stellar and Economic data
 +
{{!}} [[{{PAGENAME}}/data/{{{era|Milieu 1116}}}|data page]]
 +
|{{#ifexist: {{PAGENAME}}/data |
 +
{{!}}-
 +
{{!}} Stellar and Economic data
 
{{!}} [[{{PAGENAME}}/data|data page]]
 
{{!}} [[{{PAGENAME}}/data|data page]]
|}}
+
|}} }}
 
|-
 
|-
 
| Majority Control
 
| Majority Control
Line 44: Line 49:
 
|-
 
|-
 
{{#if: {{{c2|}}}|
 
{{#if: {{{c2|}}}|
{{!}} Secondary Control  
+
{{!}} 2nd Control  
 
{{!}} {{{c2}}} - {{{c2p}}}%
 
{{!}} {{{c2}}} - {{{c2p}}}%
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{c3|}}}|
 
{{#if: {{{c3|}}}|
{{!}} Tertiary Control  
+
{{!}} 3rd Control  
 
{{!}} {{{c3}}} - {{{c3p}}}%
 
{{!}} {{{c3}}} - {{{c3p}}}%
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{c4|}}}|
 
{{#if: {{{c4|}}}|
{{!}} Quaternary Control  
+
{{!}} 4th Control  
 
{{!}} {{{c4}}} - {{{c4p}}}%
 
{{!}} {{{c4}}} - {{{c4p}}}%
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{c5|}}}|
 
{{#if: {{{c5|}}}|
{{!}} Quiniary Control  
+
{{!}} 5th Control  
 
{{!}} {{{c5}}} - {{{c5p}}}%
 
{{!}} {{{c5}}} - {{{c5p}}}%
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{c6|}}}|
 
{{#if: {{{c6|}}}|
{{!}} Sextenary Control  
+
{{!}} 6th Control  
 
{{!}} {{{c6}}} - {{{c6p}}}%
 
{{!}} {{{c6}}} - {{{c6p}}}%
 
{{!}}-
 
{{!}}-
Line 76: Line 81:
 
  |sector={{{sector}}}
 
  |sector={{{sector}}}
 
  |capital={{{capital|}}}
 
  |capital={{{capital|}}}
 +
|era={{{era|Milieu 1116}}}
 
}}[[Category:Subsectors]]
 
}}[[Category:Subsectors]]
 
[[Category: Subsectors in position {{{position}}}]]
 
[[Category: Subsectors in position {{{position}}}]]
Line 87: Line 93:
 
<pre style="clear:both"><nowiki>
 
<pre style="clear:both"><nowiki>
 
{{InfoboxSubsector
 
{{InfoboxSubsector
   |name={Subsector Name}
+
   |name   = {Subsector Name}
   |number={Number of stars}
+
  |era    = {Era for the posting of the subsector information} (has default of Milieu 1116)
   |spinward={subsector to spinward}
+
   |number = {Number of stars}
   |coreward={subsector to coreward}
+
   |spinward= {subsector to spinward}
   |trailing={subsector to trailing}
+
   |coreward= {subsector to coreward}
   |rimward={subsector to rimward}
+
   |trailing= {subsector to trailing}
   |sector={sector where located}
+
   |rimward = {subsector to rimward}
   |position=(Position within sector: One of A-P)
+
   |sector = {sector where located}
   |capital={Subsector Capital world}
+
   |position= (Position within sector: One of A-P)
   |c1={majority control allegiance}
+
   |capital = {Subsector Capital world}
   |c1p={percent of worlds under majority control}
+
   |c1     = {majority control allegiance}
   |c2={secondary control allegiance}
+
   |c1p     = {percent of worlds under majority control}
   |c2p={percent of worlds under secondary control}
+
   |c2     = {secondary control allegiance}
   |c3={tertiary control allegiance}
+
   |c2p     = {percent of worlds under secondary control}
   |c3p={percent of worlds under tertiary control}
+
   |c3     = {tertiary control allegiance}
   |c4={quaternary control allegiance}
+
   |c3p     = {percent of worlds under tertiary control}
   |c4p={percent of worlds under quaternary control}
+
   |c4     = {quaternary control allegiance}
   |c5={quiniary control allegiance}
+
   |c4p     = {percent of worlds under quaternary control}
   |c5p={percent of worlds under quiniary control}
+
   |c5     = {quiniary control allegiance}
   |c6={sextenary control allegiance}
+
   |c5p     = {percent of worlds under quiniary control}
   |c6p={percent of worlds under sextenary control}
+
   |c6     = {sextenary control allegiance}
   |alg= {majority allegiance: Im, So, Hv, Zh, Kk, Va, As }
+
   |c6p     = {percent of worlds under sextenary control}
 +
   |alg     = {majority allegiance: Im, So, Hv, Zh, Kk, Va, As }
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* The position= parameter uses the letter codes (A-P) to indicate which subsector should be selected by the display map.  
 
* The position= parameter uses the letter codes (A-P) to indicate which subsector should be selected by the display map.  
 
* The sector= parameter should be just the sector name, the template converts it into the correct link for display. In order to make this work correctly the sector page must have the [[Template: InfoboxSector]] included.  
 
* The sector= parameter should be just the sector name, the template converts it into the correct link for display. In order to make this work correctly the sector page must have the [[Template: InfoboxSector]] included.  

Revision as of 19:00, 7 August 2016

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

{{{name}}} Subsector
[[{{{spinward}}} Subsector|{{{spinward}}}]] [[{{{coreward}}} Subsector|{{{coreward}}}]] [[{{{trailing}}} Subsector|{{{trailing}}}]]

Expression error: Unexpected * operator.&y=Expression error: Unexpected * operator.&scale=32&options=25439&galdir=0 style="width: 250px; height: 350px; border: solid 1px black;"
map from Travellermap.com

[[{{{rimward}}} Subsector|{{{rimward}}}]]
Sector [[{{{sector}}} Sector|{{{sector}}}]]
Capital {{{capital}}}
No. of Stars {{{number}}}
Majority Control {{{c1}}} - {{{c1p}}}%

This infobox is to display a subsector with the interactive Traveller map. This allows showing a map with each subsector.

A similar infobox without the subsector map is also available see Template: InfoboxSubsectorSimple. If you would like to use an imagemap, see the Template: InfoboxSubsectorImagemap

Use:

{{InfoboxSubsector
  |name    = {Subsector Name}
  |era     = {Era for the posting of the subsector information} (has default of Milieu 1116)
  |number  = {Number of stars}
  |spinward= {subsector to spinward}
  |coreward= {subsector to coreward}
  |trailing= {subsector to trailing}
  |rimward = {subsector to rimward}
  |sector  = {sector where located}
  |position= (Position within sector: One of A-P)
  |capital = {Subsector Capital world}
  |c1      = {majority control allegiance}
  |c1p     = {percent of worlds under majority control}
  |c2      = {secondary control allegiance}
  |c2p     = {percent of worlds under secondary control}
  |c3      = {tertiary control allegiance}
  |c3p     = {percent of worlds under tertiary control}
  |c4      = {quaternary control allegiance}
  |c4p     = {percent of worlds under quaternary control}
  |c5      = {quiniary control allegiance}
  |c5p     = {percent of worlds under quiniary control}
  |c6      = {sextenary control allegiance}
  |c6p     = {percent of worlds under sextenary control}
  |alg     = {majority allegiance: Im, So, Hv, Zh, Kk, Va, As }
}}
  • The position= parameter uses the letter codes (A-P) to indicate which subsector should be selected by the display map.
  • The sector= parameter should be just the sector name, the template converts it into the correct link for display. In order to make this work correctly the sector page must have the Template: InfoboxSector included.
  • The alg= parameter sets the color of the title bar to match the allegiance color of the empire selected, defaulting to gray.
Imperial-Sunburst-Sun-Gray-wiki.png

This Allegiance Standard Colors article outlines the standard default articles for the macro-polities of the major races.

Library Data Referral Tree

Please refer to the following AAB Library Data for more information:
Wiki Mechanics: Wiki Mechanics:


Description (Specifications)

The Traveller wiki has a set of standard colors to be use for backgrounds when representing the larger empires in Charted Space. They are as follows:


History & Background (Dossier)

The colors have remained relatively stable although they have been changed in minor ways since their inception.

Traveller Map uses a similar set of default colors for the Big Nine.

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.

This template requires the use of the Dynamic Page List.