Log in
Old Index
XtGem account page
XtGem site building tool
Xtscript
Short Url
Translate this page
Powered by
Microsoft® Translator
xt get device template
Get device template
HTML only
Shows the type of the visitors device
<xt:get_device_template />
There are 3 possible values returned
web
pc's and laptops
touch
smart phones
mobile
standard mobiles
Example code
<span>You are using a <xt:get_device_template /> device</span>
Show as text
Example output
Reload
You are using a mobile device
Related pages
xt ip address
xt country
xt browser
xtgem versions