Template:Ombox: Difference between revisions

From Stalburg Wiki
Jump to navigation Jump to search
CitadelCore (talk | contribs)
m 1 revision imported
 
Add TemplateData
 
Line 1: Line 1:
<noinclude>
<templatedata>
{
"description": {
"cs": "Toto je specializovaná verze metašablony {{mbox}} nebo “multi namespace message box“.",
"en": "This is the specialized version of the {{mbox}} or \"multi-namespace message box\" meta-template.",
"pt-br": "Esta é a versão especializada da meta-predefinição {{mbox}}, 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 <code>notice</code> 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": [
"{{{small|}}}",
"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>
</noinclude>
{{#invoke:Message box|ombox}}<noinclude>
{{#invoke:Message box|ombox}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 03:15, 27 January 2026

This is the specialized version of the {{mbox}} or "multi-namespace message box" meta-template.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

Adjusts border and background for the appropriate use-case. Default <code>notice</code> is gray with a blue border.

Suggested values
notice style content delete speedy protection move
Default
notice
Auto value
notice
Stringsuggested
Image (left)image

no description

Suggested values
none
Default
Depends on the “type” parameter.
Contentsuggested
Image (right)imageright

no description

Contentoptional
CSS Stylestyle

no description

Stringoptional
Text CSS Styletextstyle

no description

Stringoptional
Texttext

no description

Contentsuggested
Small?small

no description

Suggested values
{{{small|}}} left yes 1
Default
0
Booleanoptional
Small Image (left)smallimage

no description

Suggested values
none
Default
{{{image}}}
Contentoptional
Small Image (right)smallimageright

no description

Suggested values
none
Default
{{{imageright}}}
Contentoptional
Small Textsmalltext

no description

Default
{{{text}}}
Contentoptional
Template documentation[create]