Template:BSL Group Table: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(/cat; +docs; indented for readability)
m (/cat)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexist:BSL:Grouping/{{{1}}}|{{Foreach|item_in={{:BSL:Grouping/{{{1}}}}}|up_to={{GetItemCount|BSL:Grouping/{{{1}}}}}<!--
<includeonly>{{#ifexist:BSL:Grouping/{{{1}}}|{{Foreach|item_in={{:BSL:Grouping/{{{1}}}}}|up_to={{Get Item Count|BSL:Grouping/{{{1}}}}}<!--
                                                   -->|call=BSL Group Table Entry|pass_thru_name1=group|pass_thru_arg1={{{1}}}}}<!--
                                                   -->|call=BSL Group Table Entry|pass_thru_name1=group|pass_thru_arg1={{{1}}}}}<!--
                                         -->|Grouping page "{{{1}}}" does not exist.}}</includeonly><noinclude>
                                         -->|Grouping page "{{{1}}}" does not exist.}}</includeonly><noinclude>
Taking the name of a group of BSL commands as an unnamed parameter, this template uses [[Template:Foreach|Foreach]] to parse the page "BSL:Grouping/[group]" and send each command name to [[Template:BSL Group Table Entry|BSL Group Table Entry]] in order to retrieve the table markup for that command.
Taking the name of a group of BSL commands as an unnamed parameter, this template uses [[Template:Foreach|Foreach]] to parse the page "BSL:Grouping/[group]" and send each command name to [[Template:BSL Group Table Entry|BSL Group Table Entry]] in order to retrieve the table markup for that command.


[[Category:General table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Latest revision as of 00:11, 16 December 2015

Taking the name of a group of BSL commands as an unnamed parameter, this template uses Foreach to parse the page "BSL:Grouping/[group]" and send each command name to BSL Group Table Entry in order to retrieve the table markup for that command.