Page:Property Parser

Returns the value of a page property

Parser Attribute Possible Values Description
Tag <text> XHTML Tag to wrap the output with
Template <text> The name of the page template that contains the properties
Name <text> The name of the property within the page template to retrieve the value of
Class <text> The class name to apply to the XHTML tag that wraps the property value
DefaultValue <text> The value to use if the property is not available, or is NULL


Example:

  <page:property template="Home" name="Heading" tag="h3"/>


Would output a <h3> element containing the property contents

Last edited Jun 13, 2011 at 7:13 PM by methodworx, version 2

Comments

No comments yet.