syntax
< alttext name="logo.gif" text="Company logo">
this line: < img src="logo.gif">
becomes this after processing: < img src="logo.gif" alt="Company logo">
this line: < img src="../image/logo.gif">
will also have an ALT attribute appended to it
this line: < img src="logo.gif" alt="Click here for more information!">
remains unchanged.
synopsis
This is a simple comment that is not included in the output. This is useful
when commenting metatags, since the metatags do not appear the output either.
Example:
< set time="0">
< block name=a>
a is expanded at time < use time>.
< /block>
< block name=b expand>
b is expanded at time < use time>.
< /block>
< set time="1">
< use a>
< use b>
contents of a: < use a noexpand>
contents of b: < use b noexpand>
< block name=c expand>
c is expanded at time < use time>; < use a>
< /block>
< block name=d expand>
d is expanded at time < use time>; < use a noexpand>
< /block>
< block name=e>
e is expanded at time < use time>; < use a noexpand>
< /block>
< set time="2">
< block name=a>
a is defined for the 2nd time < use time>.
< /block>
< use c>
< use d>
< use e>
Note that these comments should not include < or >, that is you
should not use it to comment out htp code. For that purpose use something
like this:
< def name="bigfont">
<font size="+4">
< /def>
< def name="/bigfont">
</font>
< /def>
<bigfont>Some large text</bigfont>
Make sure that the variable is never defined and xyz should be the
reason why you don't want to include this block
|