Template:Documentation subpage: Difference between revisions

From Flip City Wiki
Jump to navigation Jump to search
m (1 revision imported)
Template>Tacsipacsi
(fix icon in night mode; restore link as the image is not in the public domain)
Line 12: Line 12:
             | type = notice
             | type = notice
             | style = margin-bottom:1.0em;
             | style = margin-bottom:1.0em;
             | image = [[File:OOjs UI icon book-ltr.svg|40px|alt=|link=]]
             | image = [[File:OOjs UI icon book-ltr.svg|40px|alt=|class=skin-invert]]
             | text =
             | text =
'''<translate><!--T:4--> This is a [[w:Wikipedia:Template documentation|documentation]] [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}</tvar>.</translate>'''<br /><!--
'''<translate><!--T:4--> This is a [[w:Wikipedia:Template documentation|documentation]] [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}</tvar>.</translate>'''<br /><!--

Revision as of 16:26, 25 August 2024

<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: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.{{#if:<translate>

Usage

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

See also

</translate>

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