You have to use so called filters to send parameters to a static block from a template for example. Lets take a look at the following code:

Thats the static Magento block:

We want to send attributset_name and product_id dynamically to the block. Add the following code to a template for example:

Sending parameters to a static block
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!