Template:BSL Group Table: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(alternate way to avoid loop which should be much less costly anyway)
(do not call Foreach on the contents of a grouping page if the grouping page doesn't exist)
Line 1: Line 1:
<includeonly>{{Foreach|item_in={{:BSL:Grouping/{{{1}}}}}|up_to={{GetItemCount|BSL:Grouping/{{{1}}}}}|call=BSL Group Table Entry|pass_thru_name1=group|pass_thru_arg1={{{1}}}}}</includeonly><noinclude>
<includeonly>{{#if:{{#exists:BSL:Grouping/{{{1}}}}}|{{Foreach|item_in={{:BSL:Grouping/{{{1}}}}}|up_to={{GetItemCount|BSL:Grouping/{{{1}}}}}|call=BSL Group Table Entry|pass_thru_name1=group|pass_thru_arg1={{{1}}}}}|Grouping page "{{{1}}}" does not exist.</includeonly><noinclude>
[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Revision as of 17:31, 11 December 2015