This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:miscellaneous:mobile [2013/02/28 18:42] admin created |
en:public:developer:template_system:tags:miscellaneous:mobile [2013/02/28 18:43] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== <#Mobile> ====== | ====== <#Mobile> ====== | ||
- | + | Return 1 if mobile version or 0 if desktop version | |
- | ==== Parameters ==== | + | |
- | + | ||
- | ^ Name ^ Mandatory ^ Default ^ Description ^ | + | |
- | | <html><span style="color:#008000">culturename</span></html> | No | 0 | return the Language Culture Name (ie "Language-country" like for exemple fr-FR or en-US) | | + | |
==== Example ==== | ==== Example ==== | ||
<code> | <code> | ||
- | <#language> | + | <#Mobile> |
</code> | </code> | ||
- | will return on the french version of the website | + | will return on the mobile version of the website |
<code> | <code> | ||
- | fra | + | 1 |
</code> | </code> |