Template:Mobile only/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "{{tlx|mobile only}}, or {{tlx|mo}}, is a template which, quite simply, displays its contents only on the Mercury (''ie.'' mobile) skin. This will have no impact at all on the ...")
Tag: sourceedit
 
No edit summary
Tag: sourceedit
Line 3: Line 3:
or:
or:
:{{tlx|mo|Y'all on desktop can't see a word.}}
:{{tlx|mo|Y'all on desktop can't see a word.}}
 
<hr />
It will result in the following:
It will result in the following:
{{mo|Ha. Yeah. You probably can't see anything. Oh, you're on mobile?}}
:{{mo|Ha. Yeah. You probably can't see anything. Oh, you're on mobile?}}
<hr />
Please use sparingly, and '''''only''''' in cases where such a template is ''absolutely'' necessary for clarity on both major skins.

Revision as of 08:48, 4 June 2017

{{mobile only}}, or {{mo}}, is a template which, quite simply, displays its contents only on the Mercury (ie. mobile) skin. This will have no impact at all on the desktop (Wikia) skin, as it will note display at all. To use simply add the following:

{{mobile only|This text will only appear on mobile.}}

or:

{{mo|Y'all on desktop can't see a word.}}

It will result in the following:


Please use sparingly, and only in cases where such a template is absolutely necessary for clarity on both major skins.