Talɣa:Ombox/antam
Other pages message box. This template is usually not used directly, but is more often used as a metatemplate to build other templates.
| Paramètre | Description | Type | État | |
|---|---|---|---|---|
| Text of the box | text | The text to be displayed inside the box; if you need to use special characters then use <nowiki>{{ombox}}</nowiki>.
| Contenu | obligatoire |
| Type of box to display | type | The type of box that will be displayed (image, border thickness, colour, appearance). Examples from highest priority to lowest: "speedy", "delete", "content", "style", "notice", "move", and "protection".
| Chaîne | suggéré |
| Image | image | The image to be displayed inside the box. This can be chosen automatically by setting the "type" parameter. Displays on the *left*. This should be given as a file wikilink, just as if you were adding an image on its own, with the size, typically 40–50px.
| Contenu | facultatif |
| Image to the right | imageright | The image to be displayed to the *right* of the text. This should be given as a file wikilink, just as if you were adding an image on its own, with the size, typically 40–50px.
| Contenu | facultatif |
| CSS style for entire box | style | Inline CSS styles, which will be applied to the *entire* box. Without quotation marks " " but with the ending semicolons ;.
| Chaîne | facultatif |
| CSS style for text | textstyle | Inline CSS styles, which will only be applied to the text itself. Without quotation marks " " but with the ending semicolons ;.
| Chaîne | facultatif |
| Plain external links? | plainlinks | Typically, external links have an arrow icon next to them, but in message boxes, this is suppressed by default. Set this to "no" to restore the usual appearance of an external link.
| Inconnu | facultatif |
| Small? | small | If set to "yes", the box becomes a small right floating message box. This also makes the default images smaller.
| Inconnu | facultatif |
| Small image | smallimage | A small image to be used. Displays on the left. Only use this parameter if "small" is set. If not set, “image” will be used anyway. Size 30px is about right. “none" = Means that no image is used. This overrides any image fed to image, when "small=yes".
| Inconnu | facultatif |
| Small image to the right | smallimageright | A small image to be used. Displays on the right. Only use this parameter if "small" is set. If not set, “image” will be used anyway. Size 30px is about right. “none" = Means that no image is used. This overrides any image fed to imageright, when "small=yes".
| Contenu | facultatif |
| Shorter text | smalltext | A shorter version of the message body text. Will display if “small=yes". Falls back to the "text" parameter if not used.
| Contenu | facultatif |