Required Wrapper Elements
Wrappers must include the following three elements in order to be saved and used. An error displays if you try to save a wrapper without a required element. These elements are always included in the initial "out-of-the-box" wrapper for a newly-created Web site (host).
- Page Title
- Page Content, appearing as:<div class="templateComponent" id="body"></div>
A Website Administrator can also insert the following optional meta attributes:
- Meta-Keywords, appearing as:<t:value id="meta.keywords">foo</t:value>
- Meta-Description, appearing as:<t:value id="meta.">foo</t:value>
A rendered Web page using a wrapper that includes meta attributes will contain any associated meta-content at the header level, if the page or other item referencing the wrapper provides that content. The following is an example of a very basic wrapper, without any navigation -- making it appropriate for use as a site's printer-friendly wrapper.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><t:value id="title">title</t:value></title>
<t:value id="meta.keywords">meta.keywords</t:value>
<t:value id="meta.description">meta.description</t:value>
</head>
<body marginheight="0" marginwidth="0">
<P>This is the wrapper header.</P>
<hr />
<div class="templateComponent" id="body"></div>
<hr />
<DIV class=templateComponent id=poweredBy style="DISPLAY: inline"></DIV>
<P>This is the wrapper footer.</P>
</body>
</html>