Drupal

Writing drupal theme .info files

Required
name – Theme name
for ex. name = My wonderful theme

core – indicate what major version of Drupal core theme is compatible with
for ex. core = 7.x

engine – The theme engine, which is used by the theme
for ex. engine = phptemplate

Optional
description – A short description of the theme
for ex. description = Multi-column theme designed for blogs.

screenshot – tells Drupal where to find the theme’s thumbnail image
for ex. screenshot = screenshot.png

base theme – Sub-themes can declare a base theme. This allows for theme inheritance.
for ex. base theme = bartik

regions – The block regions available to the theme
for ex.
regions[header] = Header
regions[highlighted] = Highlighted
regions[help] = Help
regions[content] = Content
regions[sidebar_first] = Left sidebar
regions[sidebar_second] = Right sidebar
regions[footer] = Footer

features – Various page elements output by the theme can be toggled on and off on the theme’s configuration page. The “features” keys control which of these check boxes display on the theme’s configuration page.
for ex.
features[] = logo
features[] = name
features[] = slogan
features[] = node_user_picture
features[] = comment_user_picture
features[] = favicon
features[] = main_menu
features[] = secondary_menu

stylesheets – themes can also add style sheets through their .info file
for ex. stylesheets[all][] = theStyle.css

scripts – js files are only included if they have been specified in the .info file
for ex. scripts[] = myscript.js

php – defines the minimum PHP version the theme will support
for ex. php = 5.3