Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 1596aa0c95b4ccf7adfa8febc56cc15c > files > 204

webmake-2.4-2mdk.noarch.rpm

<wmmeta name="Title" value="The &lt;template&gt; Tag" />
<wmmeta name="Section" value="02-tags_attrs" />
<wmmeta name="Score" value="35" />
<wmmeta name="Abstract">
non-text content, such as HTML templates
</wmmeta>

The &lt;template&gt; tag is identical in most respects to the
"&lt;content&gt;" [$(content)] tag.

Typically, one will want to differentiate textual content, such as news
articles, from template content, such as page templates.  This tag allows
those semantic differences to be expressed at a high level; use
"&lt;content&gt;" [$(content)] blocks for textual content, and
&lt;template&gt; blocks for template content.

Note that &lt;template&gt; blocks are never mapped in site maps, and
cannot hold metadata.

It is implemented as a content item with the ##map## attribute set to
##false##.

Example
=======

<safe>
  <template name="page_header" format="text/html">
  <html><head><title> $[this.title] </title></head>
  </template>

</safe>