Template:BuildingReward.dpl

{{#dpl: }}
 * category = {{PAGENAME}}
 * namespace =
 * nottitlematch = %Buildings%
 * ordermethod = title
 * includepage = {Infobox items}.dpl.building.reward
 * format = ¶{{{!}}class="article-table sortable" style="font-size:80%; text-align:right; white-space:nowrap;" ¶!align=left{{!}}Name ¶!Max Pass ¶!Income ¶!Size ¶!Ratio ¶!style="text-align:left"{{!}}Reward,\n,,

{{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|pages}}>500| {{#dpl: }} }}
 * category = {{PAGENAME}}
 * namespace =
 * nottitlematch = %Buildings%
 * ordermethod = title
 * includepage = {Infobox items}.dpl.building.reward
 * format = ,\n,,¶{{!}}}
 * offset = 500