Template:Confirm BSL Group: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(removing BSL: prefix from output so that GetGroup can return the unadorned group name)
(+docs;+cat)
 
Line 1: Line 1:
{{#ifeq:{{Search String|text={{:BSL:Grouping/{{{1}}}}}|term={{{name}}}}}|yes|{{{1}}}}}
{{#ifeq:{{Search String|text={{:BSL:Grouping/{{{1}}}}}|term={{{name}}}}}|yes|{{{1}}}}}<noinclude>
Taking the name of a group of BSL functions/variables as an unnamed parameter and the name of a specific function/variable as parameter "name", this template calls the [[Template:Search String|Search String]] template on the relevant [[BSL:Grouping]] subpage in order to determine if "name" was found in that group; returns the name of the group if so.
 
[[Category:Utility templates]]</noinclude>

Latest revision as of 03:52, 13 December 2015

Taking the name of a group of BSL functions/variables as an unnamed parameter and the name of a specific function/variable as parameter "name", this template calls the Search String template on the relevant BSL:Grouping subpage in order to determine if "name" was found in that group; returns the name of the group if so.