https://nordiclarp.org/w/index.php?title=Template:Template_display/doc&feed=atom&action=historyTemplate:Template display/doc - Revision history2024-03-29T00:35:09ZRevision history for this page on the wikiMediaWiki 1.34.2https://nordiclarp.org/w/index.php?title=Template:Template_display/doc&diff=9485&oldid=prevJohannes Axner: 1 revision imported2018-12-30T00:33:31Z<p>1 revision imported</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 00:33, 30 December 2018</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Johannes Axnerhttps://nordiclarp.org/w/index.php?title=Template:Template_display/doc&diff=9484&oldid=preven>PrimeHunter: fix examples, clarify purpose2017-07-22T10:18:08Z<p>fix examples, clarify purpose</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --><br />
{{Template rating|beta}}<br />
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 <code>class = "nomobile"</code><br />
:'''As of March 2017, only the <code>"nomobile"</code>-class is implemented, and <code>"nodesktop"</code> / <code>"mobileonly"</code> classes do nothing because they are not enabled in [[MediaWiki:Common.css]] or [[MediaWiki:Mobile.css]]''' — this means only the {{tlx|Template display|nomobile}} or {{tlx|Template display|desktoponly}} have any use.<br />
<br />
This template does not itself control where content is displayed. It is only intended for template documentation to say where another template displays.<br />
<br />
== Usage ==<br />
=== Adaptive templates ===<br />
{{Template display|adaptive}}<br />
<pre>{{Template display|adaptive}}</pre><br />
<br />
=== Desktop only templates === <br />
{{Template display|nomobile}}<br />
<pre>{{Template display|nomobile}}</pre><br />
<!--<pre>{{Template display|desktoponly}}</pre>--><br />
<br />
=== Mobile only templates ===<br />
{{Template display|nodesktop}}<br />
<pre>{{Template display|nodesktop}}</pre><br />
<!-- <pre>{{Template display|mobileonly}}</pre> --><br />
<br />
==Images used==<br />
* [[File:Different devices simple.svg|x22px|link=|alt=]] [[:File:Different devices simple.svg]]<br />
* [[File:Handheld devices no.svg|x22px|link=|alt=]] [[:File:Handheld devices no.svg]]<br />
* [[File:Desktop devices no.svg|x22px|link=|alt=]] [[:File:Desktop devices no.svg]]<br />
<br />
==See also==<br />
*<br />
<includeonly>{{sandbox other||<br />
<!-- Categories below this line, please; interwikis at Wikidata --><br />
<br />
}}</includeonly></div>en>PrimeHunter