Template:InfoCard/doc

From Flip City Wiki
Jump to navigation Jump to search

{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infocard/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}

    | 

{{#ifeq:show |show

|

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

| #default=

 {{#switch:

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

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:Template:InfoCard
                  | [[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: callParserFunction: function "#translation" was not found. <templatedata> { "description": { "en": "This template creates a styled information card.", "cs": "Tato šablona vytvoří stylizovanou informační kartu.", "tr": "Bu şablon, tasarlanmış bir bilgi kartı oluşturur." }, "params": { "heading": { "label": { "en": "Heading", "cs": "Nadpis", "tr": "Başlık" }, "description": { "en": "The card's title.", "cs": "Název karty.", "tr": "Kartın başlığı." }, "type": "content", "required": true }, "content": { "label": { "en": "Content", "cs": "Obsah", "tr": "İçerik" }, "description": { "en": "The card's content.", "cs": "Obsah karty.", "tr": "Kartın içeriği" }, "type": "content", "required": true }, "class": { "label": { "en": "Class(es)", "cs": "Třída/y", "tr": "Sınıf(lar)" }, "description": { "en": "Additional CSS class(es) for the whole box.", "cs": "Další třída/y CSS pro celý box.", "tr": "Tüm kutu için ek CSS sınıf(lar)ı." }, "type": "line" }, "footer": { "label": "Footer", "description": "Optional footer area.", "type": "content" } }, "paramOrder": [ "heading", "content", "footer", "class" ] } </templatedata>