Template:FlagShop.dpl

{{#dpl: }} {{#ifexpr:>500| {{#dpl: }} }} {{#ifexpr:{{PAGESINCATEGORY:|pages}}>1000| {{#dpl: }} }}
 * category =
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %%
 * ordermethod = title
 * includepage = {Infobox items}.dpl.flag.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 ¶!align=left class="unsortable"{{!}}Notes,\n{{!}}-\n,,
 * category =
 * notcategory = Items Removed From Shop
 * namespace =
 * nottitlematch = %%
 * notcategorymatch = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.flag.shop
 * format = ,\n{{!}}-\n,,
 * offset = 500
 * 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.flag.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 = {{PAGENAME}}
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.flag.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 ¶!align=left class="unsortable"{{!}}Notes,\n{{!}}-\n,,
 * category = {{PAGENAME}}
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.flag.shop
 * format = ,\n,,¶{{!}}}
 * offset = 500
 * category = {{PAGENAME}}
 * namespace =
 * category = Items Removed From Shop
 * ordermethod = title
 * includepage = {Infobox items}.dpl.flag.shop
 * format = ,\n,,¶{{!}}}
 * offset = 1000