الگو:نمایش الگو
آخرین ویرایش :
۲ مهر ۱۴۰۱
| This template is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
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 means only the{{Template display|nomobile}}or{{Template display|desktoponly}}have any use.
This template does not itself control where content is displayed. It is only intended for template documentation to say where another template displays.
Usage
Adaptive templates
| پرونده:Different devices simple.svg | این الگو تطبیقی است و در نمای موبایل و رایانه رومیزی متفاوت نمایش داده میشود. برای توضیح تفاوتها و دلیل، مستندات را بخوانید. |
{{Template display|adaptive}}
Desktop only templates
| این الگو در نمای موبایل ویکیپدیا نمایش داده نمیشود؛ نمایش الگو فقط در رایانه رومیزی. مستندات را برای توضیح بخوانید. |
{{Template display|nomobile}}
Mobile only templates
| پرونده:Desktop devices no.svg | این الگو در نمای رایانه رومیزی ویکیپدیا نمایش داده نمیشود؛ نمایش الگو فقط در موبایل. مستندات را برای توضیح بخوانید. |
{{Template display|nodesktop}}
Images used
- پرونده:Different devices simple.svg File:Different devices simple.svg
- پرونده:Handheld devices no.svg File:Handheld devices no.svg
- پرونده:Desktop devices no.svg File:Desktop devices no.svg