So far all of the examples generate the same page for any object. The real point of templates becomes clear when they refer to the properties of the object whose page is being generated.
Suppose we have an object that has a property called name (as built-in section and item objects do). To refer to a property within a template, we use @ followed by the property's name. So in this template,
My-Name ()
TITLE "My Name Is"
BODY
TEXT "Hello, my name is "
LINEBREAK
IMAGE source RENDER text @name
text-color red
font-size 20
the image generated by the RENDER expression will contain whatever has been entered in the name field of the current object.
See Also: