FANDOM


(Simpler.)
(No parameters.)
 
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
-->{{#ifeq:{{{1|}}}|inline<!--
+
-->{{{1}}}<!--
-->|[[Category:TemplateDeskoInline]]<!--
 
-->|{{{1}}}}}<!--
 
 
--></includeonly><!--
 
--></includeonly><!--
 
--><noinclude>{{Doc}}</noinclude>
 
--><noinclude>{{Doc}}</noinclude>

Latest revision as of 02:10, July 31, 2020

Template info-icon
Template documentation[ view | edit | history | purge ]

DescriptionEdit

Desko is a template used to make a content only visible for desktop users.

The content inside it will not render for mobile users.

It is generally used along with Template:Mobo.

SyntaxEdit

{{Desko|<ANY FANCY THING>}}

Problematic charactersEdit

Note that it accepts any other template or parser function inside it, but to build tables with wiki text, you'll need to replace some characters that break the code with their equivalent auxiliary template.

The problematic characters that need to be replaced are: the equal sign = and the vertical bar |.

A simple table structure will look like this (the used templates are linked):

{{(!}} class{{=}}"article-table" style{{=}}"width:100%;"
{{!}}-
{{!}} cell 1
{{!}} cell 2
{{!}} cell 3
{{!)}}

DependencyEdit

This template depends on the template type rules, that makes notices invisible on mobile.
See the articles and the templates currently using this template.
Community content is available under CC-BY-SA unless otherwise noted.