Difference between revisions of "Template:SectorWorlds3"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
{{NavigationBox|Title=Worlds in this {{{2|Sector}}}
+
<div class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em; border-radius: 4px">
|Image=
+
{{#dpl: debug=5
|Category=
+
|category=Worlds
|List={{#dpl: category=worlds
+
|notcategory=Templates
|notcategory=templates
+
|ordermethod=title
|linksto={{{1}}}_{{{2|Sector}}}|{{{3|)))_{{{2|Sector}}}|{{{4|}}}_{{{2|Sector}}}
+
|order=ascending
|ordermethod=title
+
|mode=userformat
|order=ascending
+
|includepage={World}.dpl
|mode=userformat
+
|resultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold"> %PAGES% Worlds in the {{{2|Sector}}}</div>
|includepage={World}.dpl
+
|noresultsheader=<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold">No world articles for this {{{2|Sector}}}</div>
|includematch= /\{{!}}{{{1}}}\{{!}}/, /\{{!}}{{{3|}}}\{{!}}/, /\{{!}}{{{4|}}}\{{!}}/
+
|format=<div style="font-size: 90%; padding: 0.5em 1em">,,&nbsp; &bull; &nbsp;,</div>
}}}}<noinclude>
+
|includematch=/\{{!}}{{#if: {{{name|}}}|{{{name}}}*{{!}}|
 +
      {{#if: {{{1|}}}|({{{1}}}{{#if: {{{2|}}}|{{!}}{{{2}}}|}})|}}}}\{{!}}/
 +
|titlematch=%(world)
 +
|execandexit=geturlargs
 +
|scroll=yes
 +
|resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
 +
|linksto={{{1|Uncharted}}}_{{{2|Sector}}}}}
 +
</div><noinclude>
 
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 is a testing template for updates/upgrades to the [[Template:SectorWorlds2]] template. Please do not use this template other than in Sandbox pages.
  

Revision as of 00:49, 19 July 2015

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