Take a look at the documentation under:
http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_pagelayout/variables_in_pagelayout
or under http://ez.no/products/ez_publish/documentation/customization/custom_design/template_variables_set_by_ezpublish