template: Preprocess parameters before htmlizing.