Template:Mobile only/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Added Template documentation category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{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 desktop (Wikia) skin, as it will not <code>display</code> at all. To use simply add the following:
{{tlx|mobile only}}, or {{tlx|mo}}, is a template which, quite simply, displays its contents only on the Citizen (''ie.'' mobile) skin. This will have no impact at all on the desktop (Timeless) skin, as it will not <code>display</code> at all. To use simply add the following:
:{{tlx|mobile only|This text will only appear on mobile.}}
:{{tlx|mobile only|This text will only appear on mobile.}}
or:
or:
Line 8: Line 8:
<hr />
<hr />
Please use sparingly, and '''''only''''' in cases where such a template is ''absolutely'' necessary for clarity on both major skins.
Please use sparingly, and '''''only''''' in cases where such a template is ''absolutely'' necessary for clarity on both major skins.
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:45, 24 April 2024

{{mobile only}}, or {{mo}}, is a template which, quite simply, displays its contents only on the Citizen (ie. mobile) skin. This will have no impact at all on the desktop (Timeless) skin, as it will not 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.