Jump to content

Template:Desktop only

From Wikivoyage

{{{1}}}

Documentation: Template:Desktop only is used to cause a block of content in Wiki markup which is included as the parameter to display only on the desktop site. It should be invisible in mobile view. Desktop only can be used with Template:Mobile only to display alternative content depending on whether the user is viewing from desktop or mobile view, or on its own where the content is not needed on mobile view. This can be useful when the content does not render correctly on both platforms due to software problems, some of which have been known for years and may never be fixed.

Syntax is: {{Desktop only|1=(block of content)}}

The template wraps the content in division tags with class="nomobile" which is available in English Wikivoyage, so should be portable to all Wikimedia projects in which class="nomobile is available.