Template:InfoCard/doc
{{#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
|
File:OOjs UI icon book-ltr.svg | <translate> This is a documentation [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>Template:InfoCard</tvar>.</translate> {{#if: |<translate> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{{text1}}}</tvar>.</translate> |<translate> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>Template</tvar> page.</translate>}} |
}}{{#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
|
File:OOjs UI icon book-ltr.svg | This is a documentation subpage for Template:InfoCard. {{#if: |It contains usage information, categories and other content that is not part of the original {{{text1}}}. |It contains usage information, categories and other content that is not part of the original Template page.}} |
}}{{#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>