Template:BuildingShop.dpl

{{#dpl: }} {{#ifexpr:{{PAGESINCATEGORY:|pages}}>500| {{#dpl: }}}}
 * category =
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %%
 * ordermethod = title
 * includepage = {Infobox items}.dpl.building.shop
 * format = ¶{|class="article-table sortable" style="font-size:80%; text-align:right; white-space:nowrap; width:100%;" ¶!style="text-align:left"{{!}}Name ¶!Limit ¶!Income ¶!Size ¶!Ratio ¶!Lvl ¶!Cost ¶!style="text-align:right"{{!}}Buy XP ¶!align=left class="unsortable"{{!}}Notes,\n{{!}}-\n,,
 * category = {{PAGENAME}}
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|(}}}}%
 * notcategorymatch = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.building.shop
 * format = ,\n{{!}}-\n,,
 * offset = 500
 * }

{{#ifeq:{{{1}}}|r|

Removed from the Shop
{{#dpl: }} {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|pages}}>500| {{#dpl: }} }} }}
 * category = {{PAGENAME}}
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.building.shop
 * format = ¶{{{!}}class="article-table sortable" style="font-size:80%; text-align:right; white-space:nowrap; width:100%;" ¶!style="text-align:left"{{!}}Name ¶!Limit ¶!Income ¶!Size ¶!Ratio ¶!Lvl ¶!Cost ¶!style="text-align:right"{{!}}Buy XP ¶!align=left class="unsortable"{{!}}Notes,\n{{!}}-\n,,
 * category = {{PAGENAME}}
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.building.shop
 * format = ,\n,,¶{{!}}}
 * offset = 500