It seems that it may be possible to have parameters within called functions in a django template. {% url path.to.some_view arg1,arg2,name1=value1 %} (see http://www.djangoproject.com/documentation/templates/).
For sure if you have a “template function” that function can accept parameters, but…I think at least to my knowledge not normal functions.