Template:Template display

From UnderlightWiki
Revision as of 11:15, 26 October 2022 by Wearchristy (talk | contribs) (adding template template display)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifeq:template display |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Template display
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Template:Template rating 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 class = "nomobile"

As of March 2017, only the "nomobile"-class is implemented, and "nodesktop" / "mobileonly" classes do nothing because they are not enabled in MediaWiki:Common.css or MediaWiki:Mobile.css — this means only the Template:Tlx or Template:Tlx have any use.

This template does not itself control where content is displayed. It is only intended for template documentation to say where another template displays.

Usage

Adaptive templates

{{#ifeq:template display |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Template display
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Template:Template rating 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 class = "nomobile"

As of March 2017, only the "nomobile"-class is implemented, and "nodesktop" / "mobileonly" classes do nothing because they are not enabled in MediaWiki:Common.css or MediaWiki:Mobile.css — this means only the Template:Tlx or Template:Tlx have any use.

This template does not itself control where content is displayed. It is only intended for template documentation to say where another template displays.

Usage

Adaptive templates

Template loop detected: Template:Template display

{{Template display|adaptive}}

Desktop only templates

Template loop detected: Template:Template display

{{Template display|nomobile}}

Mobile only templates

Template loop detected: Template:Template display

{{Template display|nodesktop}}

Images used

Template:Sandbox other

{{Template display|adaptive}}

Desktop only templates

{{#ifeq:template display |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Template display
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Template:Template rating 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 class = "nomobile"

As of March 2017, only the "nomobile"-class is implemented, and "nodesktop" / "mobileonly" classes do nothing because they are not enabled in MediaWiki:Common.css or MediaWiki:Mobile.css — this means only the Template:Tlx or Template:Tlx have any use.

This template does not itself control where content is displayed. It is only intended for template documentation to say where another template displays.

Usage

Adaptive templates

Template loop detected: Template:Template display

{{Template display|adaptive}}

Desktop only templates

Template loop detected: Template:Template display

{{Template display|nomobile}}

Mobile only templates

Template loop detected: Template:Template display

{{Template display|nodesktop}}

Images used

Template:Sandbox other

{{Template display|nomobile}}

Mobile only templates

{{#ifeq:template display |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Template display
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Template:Template rating 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 class = "nomobile"

As of March 2017, only the "nomobile"-class is implemented, and "nodesktop" / "mobileonly" classes do nothing because they are not enabled in MediaWiki:Common.css or MediaWiki:Mobile.css — this means only the Template:Tlx or Template:Tlx have any use.

This template does not itself control where content is displayed. It is only intended for template documentation to say where another template displays.

Usage

Adaptive templates

Template loop detected: Template:Template display

{{Template display|adaptive}}

Desktop only templates

Template loop detected: Template:Template display

{{Template display|nomobile}}

Mobile only templates

Template loop detected: Template:Template display

{{Template display|nodesktop}}

Images used

Template:Sandbox other

{{Template display|nodesktop}}

Images used