Managing sites > Web templates internals and API:
The following database tables are used to store information about sites:
•CMS_WebTemplate - contains records representing web templates.
Help URL: http://devnet.kentico.com/docs/7_0/devguide/index.html?web_templates_api_database_tables.htm