Difference between revisions of "Template:ClusterWorlds"
Line 6: | Line 6: | ||
|mode=userformat | |mode=userformat | ||
|includepage={World}.dpl | |includepage={World}.dpl | ||
− | |resultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold"> %PAGES% Worlds in | + | |resultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold"> %PAGES% Worlds in [[{{{1|{{PAGENAME}}}}}]]</div> |
|noresultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold">No world articles for {{{1|{{PAGENAME}}}}}</div> | |noresultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold">No world articles for {{{1|{{PAGENAME}}}}}</div> | ||
|format=<div style="font-size: 90%; padding: 0.5em 1em">,, • ,</div> | |format=<div style="font-size: 90%; padding: 0.5em 1em">,, • ,</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. |
− | |||
− | |||
− | This template list in a navigation box | ||
− | + | 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 | This requires the #dpl (DynamicPageList) parser function | ||
[[Category: Templates|SectorWorlds]] | [[Category: Templates|SectorWorlds]] | ||
− | [[Category: DPL Templates|SectorWorlds]] | + | [[Category: DPL Templates|SectorWorlds]]</noinclude> |
− | |||
− | </noinclude> |
Revision as of 20:16, 24 August 2013
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.
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