From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 20:37, 19 September 2007 by Tjoneslo (talk | contribs) (New page: {{NavigationBox|Title=Worlds in this Sector |Image= |Category= |List={{#dpl: category=worlds |notcategory=templates |linksto={{PAGENAME}} |ordermethod=title |order=ascending |mode=userform...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Worlds in this Sector

Extension:DynamicPageList (DPL), version 3.3.3: Warning: No results.

This template list in a navigation box, lists all of the Worlds in the wiki that link to the current page, and have a Template: World with a parameter matching the first parameter of this template.

Usually this is used for the Sector articles to allow creating a list of all the worlds within the particular sector.

This takes one unnamed parameter: The name of the Sector.

This is an update of the Template: SectorWorlds. That template suffers from the problem if a world article is linked to more than one sector (via a link in the article), it shows up in the wrong list.

This template requires that the World article page have exactly one World template containing the name of the world and sector where it is found. All remaining links must use either normal links or Template: WorldS. This isn't true of many of the World articles (at this time this was written). So when replacing the SectorWorlds template with this template, you will need to verify and update all the world articles.

This template may also produce red-links. This is caused by an world article using a {{World|...}} template to refer to a red-link world and to the sector page in question. These also need to be fixed.

This requires the #dpl (DynamicPageList) parser function