Template:Template display/doc
From Funkinchan
Jump to navigationJump to search
This is a documentation subpage for Template:Template display. It may contain usage information, categories and other content that is not part of the original template page. |
Template:Template rating
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
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. |
<syntaxhighlight lang="wikitext">
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. |
</syntaxhighlight>
Desktop only templates
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
<syntaxhighlight lang="wikitext">
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
</syntaxhighlight>
Mobile only templates
This template does not display in the desktop view of Wikipedia; it is mobile only. Read the documentation for an explanation. |
<syntaxhighlight lang="wikitext">
This template does not display in the desktop view of Wikipedia; it is mobile only. Read the documentation for an explanation. |
</syntaxhighlight>
Templates that do not work in the Vector 2022 skin
This template does not work properly in the Vector 2022 skin. Read the documentation for an explanation. |
<syntaxhighlight lang="wikitext">
This template does not work properly in the Vector 2022 skin. Read the documentation for an explanation. |
</syntaxhighlight>
Images used