Documentation about provisioning templates

I see that the template “PXEGrub global default” references a variable named “@profiles”. I don’t find its reference in the Help tab (in create template window) or in the wiki. Is there some other reference about these variables available in template context ?
Thanks