Difference between revisions of "Template:ClusterWorlds"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 11: Line 11:
 
  |format=<div style="font-size: 90%; padding: 0.5em 1em">,,&nbsp; &bull; &nbsp;,</div>
 
  |format=<div style="font-size: 90%; padding: 0.5em 1em">,,&nbsp; &bull; &nbsp;,</div>
 
}}</div><noinclude>
 
}}</div><noinclude>
This template list in a navigation box lists all of the worlds gathered together in a category specifically for noting Traces, Clusters, Mains, Surveys, and other astrographic grouping of systems. The category is assumed to be named <NAME>_worlds to indicate which worlds are within the group.
+
{{ClusterWorlds/doc}}
 
 
If the template is to be included in the article about the grouping, such that the category is simply the article name with "_worlds" appended (the recommended practice), no parameters are required.
 
 
 
For example, the [[Spinward Marches Sector]] contains a grouping of worlds called [[Dodds Cluster]]. There is a category [[:Category:Dodds Cluster worlds]].
 
 
 
If the template is in another article, or the naming convention wasn't followed, include the name of the primary article (e.g. "Dodds Cluster") as the first parameter. For example <nowiki>{{ClusterWorlds|Dodds Cluster}}</nowiki>.
 
 
This requires the #dpl (DynamicPageList) parser function
 
 
[[Category: Templates|ClusterWorlds]]
 
[[Category: Templates|ClusterWorlds]]
 
[[Category: DPL Templates|ClusterWorlds]]</noinclude>
 
[[Category: DPL Templates|ClusterWorlds]]</noinclude>

Revision as of 22:36, 10 December 2018

No world articles for ClusterWorlds

This template list in a navigation box lists all of the worlds gathered together in a category specifically for noting Traces, Clusters, Mains, Surveys, and other astrographic grouping of systems.

Parameters:

1
(Optional) Category Name, defaults to the current page name

If the template is to be included in the article about the grouping, such that the category is simply the article name with "_worlds" appended (the recommended practice), no parameters are required.

For example, the Spinward Marches Sector contains a grouping of worlds called Dodds Cluster. There is a category Category:Dodds Cluster worlds.

If the template is in another article, or the naming convention wasn't followed, include the name of the primary article (e.g. "Dodds Cluster") as the first parameter. For example {{ClusterWorlds|Dodds Cluster}}.

This requires the #dpl (DynamicPageList) parser function