Difference between revisions of "Template:InfoboxSector"
Jump to navigation
Jump to search
| Line 96: | Line 96: | ||
|- | |- | ||
| colspan="3" align="center" | {{SOV|sx={{{x}}}|sy={{{y}}}|dx=1|dy=1|name={{{name}}}|xcen=-14|ycen=-20}} | | colspan="3" align="center" | {{SOV|sx={{{x}}}|sy={{{y}}}|dx=1|dy=1|name={{{name}}}|xcen=-14|ycen=-20}} | ||
| − | |}<includeonly>[[Category: Sectors]]</includeonly><noinclude>[[Category:Infobox|Sectors]] | + | |}<includeonly>[[Category: Sectors]]</includeonly><noinclude>[[Category:Infobox|Sectors]][[Category:Templates|Sectors]] |
The Infobox Sector is a display of basic information about a sector, including the display of subsectors. Previously if you don't know what the subsectors are, you would have used the [[Template:InfoboxSectorNoSS]], this does not apply any further the template will detect if the ss1 parameter is set. | The Infobox Sector is a display of basic information about a sector, including the display of subsectors. Previously if you don't know what the subsectors are, you would have used the [[Template:InfoboxSectorNoSS]], this does not apply any further the template will detect if the ss1 parameter is set. | ||
Revision as of 14:25, 29 January 2014
The Infobox Sector is a display of basic information about a sector, including the display of subsectors. Previously if you don't know what the subsectors are, you would have used the Template:InfoboxSectorNoSS, this does not apply any further the template will detect if the ss1 parameter is set.
Note: the ssX parameters are numbered in a different order than the subsector letters.
{{InfoboxSector
|name={{Sector Name}}
|coreward={{coreward sector}}
|tailing={{trailing sector}}
|rimward={{rimward sector}}
|spinward={{spinward sector}}
|ss1={{Subsector A}}
|ss2={{Subsector E}}
...
|ss15={{Subsector L}}
|ss16={{Subsector P}}
/* Alternatively */
|ssa={{Subsector A}}
...
|ssp={{Subsector P}}
|number={{number of stars in sector}}
|population={{population of the sector (in millions)}}
|gsp={{Gross sector product (in billions)}}
|trade={{trade volume (in billions)}}
|c1={{Name of empire with most stars}}
|c1p={{percentage of stars owned by c1}}
|c2={{Name of empire with second most stars}}
|c2p={{percentage of stars owned by c2}}
|c3={{Name of empire with third most stars}}
|c3p={{percentage of stars owned by c3}}
|domain={{Domain or Province Name}}
|capital={{Capital of Sector (or primary empire)}}
|x={{Sector Co-ordinates trailing+, spinward-}}
|y={{Sector Co-ordinates coreward+, rimward-}}
|list=true{{this sector has a world list page}}
|worlds=true {{include the [[Template: SectorWorlds2]] list}}
|trademap=true {{{This sector has a pdf trade map}}}
|sectorfile=true {{{This sector has a sector data .sec file}}}
|climatefile=true {{{This sector has a sector climate data file}}}
}}
- The list parameter include the text "this sector has a worlds list" and replaces the use of the Template:WorldList in the sector page. Include it with "list=true" to turn it on.
- The worlds parameter include the Template: SectorWorlds2 which provides a complete list of worlds in the wiki that are in this sector. This can be quite long for sectors which have many articles in the wiki.
- The trademap parameters contains a link to an "Image" pdf file, which is the trade map of the sector. These trade maps are generated by Anthony Jackson's nroute.c program.
- The sectorfile parameter is a link to the sector data (.sec) file used to generate the trade maps above.
- The climatefile parameter generates a link to the climate data file generated from the .sec file.
- New and improved this template now accepts either ss1..ss16 or ssa..ssp (one is the inverse of the other)