home search a-z help
University of Cambridge Web Site Templates
Template test file
Computer Laboratory > Templates > Template test file

Included files

Files may be included in your .tmpl file using lines of the form:
INCLUDE&filename
Includes may be nested to arbitrary depth and there may be many includes per file.

Placeholder information

The following items can be automatically included [the placeholder that is replaced by the item is shown in square brackets and should be enclosed in double hash marks in your file, e.g. XYZ should be in your file as ##XYZ##] (the example for this page is in parentheses).
  • The page's title [TITLE] (Template test file )
  • The section heading [SECTION] (Web Site Templates)
  • The whole breadcrumb line [BREADCRUMBS] ( > Templates > Template test file )
  • The name of the resulting HTML file [FILENAME] (tst.html)
  • Date (e.g. "on 30-Oct-2002 at 18:54") [DATE] (on 19-Feb-2003 at 17:10)
  • Your name as found by the finger command [OWNERNAME] (Neil Dodgson)
  • Your user ID [OWNERUSERID] (nad10)
  • Your Lab e-mail address [OWNEREMAIL] (nad10@cl.cam.ac.uk)
  • What is specified in the COMMENTS line [COMMENTCONTACT] (Neil Dodgson)
  • The copyright owner, specified in the COPYRIGHT line [COPYRIGHT] (Neil Dodgson)
  • The current year [YEAR] (2003)