Editing Template:ClusterWorlds

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
 
  |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 [[{{{1|{{PAGENAME}}}}}]]</div>
+
  |resultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold"> %PAGES% Worlds in the {{{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">,,&nbsp; &bull; &nbsp;,</div>
 
  |format=<div style="font-size: 90%; padding: 0.5em 1em">,,&nbsp; &bull; &nbsp;,</div>
}}</div><noinclude>
+
}}
----
+
</div><noinclude>
{{ClusterWorlds/doc}}
+
|includematch= /\{{!}}({{{1|}}}{{!}}{{{3|}}}{{!}}{{{4|}}}{{!}}{{{5|}}})\{{!}}/
----
+
|linksto={{{1|Uncharted}}}_{{{2|Sector}}}
[[Category:Templates|ClusterWorlds]]
+
This template list in a navigation box, lists all of the [[:Category: Worlds|Worlds]] in the wiki that link to the sector name page(s), and have a [[:Template: World]] with a parameter matching the first, third, fourth, or fifth parameter of this template.
[[Category:NavBox Templates|ClusterWorlds]]
+
 
[[Category:DPL Templates|ClusterWorlds]]</noinclude>
+
Usually this is used for the [[:Category: Sectors|Sector]] articles to allow creating a list of all the worlds within the particular sector. It can also be used to list worlds in a [[:Category: Subsectors|Subsectors]] as well.
 +
</noinclude>

Please note that all contributions to Traveller are considered to be released under the Traveller Copyright (see Copyright for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)