Template:Mbox/TemplateData
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:templatedata|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:mbox/templatedata|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
|
| File:Codex icon book color-base.svg | <translate> This is a documentation [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>Template:Mbox</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:Mbox
| [[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:templatedata|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:mbox/templatedata|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
|
| File:Codex icon book color-base.svg | This is a documentation subpage for Template:Mbox. {{#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:Mbox
| [[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.
}} }} {{#switch:<translate></translate> |=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:Mbox/TemplateData|{{#ifeq:Template:Mbox/TemplateData|{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:templatedata|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:mbox/templatedata|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}
Mbox
{{#ifeq:TemplateData|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:templatedata|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:mbox/templatedata|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
{{#switch:
|=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:Mbox/TemplateData|{{#ifeq:Template:Mbox/TemplateData|{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:templatedata|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:mbox/templatedata|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}
Mbox
{{#ifeq:TemplateData|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:templatedata|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:mbox/templatedata|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
Lua error: expandTemplate: template loop detected.
}} }} <templatedata> { "description": {
"cs": "Toto je specializovaná verze metašablony
| File:OOjs UI icon information-progressive.svg |
nebo “multi namespace message box“.", "en": "This is the specialized version of the
| File:OOjs UI icon information-progressive.svg |
or \"multi-namespace message box\" meta-template.", "pt-br": "Esta é a versão especializada da meta-predefinição
| File:OOjs UI icon information-progressive.svg |
, ou “caixa de mensagem para múltiplos espaços nominais”."
},
"format": "block",
"params": {
"type": {
"label": {
"en": "Type",
"cs": "Typ",
"pt-br": "Tipo"
},
"suggestedvalues": [
"notice",
"style",
"content",
"delete",
"speedy",
"protection",
"move"
],
"type": "string",
"default": "notice",
"suggested": true,
"description": "Adjusts border and background for the appropriate use-case. Default notice is gray with a blue border.",
"autovalue": "notice"
},
"image": {
"label": {
"en": "Image (left)",
"cs": "Obrázek (vlevo)",
"pt-br": "Imagem (esquerda)"
},
"suggestedvalues": [
"none"
],
"default": {
"en": "Depends on the “type” parameter.",
"cs": "Závisí na parametru “type“.",
"pt-br": "Depende do parâmetro “type”."
},
"suggested": true,
"type": "content"
},
"imageright": {
"label": {
"en": "Image (right)",
"cs": "Obrázek (vpravo)",
"pt-br": "Imagem (direita)"
},
"type": "content"
},
"style": {
"label": {
"en": "CSS Style",
"cs": "Styl CSS",
"pt-br": "Estilo CSS"
},
"type": "string"
},
"textstyle": {
"label": {
"en": "Text CSS Style",
"cs": "Textový styl CSS",
"pt-br": "Estilo CSS para o texto"
},
"type": "string"
},
"text": {
"label": {
"en": "Text",
"cs": "Text",
"pt-br": "Texto"
},
"suggested": true,
"type": "content"
},
"small": {
"label": {
"en": "Small?",
"cs": "Malý?",
"pt-br": "Caixa pequena?"
},
"suggestedvalues": [
"",
"left",
"yes",
"1"
],
"default": "0",
"type": "boolean"
},
"smallimage": {
"label": {
"en": "Small Image (left)",
"cs": "Malý obrázek (vlevo)",
"pt-br": "Imagem da caixa pequena (esquerda)"
},
"suggestedvalues": [
"none"
],
"default": "{{{image}}}",
"type": "content"
},
"smallimageright": {
"label": {
"en": "Small Image (right)",
"cs": "Malý obrázek (vpravo)",
"pt-br": "Imagem da caixa pequena (direita)"
},
"suggestedvalues": [
"none"
],
"default": "{{{imageright}}}",
"type": "content"
},
"smalltext": {
"label": {
"en": "Small Text",
"cs": "Malý text",
"pt-br": "Texto da caixa pequena"
},
"default": "{{{text}}}",
"type": "content"
}
}
}
</templatedata>
[[Category:TemplateData documentation{{#translation:}}]]