Template:Ambox/doc: Difference between revisions
Jump to navigation
Jump to search
sc07>Grant (Created page with "== TemplateData == {{Mbox/TemplateData}}") |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== TemplateData == | == TemplateData == | ||
{{ | <templatedata> | ||
{ | |||
"description": "This is the specialized version of the {{mbox}} or “multi namespace message box” meta-template.", | |||
"format": "block", | |||
"params": { | |||
"type": { | |||
"label": "Type", | |||
"suggestedvalues": [ | |||
"speedy", | |||
"delete", | |||
"content", | |||
"style", | |||
"notice", | |||
"move", | |||
"protection" | |||
], | |||
"type": "string", | |||
"default": "notice", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "Image (left)", | |||
"suggestedvalues": [ | |||
"none" | |||
], | |||
"default": "Depends on the “type” parameter.", | |||
"suggested": true, | |||
"type": "content" | |||
}, | |||
"imageright": { | |||
"label": "Image (right)", | |||
"type": "content" | |||
}, | |||
"style": { | |||
"label": "CSS Style", | |||
"type": "string" | |||
}, | |||
"textstyle": { | |||
"label": "Text CSS Style", | |||
"type": "string" | |||
}, | |||
"text": { | |||
"label": "Text", | |||
"suggested": true, | |||
"type": "content" | |||
}, | |||
"small": { | |||
"label": "Small?", | |||
"suggestedvalues": [ | |||
"{{{small|}}}", | |||
"left", | |||
"yes", | |||
"1" | |||
], | |||
"default": "0", | |||
"type": "boolean" | |||
}, | |||
"smallimage": { | |||
"label": "Small Image (left)", | |||
"suggestedvalues": [ | |||
"none" | |||
], | |||
"default": "{{{image}}}", | |||
"type": "content" | |||
}, | |||
"smallimageright": { | |||
"label": "Small Image (right)", | |||
"suggestedvalues": [ | |||
"none" | |||
], | |||
"default": "{{{imageright}}}", | |||
"type": "content" | |||
}, | |||
"smalltext": { | |||
"label": "Small Text", | |||
"default": "{{{text}}}", | |||
"type": "content" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
Latest revision as of 01:56, 24 January 2024
TemplateData
This is the specialized version of the {{mbox}} or “multi namespace message box” meta-template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type | type | no description
| String | suggested |
| Image (left) | image | no description
| Content | suggested |
| Image (right) | imageright | no description | Content | optional |
| CSS Style | style | no description | String | optional |
| Text CSS Style | textstyle | no description | String | optional |
| Text | text | no description | Content | suggested |
| Small? | small | no description
| Boolean | optional |
| Small Image (left) | smallimage | no description
| Content | optional |
| Small Image (right) | smallimageright | no description
| Content | optional |
| Small Text | smalltext | no description
| Content | optional |