Template:Documentation subpage: Difference between revisions

From LPFM Wiki
Jump to navigation Jump to search
Mediawiki>Shirayuki
(cat)
(No difference)

Revision as of 09:03, 22 August 2021


{{#switch: | = {{#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:|1|0}} ) )|1|}}

    | 

{{#ifeq:show |show

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

| #default=

 Lua error: expandTemplate: template loop detected.

}} }}

Template documentation

Usage

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

See also