Template:InfoboxSubsector

From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 19:12, 16 April 2007 by Tjoneslo (talk | contribs) (replace align= with float:)
Jump to navigation Jump to search
{{{name}}} Subsector
{{{spinward}}} {{{coreward}}} {{{trailing}}}
                                   
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
                   
{{{rimward}}}
No. of Stars {{{number}}}
Majority Control {{{c1}}} - {{{c1p}}}%
Secondary Control {{{c2}}} - {{{c2p}}}%
Sector {{{sector}}}
Capital {{{capital}}}

Use:

{{InfoboxSubsector
  |name={Subsector Name}
  |number={Number of stars}
  |spinward={subsector to spinward}
  |coreward={subsector to coreward}
  |trailing={subsector to trailing}
  |rimward={subsector to rimward}
  |sector={sector where located}
  |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}
  |p0101={World Name}
  |p0102={World Name}
  :
  :
  |p0810={World Name}
  |a0101={allegiance color}
  |a0102={allegiance color}
  :
  :
  |a0810={allegiance color}
}}

You do not need to include the pXXXX for the empty hexes, the template automatically marks them as empty if omitted.

The aXXXX is for setting the background color to the "hexes" to allow marking alleginace color. Omit the "#" from the color number. E.g. White is normally "#FFFFFF", you should enter this as "FFFFFF", the number sign is added automatically. If you omit the color for a hex, the default is white.

A similar infobox without the subsector map is also available see Template:InfoboxSubsectorSimple