User Tools

Site Tools


en:public:developer:template_system:tags:parameters:titlecase

Table of Contents

TitleCase

Parameter “TitleCase” defines that value of corresponding variable or result of function will be converted to make first character of each word capitalized. It's mostly used to print some headlines.

Examples:

  • Fantastic Farmhouses In Quiet Place!
  • New Taxation Rates

NOTE: By default the resulting content will be parsed (all <#..> tags will be evaluated) before to apply this filter. You can control this behavior throught the parameter AnalyzeTagParams

Values

Value Description
1 Means that value must be converted to title case. If something else is specified this parameter will be ignored.

Example

Assuming that we have “page_title” equal to “Special promotions”.

<#page_title TitleCase="1">

Output:

Special Promotions
en/public/developer/template_system/tags/parameters/titlecase.txt · Last modified: 2013/01/28 17:44 by admin