This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:parameters:uppercase [2012/11/27 14:57] igor [Uppercase] |
en:public:developer:template_system:tags:parameters:uppercase [2013/01/28 17:31] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Uppercase ===== | + | ====== Uppercase ====== |
- | Parameter "uppercase" means that the content of corresponding variable (or result of function) will be converted to upper space. This parameter will not touch digits and non-alpha characters. It is very similar to [[en:public:developer:template_system:tags:parameters:lowercase]]-parameter. | + | Parameter "uppercase" means that the content of corresponding variable |
+ | (or result of function) will be converted to upper case. | ||
+ | This parameter will not touch digits and non-alpha characters. It is very similar | ||
+ | to [[en:public:developer:template_system:tags:parameters:lowercase]] parameter. | ||
+ | |||
+ | **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 | ||
+ | [[en:public:developer:template_system:tags:parameters:AnalyzeTagParams]] | ||
==== Values ==== | ==== Values ==== | ||
^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
- | | <html><span style="color:#008000">true</span></html> | Means that value must be converted to upper case. If something else is specified then parameter "uppercase" is ignored. | | + | | <html><span style="color:#008000">1</span></html> | Means that value must be converted to upper case. If something else is specified then parameter "uppercase" is ignored. | |
==== Example ==== | ==== Example ==== | ||
- | <#Var name="FullName" value="John Smith"> | + | <#FullName setValue="John Smith"> |
- | Full name is <#FullName uppercase="true">. | + | Full name is <#FullName uppercase="1">. |
Output: | Output: | ||
Full name is JOHN SMITH. | Full name is JOHN SMITH. |