Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Template display

Permanently protected template
From Wikipedia, the free encyclopedia
Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 45,000 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.

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 theclass = "nomobile"

As of March 2017, only the"nomobile"-class is implemented, and"nodesktop" /"mobileonly" classes do nothing because they are not enabled inMediaWiki:Common.css orMediaWiki: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 isresponsive anddisplays 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 doesnot display in the mobile view of Wikipedia; it isdesktop only. SeeTemplate:Navbox visibility for a brief explanation.
{{Template display|nomobile}}

Templates that display on mobile, but not on narrow screens

This template doesnot 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 doesnot display in the desktop view of Wikipedia; it ismobile only. Read the documentation for an explanation.
{{Template display|nodesktop}}

Templates that display poorly or cause accessibility problems on mobile

This template contains coding that is not compatible withmobile versions of Wikipedia, causing display andaccessibility problems. Read the documentation for an explanation.
{{Template display|badmobile}}

Templates that do not work in the Vector 2022 skin

This template does not work properly in theVector 2022 skin. Read the documentation for an explanation.
{{Template display|vector2022}}

Images used

See also

The abovedocumentation istranscluded fromTemplate:Template display/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Template_display&oldid=1274691061"
Category:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp