Difference between revisions of "Template:SectorSophonts"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 16: Line 16:
 
   |intro=Sophonts in the {{{1|Uncharted}}} {{{2|Sector}}}{{#if: {{{era|}}}|&nbsp;in Era: {{{era}}} }}</div><div style="font-size: 90%; padding: 0.5em 1em">
 
   |intro=Sophonts in the {{{1|Uncharted}}} {{{2|Sector}}}{{#if: {{{era|}}}|&nbsp;in Era: {{{era}}} }}</div><div style="font-size: 90%; padding: 0.5em 1em">
 
   |default=Sophont articles for the {{{1|Uncharted}}} {{{2|Sector}}}{{#if: {{{era|}}}|&nbsp;in Era: {{{era}}} }}</div><div>
 
   |default=Sophont articles for the {{{1|Uncharted}}} {{{2|Sector}}}{{#if: {{{era|}}}|&nbsp;in Era: {{{era}}} }}</div><div>
}}</div></div><noinclude>
+
}}</div></div>
This template list in a navigation box, lists all of the sophonts in a given sector or subsector. This uses a cargo query to pull the data from the underlying [[Special:CargoTables/Sophonts|Sophonts]] table.  
+
<noinclude>
 +
SYNOPSIS: This template list in a navigation box, lists all of the sophonts in a given sector or subsector. This uses a cargo query to pull the data from the underlying [[Special:CargoTables/Sophonts|Sophonts]] table.  
  
 
Usually this is used for the [[:Category: Sectors|Sector]] articles to allow creating a list of all the sophonts within the particular sector.  
 
Usually this is used for the [[:Category: Sectors|Sector]] articles to allow creating a list of all the sophonts within the particular sector.  
Line 30: Line 31:
 
</pre>
 
</pre>
 
The primary sector name is where you supply the name of the Sector page where this navigation box belongs. Note: You can place the navigation box on a different page. For example, if you want a list of worlds in X sector but on page Y, include this template, but simply set the first parameter to X.  
 
The primary sector name is where you supply the name of the Sector page where this navigation box belongs. Note: You can place the navigation box on a different page. For example, if you want a list of worlds in X sector but on page Y, include this template, but simply set the first parameter to X.  
 +
  
 
[[Category: Templates|SectorSophonts]]
 
[[Category: Templates|SectorSophonts]]

Revision as of 16:35, 20 August 2019

518 Sophonts in the Uncharted Sector

More...

SYNOPSIS: This template list in a navigation box, lists all of the sophonts in a given sector or subsector. This uses a cargo query to pull the data from the underlying Sophonts table.

Usually this is used for the Sector articles to allow creating a list of all the sophonts within the particular sector.


{{SectorSophonts
|<Primary Sector name>
|Sector|Subsector {Area to match}
|era=era to match
}}

The primary sector name is where you supply the name of the Sector page where this navigation box belongs. Note: You can place the navigation box on a different page. For example, if you want a list of worlds in X sector but on page Y, include this template, but simply set the first parameter to X.