This is the current revision of this page, as edited by Jonesey95(talk | contribs) at 01:39, 28 January 2024(add nomobile720 option for Template:A-Z multipage list). The present address (URL) is a permanent link to this version.
Revision as of 01:39, 28 January 2024 by Jonesey95(talk | contribs)(add nomobile720 option for Template:A-Z multipage list)
The desktop and mobile browsing interfaces on Wikipedia differ substantially, and sometimes different templates are more or less suitable for a specific interface. For this reason certain templates do not display in mobile view, using the class = "nomobile"
As of March 2017, only the "nomobile"-class is implemented, and "nodesktop" / "mobileonly" classes do nothing because they are not enabled in MediaWiki:Common.css or MediaWiki:Mobile.css.
This template does not itself control where content is displayed. It is intended only for template documentation, to explain a template's behavior in the mobile view.
Usage
Adaptive templates
This template is responsive and displays differently in mobile and desktop view. Read the documentation for an explanation of the differences and why they exist.
{{Template display|adaptive}}
Desktop only templates
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation.
{{Template display|nomobile}}
Templates that display on mobile, but not on narrow screens
This template does not display in the mobile view of Wikipedia when the window is less than 720 pixels wide. Read the documentation for an explanation.
{{Template display|nomobile720}}
Mobile only templates (see note above)
This template does not display in the desktop view of Wikipedia; it is mobile only. Read the documentation for an explanation.
{{Template display|nodesktop}}
Templates that display poorly or cause accessibility problems on mobile