Difference between revisions of "Template:SectorWorlds3"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 7: Line 7:
 
  |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 the {{{2|Sector}}}</div>
+
  |resultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold"> {{{total}}} Worlds in the {{{2|Sector}}}, showing {{{pages}}}</div>
 
  |noresultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold">No world articles for this {{{2|Sector}}}</div>
 
  |noresultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold">No world articles for this {{{2|Sector}}}</div>
 
  |resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 
  |resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n

Revision as of 11:46, 19 July 2015

No world articles for this Sector

This is a testing template for updates/upgrades to the Template:SectorWorlds2 template. Please do not use this template other than in Sandbox pages.

This requires the #dpl (DynamicPageList) parser function