This is a documentation subpage for Template:If mobile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses TemplateStyles: |
Note that {{If mobile}} only works outside of the Template: namespace. |
This template detects whether it is being used on the mobile version of Wikipedia (en.m.wikipedia.org), and displays different content accordingly. This should however NOT be relied upon. For instance; both versions of content will generally show up in things like search engines. You should generally AVOID using this template. If you need to adapt the layout of a page for mobile, then please use TemplateStyles and CSS.