Difference between revisions of "Template:ClusterWorlds"
(Created page with "<div class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em; border-radius: 4px"> {{#dpl: category={{{1|T5 Second ...") |
(Undo revision 559132 by Maksim-Smelchak (talk)) Tag: Undo |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em; border-radius: 4px"> | <div class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em; border-radius: 4px"> | ||
− | {{#dpl: category={{{1| | + | {{#dpl: category={{{1|{{PAGENAME}}}}}_worlds |
|notcategory=Templates | |notcategory=Templates | ||
|ordermethod=title | |ordermethod=title | ||
|order=ascending | |order=ascending | ||
|mode=userformat | |mode=userformat | ||
+ | |titlematch=%(world) | ||
|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| | + | |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> | + | ---- |
− | + | {{ClusterWorlds/doc}} | |
− | + | ---- | |
− | + | [[Category:Templates|ClusterWorlds]] | |
− | + | [[Category:NavBox Templates|ClusterWorlds]] | |
− | + | [[Category:DPL Templates|ClusterWorlds]]</noinclude> | |
− | </noinclude> |
Latest revision as of 13:29, 12 August 2021
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