Template:AllShopBuildings.dpl

{{#dpl: }} {{#ifexpr:>500| {{#dpl: }} }} {{#ifexpr:>1000| {{#dpl: }} }}
 * category = Buildings (Shop)¦Special Buildings (Shop)
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %Buildings%
 * ordermethod = title
 * includepage = {Infobox items}.dpl.allbuilding.shop
 * format = ¶{|class="article-table sortable" style="font-size:80%; text-align:right; white-space:nowrap; width:100%;" ¶!style="text-align:left"|Name ¶!Lvl ¶!align=center class="unsortable"{{!}}Cost ¶!style="text-align:right"{{!}}Buy XP ¶!style="white-space:nowrap;"{{!}}Max Pass ¶!style="white-space:nowrap;"{{!}}Income ¶!style="white-space:nowrap;"{{!}}Size ¶!{{passenger}}/ {{space}} ¶!Price/ {{XP}}¶!align=left{{!}}Specialty,\n{{!}}-\n,,
 * category = Buildings (Shop)¦Special Buildings (Shop)
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %Buildings%
 * notcategorymatch = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.allbuilding.shop
 * format = ,\n{{!}}-\n,,
 * offset = 500
 * category = Buildings (Shop)¦Special Buildings (Shop)
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %Buildings%
 * notcategorymatch = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.allbuilding.shop
 * 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 = Buildings (Shop)¦Special Buildings (Shop)
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.allbuilding.shop
 * format = ¶{{{!}}class="article-table sortable" style="font-size:80%; text-align:right; white-space:nowrap; width:100%;" ¶!style="text-align:left"{{!}}Name ¶!Lvl ¶!align=center class="unsortable"{{!}}Cost ¶!style="text-align:right"{{!}}Buy XP ¶!style="white-space:nowrap;"{{!}}Max Pass ¶!style="white-space:nowrap;"{{!}}Income ¶!style="white-space:nowrap;"{{!}}Size ¶!{{passenger}}/ {{space}} ¶!Price/ {{XP}}¶!align=left{{!}}Specialty,\n{{!}}-\n,,
 * category = Buildings (Shop)¦Special Buildings (Shop)
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.allbuilding.shop
 * format = ,\n,,¶{{!}}}
 * offset = 500
 * category = Buildings (Shop)¦Special Buildings (Shop)
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.allbuilding.shop
 * format = ,\n,,¶{{!}}}
 * offset = 1000