Template:BuildingAnimated.dpl

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

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

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