Actions

Template

Template:Documentation subpage

From Convention Master Documentation

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

|

        }}{{#if: |
         |   
        }}

| #default=

 {{#switch:

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

    | 

{{#ifeq:show |show

|

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

| #default=

 Lua error: expandTemplate: template loop detected.

}} }} Lua error: bad argument #1 to "get" (not a valid title).{{#if:<translate>

Usage

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

See also

</translate>

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