How to create custom templates for new Adapter

Hi,

I am developing new Adapter, and this adapter uses C library to talk to database.
I need to provide inputs to this adapter, basically service name, object name, method name, and parameters etc. So I need to provide a custom input template, if anyone knows how to develop custome templates or any docs available, that is highly appriciated.

Thanks in Adavance,
Somu