Difference between revisions of "Template:ClusterWorlds"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Undo revision 559132 by Maksim-Smelchak (talk))
Tag: Undo
 
(7 intermediate revisions by 3 users not shown)
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.
+
----
 
+
[[Category:Templates|ClusterWorlds]]
For example, the [[Spinward Marches Sector]] contains a grouping of worlds called [[Dodds Cluster]]. There is a category [[:Category:Dodds Cluster worlds]].
+
[[Category:NavBox Templates|ClusterWorlds]]
 
+
[[Category:DPL Templates|ClusterWorlds]]</noinclude>
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: DPL Templates|ClusterWorlds]]</noinclude>
 

Latest revision as of 08:29, 12 August 2021

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