Template:Documentation subpage

From Void Collection
Revision as of 20:46, 10 June 2021 by Nav>ExE Boss (Prepare for changing the default of the `false` parameter of {{IsDocSubpage}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<languages/> {{#switch:<translate></translate> | = {{#ifeq:show |show

         | Template:Mbox
        }}{{#if: |
         |   
        }}

| #default=

 {{#switch:

| = {{#if:{{#ifexpr: ( {{#ifeq:documentation subpage|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:documentation subpage|-1|-2}}|doc|1|0}} and {{#if:en|1|0}} ) )|1|}}

    | 

{{#ifeq:show |show

         | Template:Mbox
        }}{{#if: |
         |   {{#ifexist:Template:Documentation subpage
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages{{#translation:}}]]{{#ifeq:Template|Template|[[Category:Template documentation{{#translation:}}]]}}
                  | [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
                 }}
        }}
    | 
   }}

| #default=

 Lua error: expandTemplate: template loop detected.

}} }} Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.{{#if:<translate>

Usage

Use this template on Template Documentation subpage (/doc).

See also

</translate>

[[Category:Template documentation pages{{#translation:}}]] }}