When you say parameters, are you referring to URL parameters (ie. query string parameters). If so, you can use the http.request context object to get the value of query string parameters. Here's a simple example
<#assign val = http.request.parameters.name.get("myParameter", "default value") />
myParameter: ${val}
You can specify your own name for the parameter, as well as whatever default value you'd like to assign if the parameter isn't present in the query string.
Alternately, if you want to parse out the request URL, you can use http.request.url to get the URL of the current page, and then freemarker has many built-ins for strings, such as split, substring, index_of, etc.
Here's more on the built-ins:
http://freemarker.sourceforge.net/docs/ref_builtins_string.html
And here's more on the http.request context object:
http://lithosphere.lithium.com/t5/Developer-Knowledge-Base/Context-objects-for-custom-components-http-request/ta-p/9323
I hope this helps!
-Adam