create templated link from param keys

This will add the params (if specified) on non-templated links.