Difference between revisions of "Template:SectorDataQuery"
Jump to navigation
Jump to search
| (11 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
|more results text= | |more results text= | ||
}} | }} | ||
| − | |||
{{#cargo_query: tables=SubsectorData | {{#cargo_query: tables=SubsectorData | ||
| − | |fields= | + | |fields=position,name |
| − | |where=sector=CONCAT('{{#replace:{{{sector|}}}|'|''}}') | + | |where=sector=CONCAT('{{#replace:{{{sector|}}}|'|''}}') and era=CONCAT('{{#replace:{{{era|}}}|'|''}}') |
|order by=position | |order by=position | ||
| − | |format= | + | |format=template |
| − | | | + | |template=SectorData.subsectors.layout |
| + | |named args=yes | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{#cargo_query: tables=StellarData,AllegianceCode | {{#cargo_query: tables=StellarData,AllegianceCode | ||
| Line 47: | Line 31: | ||
}} | }} | ||
| − | Hex Name UWP Remarks | + | Hex Name UWP Remarks {Ix} (Ex) [Cx] N B Z PBG W A Stellar |
| − | <nowiki>---- -------------------- --------- -------------------------------------- ------ ------- ------ ---- --- - --- -- ---- ---------------</nowiki> | + | <nowiki>---- -------------------- --------- ---------------------------------------------------- ------ ------- ------ ----- --- - --- -- ---- -------------------</nowiki> |
{{#cargo_query: | {{#cargo_query: | ||
tables=StellarData | tables=StellarData | ||
| Line 61: | Line 45: | ||
|more results text= | |more results text= | ||
}} | }} | ||
| − | </pre<noinclude></noinclude> ><noinclude>[[Category:Cargo Templates]][[Category:Templates]]</noinclude> | + | </pre<noinclude></noinclude> ><noinclude> |
| + | Used to generate a full listing of sector data in a given era into the T5 Second Survey data format. | ||
| + | |||
| + | parameters: | ||
| + | : sector = sector name | ||
| + | : era = era name | ||
| + | |||
| + | Uses the following templates for layout: | ||
| + | * [[Template:SectorDataQuery.header.layout]] - base sector information: credits, location, name | ||
| + | * [[Template:SectorData.subsectors.layout]] - Subsector information, list by position | ||
| + | * [[Template:SectorDataQuery.allegiance.query]] - Allegiance information, list by code | ||
| + | * [[Template:SectorDataQuery.layout]] - Main data layout, with spacing. | ||
| + | [[Category:Cargo Templates]][[Category:Templates]] | ||
| + | |||
| + | </noinclude> | ||
Latest revision as of 10:43, 14 September 2016
# Generated by http://wiki.travellerrpg.com/ # 2025-12-06 06:04:55+00:00 No results No results No results Hex Name UWP Remarks {Ix} (Ex) [Cx] N B Z PBG W A Stellar ---- -------------------- --------- ---------------------------------------------------- ------ ------- ------ ----- --- - --- -- ---- ------------------- No results
Used to generate a full listing of sector data in a given era into the T5 Second Survey data format.
parameters:
- sector = sector name
- era = era name
Uses the following templates for layout:
- Template:SectorDataQuery.header.layout - base sector information: credits, location, name
- Template:SectorData.subsectors.layout - Subsector information, list by position
- Template:SectorDataQuery.allegiance.query - Allegiance information, list by code
- Template:SectorDataQuery.layout - Main data layout, with spacing.