Template:Mbox/doc: Difference between revisions
Template page
More actions
m moved Template:TS/gibox/doc to Template:Mbox/doc: people continue to use these *mboxes, there's no way to escape it... it's time to at least commonsify them. this will be the style for everything but categories (for now). |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This is the '''Gallery and | This is the '''Gallery and File message box''' template. It could be used to construct file and gallery message box templates. | ||
==Parameters== | ==Parameters== | ||
| Line 10: | Line 8: | ||
*imageright - Show an image on the right side | *imageright - Show an image on the right side | ||
*textalign - Override default centering of text with left or right. | *textalign - Override default centering of text with left or right. | ||
* | *style - Override in custom style overrides for the template using CSS. | ||
==Examples== | ==Examples== | ||
{{ | {{mbox | ||
|text=warning - for speedy deletion and other serious notices | |text=warning - for speedy deletion and other serious notices | ||
|type=warning | |type=warning | ||
}} | }} | ||
{{ | {{mbox | ||
|text=serious - for deletion notices | |text=serious - for deletion notices | ||
|type=serious | |type=serious | ||
}} | }} | ||
{{ | {{mbox | ||
|text=issue - for larger issues | |text=issue - for larger issues | ||
|type=issue | |type=issue | ||
}} | }} | ||
{{ | {{mbox | ||
|text=query - for minor issues | |text=query - for minor issues | ||
|type=query | |type=query | ||
}} | }} | ||
{{ | {{mbox | ||
|text=style - for cleanup (only difference is different icon) | |text=style - for cleanup (only difference is different icon) | ||
|type=style | |type=style | ||
}} | }} | ||
{{ | {{mbox | ||
|text=notice | |text=notice | ||
|type=notice | |type=notice | ||
}} | }} | ||
{{ | {{mbox | ||
|text=license - for licenses (please note, the icon is an example, templates will still use their current icons where applicable) | |text=license - for licenses (please note, the icon is an example, templates will still use their current icons where applicable) | ||
|type=license | |type=license | ||
}} | }} | ||
{{ | {{mbox | ||
|text=legal - for legal disclaimers such as {{tl|Trademark}} | |text=legal - for legal disclaimers such as {{tl|Trademark}} | ||
|type=legal | |type=legal | ||
}} | }} | ||
{{ | {{mbox | ||
|text=protection - for protection notices | |text=protection - for protection notices | ||
|type=protection | |type=protection | ||
}} | }} | ||
{{ | {{mbox | ||
|text=honor - for honors such as featured image | |text=honor - for honors such as featured image | ||
|type=honor | |type=honor | ||
}} | }} | ||
{{ | {{mbox | ||
|text=growth - for other "good" notices | |text=growth - for other "good" notices | ||
|type=growth | |type=growth | ||
}} | }} | ||
{{ | {{mbox | ||
|text=move - for move requests | |text=move - for move requests | ||
|type=move | |type=move | ||
}} | }} | ||
<br> | <br> | ||
{{ | {{mbox | ||
|text=message - emulates {{tl|notice}} | |text=message - emulates {{tl|notice}} | ||
|type=message | |type=message | ||
}} | }}<includeonly> | ||
[[Category:Message box templates|{{PAGENAME}}]] | |||
</includeonly> | |||
Revision as of 04:47, 29 August 2010
This is the Gallery and File message box template. It could be used to construct file and gallery message box templates.
Parameters
- text - The text to be displayed
- type - Changes the color depending on the message needed. Each has its own preset image
- image - Override the image
- imageright - Show an image on the right side
- textalign - Override default centering of text with left or right.
- style - Override in custom style overrides for the template using CSS.
Examples