Difference between revisions of "Template:InfoboxSector"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | {{#cargo_declare: | + | <noinclude>{{#cargo_declare: |
_table=SectorData | _table=SectorData | ||
|name=String | |name=String | ||
| Line 8: | Line 8: | ||
|other_names=List (,) of String | |other_names=List (,) of String | ||
|capital=Wikitext | |capital=Wikitext | ||
| − | }} | + | }}</noinclude> |
{|style="width: 20em; text-align: left; font-size: 95%; float: right; border-spacing: 0px; max-width: 20em" | {|style="width: 20em; text-align: left; font-size: 95%; float: right; border-spacing: 0px; max-width: 20em" | ||
!colspan="2" style="font-size: larger; background: #b0c4de;" | {{#replace:{{{name}}}|!|!}} Sector | !colspan="2" style="font-size: larger; background: #b0c4de;" | {{#replace:{{{name}}}|!|!}} Sector | ||
Revision as of 05:52, 11 May 2016
This template defines the table "SectorData". View table.
| {{{name}}} Sector | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
| Subsectors | |||||||||||||||||
| |||||||||||||||||
| Sector Data | |||||||||||||||||
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 worlds 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}}
|c4= {{Name of empire with fourth most stars}}
|c4p= {{percentage of stars owned by c4}}
|c5= {{Name of empire with fifth most stars}}
|c5p= {{percentage of stars owned by c5}}
|domain= {{Domain or Province Name}}
|capital= {{Capital of Sector (or primary empire)}}
|x= {{Sector Co-ordinates trailing+, spinward-}}
|y= {{Sector Co-ordinates coreward+, rimward-}}
|worlds = true {{include the [[Template: SectorWorlds2]] list}}
|sectordata = true {{include a link to the source sector data on TravellerMap}}
|source = {{Source of the sector data }}
|credits = {{Credits for source of the information about the sector}} -> Use [[Template:Ludography ref]]
|other_names = {{Comma separated list of other names for this sector}}
}}
- 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 sectordata parameter generates a link to the T5 Second Survey formatted data on the Traveller Map site.
- The links to the trademap, generated climate data, local copy of the sector and economic data are all generated automatically if the pages exist.
- New and improved this template now accepts either ss1..ss16 or ssa..ssp (one is the inverse of the other)
- The Source, credits, and other_names parameters are used as part of the SectorData table and saved to the database, but not displayed in the infobox.