Template:Template display/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.

Adaptive templates

[edit source]
{{Template display|adaptive}}

Desktop only templates

[edit source]
{{Template display|nomobile}}

Templates that display on mobile, but not on narrow screens

[edit source]
{{Template display|nomobile720}}

Mobile only templates (see note above)

[edit source]
{{Template display|nodesktop}}

Templates that display poorly or cause accessibility problems on mobile

[edit source]
{{Template display|badmobile}}

Templates that do not work in the Vector 2022 skin

[edit source]
{{Template display|vector2022}}

Images used

[edit source]

See also

[edit source]