dynamic template for api reference