Template:TrainSetGift.dpl

{{#dpl: }} {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|pages}}>500| {{#dpl: }} }} {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|pages}}>1000| {{#dpl: }} }}
 * category = {{PAGENAME}}
 * namespace =
 * nottitlematch = %Locomotives%
 * ordermethod = title
 * includepage = {Infobox set}.dpl.trainset.gift
 * format = ¶{{{!}}class="article-table sortable" style="font-size:80%; text-align:right; white-space:nowrap; width:100%;" ¶!style="text-align:left"{{!}}Name ¶!Type ¶!Pwr ¶!Bonus ¶!Cargo ¶!align=left class="unsortable"{{!}}Available from,\n{{!}}-\n,,
 * category = {{PAGENAME}}
 * namespace =
 * nottitlematch = %Locomotives%
 * ordermethod = title
 * includepage = {Infobox set}.dpl.trainset.gift
 * format = ,\n,,¶{{!}}}
 * offset = 500
 * category = {{PAGENAME}}
 * namespace =
 * nottitlematch = %Locomotives%
 * ordermethod = title
 * includepage = {Infobox set}.dpl.trainset.gift
 * format = ,\n,,¶{{!}}}
 * offset = 1000