Forum:SectorWorlds template update needing a review

From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 13:15, 19 July 2015 by Tjoneslo (talk | contribs) (Created page with "{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> As we discovered with the addition of the rest...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Forums: Index > Watercooler > SectorWorlds template update needing a review



As we discovered with the addition of the rest of the worlds to Dagudashaag Sector, there is a hard coded limit of 500 items to a Dynamic Page List (DPL) list. The Template:SectorWorlds2 and the Template:ClusterWorlds templates both uses the DPL to generate the list of worlds in a sector (or other area). Since we're now using these templates to use on areas much larger than the 500 item limit (e.g. Domain of Vland or Dagudashaag Sector), the templates can not longer display the complete list.

DPL can do pagination, that is show the entire list in sections (1 to 200, 201 to 400, etc). User:Tjoneslo/sandbox is my experiment with creating a template that allows a list of worlds with a paging. I'm looking for feedback on converting both the SectorWorlds2 and ClusterWorlds templates to this style. Tjoneslo (talk) 09:15, 19 July 2015 (EDT)