I think you can not pass custom params via data-sly-resource. However, you can use selectors instead of custom params. Take a look at the following thread - http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__vfy1-i_am_tryingtoimple...