Difference between revisions of "Template:InfoboxSubsector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (replace align= with float:)
m (fix categories)
Line 139: Line 139:
 
| Capital
 
| Capital
 
| {{{capital}}}
 
| {{{capital}}}
|}
+
|}<includeonly>[[Category:Subsectors]]</includeonly><noinclude>
[[Category:Subsectors]]
 
<noinclude>
 
 
Use:
 
Use:
 
<pre><nowiki>
 
<pre><nowiki>
Line 174: Line 172:
  
 
A similar infobox without the subsector map is also available see [[:Template:InfoboxSubsectorSimple]]
 
A similar infobox without the subsector map is also available see [[:Template:InfoboxSubsectorSimple]]
 +
[[Category: Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:17, 10 September 2007

{{{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