Templating System Usage

A few things to know to create a template

The templating system help you to design uniform documents for W3C pages, or helps you to prepare documents for particular circumstances (Last Call, etc).

The new templates must be created in a directory which is called Templates.

General usage

%%variable-name%%

When the template will be called, A form will be created and displayed with the value of variable-name to input. We suggest that you choose a variable name which has a meaning. For example:

%%Your_email_address%%

The form will contain an entry with Your_email_address and the input field to enter it.

%%yyyy%%

Gives the year in the format YYYY. For example, "1969"

%%mm%%

Gives the month in the format mm. For example, "03" for February

%%mmm%%

Gives the month in a 3-char format. For example, "Mar" for February

%%dd%%

Gives the day in the format dd. For example, "16"

%%w3clogo%%

Add the W3C logo

Somes examples of templates.


Valid XHTML 1.0!
Created Date: 2003-08-14 by Karl Dubost
Last modified $Date: 2003/08/14 13:03:18 $ by $Author: kdubost $

Copyright © 2000-2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.