Template:Ombox/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kingg363
No edit summary
Ookami (talk | contribs)
m 170 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-risk| 711490 }}
{{High-use| 711490 }}
{{used in system}}
{{used in system}}
{{Lua|Module:Message box}}
{{Lua|Module:Message box}}
Line 6: Line 6:
{{Mbox templates (small)}}
{{Mbox templates (small)}}


This is the {{tl|Ombox}} (['''O''']ther pages ['''m''']essage ['''box''']) metatemplate.


Uogic was founded on Jun. 18, 2016. Major products for sale are Surface and Apple Stylus pens and other tablet accessories. Microsoft Corporation authorized Uogic Tech. manufacturing microsoft stylus pens since 2017.
It is used to build message box templates for pages of the types User, Wikipedia, MediaWiki, Template, Help, Portal and any new future namespaces; i.e. for page types not covered by {{tl|Ambox}}, {{tl|Tmbox}}, {{tl|Imbox}} or {{tl|Cmbox}}. Thus, it should ''not'' be used for boxes for articles, talk pages, image pages or category pages.


Uogic has 3 headquarters worldwide. Taiwan(R&D Center), Shenzhen(Operation headquarter) and Shenzhen(Manufacturing Center).
This template works almost exactly like {{tl|Ambox}} and uses the same parameters.


Major Products for sale: Uogic Wali(f94); Uogic INK Pro (C581); UPencil(A580)
=== Introduction ===
{{anchor|We are deploying!|Intro}}
As noted above, this template should be used for message boxes that are not articles, talk pages, image pages or category pages. Some message boxes for other pages may incorrectly use one of those four mentioned. Feel free to convert any message boxes used on "other pages" to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
 
When this template is used to build other pages message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
 
=== Usage ===
Simple usage example:
 
<pre>
{{ombox
| text      = Some text.
}}
</pre>
 
{{ombox | text = Some text.}}
{{clear}}
 
Complex example:
 
<pre>
{{ombox
| type      = style
| image    = [[File:Emblem-question-yellow.svg|40px]]
| style    = width: 400px;  
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
}}
</pre>
 
{{ombox
| type      = style
| image    = [[File:Emblem-question-yellow.svg|40px]]
| style    = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
}}
{{clear}}
 
=== Other pages message box types ===
The following examples use different '''type''' parameters but use no image parameters; thus, they use the default images for each type.
 
{{ombox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{ombox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{ombox
| type = content
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|high-use}}.
}}
{{ombox
| type = style
| text = type=<u>style</u> – Minor warnings and problems. {{tl|Intricate template}} should perhaps use this type.
}}
{{ombox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary. Such as {{tl|guideline}} and {{tl|Wikipedia how-to}}.
}}
{{ombox
| type = move
| text = type=<u>move</u> – Merge, split, rename and transwiki messages and proposals.
}}
{{ombox
| type = protection
| text = type=<u>protection</u> – Protection templates such as {{tl|pp}} when shown on "other pages".
}}
 
=== Examples ===
Some examples using the "notice" style:


{{ombox
| text  = No type and no image given ('''default''')
}}
{{ombox
| image = none
| text  = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{ombox
| image = [[File:Gnome globe current event.svg|42px]]
| imageright = [[File:Nuvola apps bookcase.svg|40px]]
| text  = image = <nowiki>[[File:Gnome globe current event.svg|42px]]</nowiki> <br> imageright = <nowiki>[[File:Nuvola apps bookcase.svg|40px]]</nowiki>
}}


=== History ===
{{ombox
{{anchor|We are deploying!|Intro}}
| type      = notice
| image      = [[File:Blue check.svg|30px]]
| imageright = {{shortcut|WP:SHORT}}
| text      =  
'''This page documents an English Wikipedia [[Wikipedia:Policies and guidelines|guideline]].''' It is a generally accepted standard that editors should follow, though it should be treated with [[Wikipedia:Use common sense|common sense]] and the [[Wikipedia:Ignore all rules|occasional exception]]. When editing this page, please ensure that your revision reflects [[Wikipedia:Consensus|consensus]]. When in doubt, discuss on the [[{{TALKPAGENAME}}|talk page]].
}}
{{ombox
| type      = notice
| image      = [[File:Nutshell.png|30px]]
| text      =
'''This page in a nutshell:''' This template is used to build message boxes for all pages that are ''not'' articles, talk pages, image pages or category pages.
}}
 
=== Parameters ===
List of all parameters:


In 2017, Uogic launched Uogic Wali, its first connected bluetooth stylus with pressure sensitivity. In 2018, Uogic developed Uogic Note(F94S) technology to build the first 1.67 mm tip, making it the smallest Surface stylus tip on the market. Uogic Note Pen, the first stylus with Uogic Note technology, was designed to provide a natural handwriting experience for notetakers. In 2019, Uogic started INK project for study 4096 pressure Surface stylus pens which compatible with Microsoft Pen Control 2.0 and was the best-sell on the Amazon.com.
<pre>
{{ombox
| name = name of the template
| type  = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| plainlinks = no
| text  = The message body text.  
| small = {{{small|}}} / yes
| smallimage = none / [[File:Some image.svg|30px]]
| smallimageright = none / [[File:Some image.svg|30px]]
| smalltext  = A shorter message body text.
}}
</pre>


'''name'''
:(Optional) Name of the template. This adds a CSS class with name <code>box-''name''</code> to the HTML element, for use by bots or scripts.


=== Products ===
'''type'''
Uogic Wali(f94); Uogic Note (F94S); Uogic INK Pro (C581):
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border.


'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[File:Crystal package settings.png|40px]]</nowiki></code>
:'''none''' = Means that no image is used.


==== Uogic Surface Stylus Pens ====
'''imageright'''
<div class="tb" style="overflow-x: auto;">
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
<table class="table table-bordered" style="height: 1149px; width: 524px;" border="3">
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:  
::<code><nowiki>imageright = [[File:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.


<th style="width: 92px;" scope="col">Model</th>
'''style'''
<th style="width: 171.2px;" scope="col">wali(f94)</th>
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
<th style="width: 239.8px;" scope="col">INK Pro Plus(c580)</th>
::<code>style = margin-bottom: 0.5em;</code>
</tr>
<tr>
<td style="background-color: #aed6f1; text-align: center; width: 503px;" colspan="3">Surface Pen</td>
</tr>
<tr>
<td style="width: 92px;">Color</td>
<td style="width: 171.2px;">Black/Silver</td>
<td style="width: 239.8px;">Black/Silver</td>
</tr>
<tr>
<td style="width: 92px;">Features</td>
<td style="width: 171.2px;">Classroom Pen,Surface Go Pen,The smallest Microsoft pen, cost-effective</td>
<td style="width: 239.8px;">Super flash charging function of the stylus, automatic flash charging patent technology.</td>
</tr>
<tr>
<td style="width: 92px;">Protocols</td>
<td style="width: 171.2px;">MPP1.51</td>
<td style="width: 239.8px;">MPP2.0</td>
</tr>
<tr>
<td style="width: 92px;">Magnetic</td>
<td style="width: 171.2px;">NO</td>
<td style="width: 239.8px;">YES</td>
</tr>
<tr>
<td style="width: 92px;">Pressure</td>
<td style="width: 171.2px;"><em>1024</em></td>
<td style="width: 239.8px;"><em>4096</em></td>
</tr>
<tr>
<td style="width: 92px;">Tilt function</td>
<td style="width: 171.2px;"><em>NO</em></td>
<td style="width: 239.8px;"><em>YES</em></td>
</tr>
<tr>
<td style="width: 92px;">Delay</td>
<td style="width: 171.2px;">21msec</td>
<td style="width: 239.8px;">21msec</td>
</tr>
<tr>
<td style="width: 92px;">Palm Rejection</td>
<td style="width: 171.2px;">YES</td>
<td style="width: 239.8px;">YES</td>
</tr>
<tr>
<td style="width: 92px;">Nib</td>
<td style="width: 171.2px;">Pre-installed H nib (available with Microsoft original HB nib) 2 spare H nibs (0.9mm wide)</td>
<td style="width: 239.8px;">Pre-installed Microsoft original nib, spare 2 H nibs (0.9mm wide)</td>
</tr>
<tr>
<td style="width: 92px;">Material</td>
<td style="width: 171.2px;">Anodized aluminum pen body</td>
<td style="width: 239.8px;">Anodized aluminum pen body</td>
</tr>
<tr>
<td style="width: 92px;">Connection</td>
<td style="width: 171.2px;">Directly to use, no bluetooth connection</td>
<td style="width: 239.8px;">Directly to use, no bluetooth connection</td>
</tr>
<tr>
<td style="width: 92px;">Sizes</td>
<td style="width: 171.2px;">143.6mm * 9.9mm</td>
<td style="width: 239.8px;">18.1*6.87*2.2CM/40G</td>
</tr>
<tr>
<td style="width: 92px;">Weight</td>
<td style="width: 171.2px;">16.5&plusmn;2G</td>
<td style="width: 239.8px;">14G</td>
</tr>
<tr>
<td style="width: 92px;">Battery Life</td>
<td style="width: 171.2px;">AAAA Alkaline batteries <br /> 1500H long endurance</td>
<td style="width: 239.8px;">Charge 45 mins<br /> Standby for 30 days <br />Continuous use for 12H</td>
</tr>
<tr>
<td style="width: 92px;">Compatibility</td>
<td style="width: 171.2px;">
<p>Surface Pro</p>
<p>Surface 3</p>
<p>Surface&nbsp;4</p>
<p>Surface&nbsp;5</p>
<p>Surface&nbsp;6</p>
<p>Surface&nbsp;7</p>
<p>Surface&nbsp;X</p>
<p>Surface Laptop 1</p>
<p>Surface Laptop&nbsp;2</p>
<p>Surface Laptop&nbsp;3</p>
<p>Surface Book 1</p>
<p>Surface Book 2&nbsp;</p>
<p>Surface Studio 1</p>
<p>Surface Studio 2</p>
<p>Surface Hub 1</p>
<p>Surface Hub&nbsp;2</p>
</td>
<td style="width: 239.8px;">
<p>Surface Pro</p>
<p>Surface 3</p>
<p>Surface&nbsp;4</p>
<p>Surface&nbsp;5</p>
<p>Surface&nbsp;6</p>
<p>Surface&nbsp;7</p>
<p>Surface&nbsp;X</p>
<p>Surface Laptop 1</p>
<p>Surface Laptop&nbsp;2</p>
<p>Surface Laptop&nbsp;3</p>
<p>Surface Book 1</p>
<p>Surface Book 2&nbsp;</p>
<p>Surface Studio 1</p>
<p>Surface Studio 2</p>
<p>Surface Hub 1</p>
<p>Surface Hub&nbsp;2</p>
</td>
</tr>
<tr>
<td style="width: 92px;">System</td>
<td style="width: 171.2px;">WINDOWS 10</td>
<td style="width: 239.8px;">WINDOWS 10</td>
</tr>
<tr>
<td style="width: 92px;">Accessories</td>
<td style="width: 171.2px;">Battery *1, Pen nibs *2, Manual *1</td>
<td style="width: 239.8px;">Pen nibs *2, USB Cable *1, Manual *1</td>
</tr>
<tr>
<td style="width: 92px;">Certifacation</td>
<td style="width: 171.2px;">CE/FCC/DOE/RoHS</td>
<td style="width: 239.8px;">CE/FCC/CEC/RoHS</td>
</tr>
<tr>
<td style="width: 92px;">Price</td>
<td style="width: 171.2px;">23.99USD</td>
<td style="width: 239.8px;">49.99USD</td>
</tr>


</table>
'''textstyle'''
</div>
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>


=== Uogic iPad Stylus Pens ===
'''plainlinks'''
:Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}.


Uogic UPencil(A580):
'''text'''
:The message body text.


==== The small parameters ====
{{ombox
| small = yes
| text = small = yes
}}
{{ombox
| type = style
| small = yes
| text = type = style <br> small = yes
}}
'''small'''
:'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code:
::<code><nowiki>small = {{{small|}}}</nowiki></code>


{{ombox
| small = yes
| image      = [[File:Replacement filing cabinet.svg|50px]]
| smallimage = [[File:Replacement filing cabinet.svg|32px]]
| text =
small = yes <br> image = <nowiki>[[File:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[File:Replacement filing cabinet.svg|32px]]</nowiki>
}}
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimage = [[File:Replacement filing cabinet.svg|30px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".


<div class="tb" style="overflow-x: auto;">
{{ombox
<table class="table table-bordered" style="height: 788px;" border="3" width="379">
| small = yes
| imageright = [[File:Nuvola apps bookcase.png|50px]]
| smallimageright = none
| text =
small = yes <br> imageright = <nowiki>[[File:Nuvola apps bookcase.png|50px]]</nowiki> <br> smallimageright = none
}}
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimageright = [[File:Nuvola apps bookcase.png|30px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes".


<tr>
'''smalltext'''
<th style="width: 92.8px;" scope="col">Model</th>
:A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
<th style="width: 271.2px;" scope="col">UPencil(A580)</th>
</tr>


=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:


<tr>
<pre>
<td style="background-color: #aed6f1; text-align: center; width: 92.8px;">&nbsp;</td>
{{ombox
<td style="background-color: #abebc6; text-align: center; width: 271.2px;">Apple Pen</td>
| text = <div>
</tr>
Equal sign = and a start and end brace { } work fine as they are.  
<tr>
But here is a pipe {{!}} and two end braces &lt;nowiki>}}&lt;/nowiki>.  
<td style="width: 92.8px;">Color</td>
And now a pipe and end braces &lt;nowiki>|}}&lt;/nowiki>.
<td style="width: 271.2px;">Black/White</td>
</div>
</tr>
}}
<tr>
</pre>
<td style="width: 92.8px;">Features</td>
<td style="width: 271.2px;">
<p>Anti-touch</p>
<p>Apple Replaceable Nib(Made in Japan).</p>
<p>Nib: Diameter 9.2mm</p>
</td>
</tr>
<tr>
<td style="width: 92.8px;">Protocols</td>
<td style="width: 271.2px;">YES</td>
</tr>
<tr>
<td style="width: 92.8px;">Magnetic</td>
<td style="width: 271.2px;">YES</td>
</tr>
<tr>
<td style="width: 92.8px;">Pressure</td>
<td style="width: 271.2px;">NO</td>
</tr>
<tr>
<td style="width: 92.8px;">Tilt function</td>
<td style="width: 271.2px;">NO</td>
</tr>
<tr>
<td style="width: 92.8px;">Delay</td>
<td style="width: 271.2px;">9msec</td>
</tr>
<tr>
<td style="width: 92.8px;">Palm Rejection</td>
<td style="width: 271.2px;">YES</td>
</tr>
<tr>
<td style="width: 92.8px;">Nib</td>
<td style="width: 271.2px;">Pre-loaded paper-like nanofiber nib, with 2 H nibs in reserve (0.9mm width of H nib)</td>
</tr>
<tr>
<td style="width: 92.8px;">Material</td>
<td style="width: 271.2px;">Anodized aluminum body (white for baking paint)</td>
</tr>
<tr>
<td style="width: 92.8px;">Connection</td>
<td style="width: 271.2px;">Directly to use, no bluetooth connection</td>
</tr>
<tr>
<td style="width: 92.8px;">Sizes</td>
<td style="width: 271.2px;">19.5*6.5*1.8CM/74G</td>
</tr>
<tr>
<td style="width: 92.8px;">Weight</td>
<td style="width: 271.2px;">14G</td>
</tr>
<tr>
<td style="width: 92.8px;">Battery Life</td>
<td style="width: 271.2px;">Charge 45 mins<br /> Standby for 30 days<br /> Continuous use for 12H</td>
</tr>
<tr>
<td style="width: 92.8px;">Compatibility</td>
<td style="width: 271.2px;">
<p>iPad Air(3rd Generation+)<br />iPad mini(6th Generation)<br />iPad mini(7th Generation)<br />iPad (6th Generation)<br />iPad (7th Generation)<br />iPad Pro 11'' (3th Generation)<br />iPad Pro 11'' (4th Generation)<br />iPad Pro 12.9'' (3th Generation)<br />iPad Pro 12.9'' (4th Generation)</p>
</td>
</tr>
<tr>
<td style="width: 92.8px;">System</td>
<td style="width: 271.2px;">iOS 12.2+, iPad Pro 3th+</td>
</tr>
<tr>
<td style="width: 92.8px;">Accessories</td>
<td style="width: 271.2px;">Pen nibs *2, USB Cable *1, Manual *1</td>
</tr>
<tr>
<td style="width: 92.8px;">Certifacation</td>
<td style="width: 271.2px;">CE/FCC/DOE/RoHS</td>
</tr>
<tr>
<td style="width: 92.8px;">Price</td>
<td style="width: 271.2px;">39.99USD</td>
</tr>


</table>
{{ombox
| text  = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
</div>
}}
This template uses the ombox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
For more technical details see the [[Template talk:Ombox|talk page]]. Since this template works almost exactly like {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} and {{tl|cmbox}} their talk pages and related pages might also contain more details.
===See also===
{{Mbox templates see also}}
<includeonly>{{Sandbox other|
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>

Latest revision as of 04:49, 3 September 2020

Message box
meta-templates
templatecontext
{{Ambox}}article
{{Cmbox}}category
{{Imbox}}image
{{Tmbox}}talk
{{Fmbox}}footer / header
{{Ombox}}other pages
{{Mbox}}auto-detect
{{Asbox}}article stub
{{Dmbox}}disambiguation

This is the {{Ombox}} ([O]ther pages [m]essage [box]) metatemplate.

It is used to build message box templates for pages of the types User, Wikipedia, MediaWiki, Template, Help, Portal and any new future namespaces; i.e. for page types not covered by {{Ambox}}, {{Tmbox}}, {{Imbox}} or {{Cmbox}}. Thus, it should not be used for boxes for articles, talk pages, image pages or category pages.

This template works almost exactly like {{Ambox}} and uses the same parameters.

Introduction

As noted above, this template should be used for message boxes that are not articles, talk pages, image pages or category pages. Some message boxes for other pages may incorrectly use one of those four mentioned. Feel free to convert any message boxes used on "other pages" to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.

When this template is used to build other pages message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.

Usage

Simple usage example:

{{ombox
| text      = Some text.
}}

Complex example:

{{ombox
| type      = style
| image     = [[File:Emblem-question-yellow.svg|40px]]
| style     = width: 400px; 
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
}}

Other pages message box types

The following examples use different type parameters but use no image parameters; thus, they use the default images for each type.

Examples

Some examples using the "notice" style:

Parameters

List of all parameters:

{{ombox
| name = name of the template
| type  = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| plainlinks = no
| text  = The message body text. 
| small = {{{small|}}} / yes
| smallimage = none / [[File:Some image.svg|30px]]
| smallimageright = none / [[File:Some image.svg|30px]]
| smalltext  = A shorter message body text.
}}

name

(Optional) Name of the template. This adds a CSS class with name box-name to the HTML element, for use by bots or scripts.

type

If no type parameter is given the template defaults to type notice. That means it gets a gray border.

image

No parameter = If no image parameter is given the template uses a default image. Which default image it uses depends on the type parameter.
An image = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
image = [[File:Crystal package settings.png|40px]]
none = Means that no image is used.

imageright

No parameter = If no imageright parameter is given then no image is shown on the right side.
An image = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
imageright = [[File:Nuvola apps bookcase.png|40px]]
Anything = Any other object that you want to show on the right side.

style

Optional CSS values used by the entire message box table. Without quotation marks " " but with the ending semicolons ;. For example:
style = margin-bottom: 0.5em;

textstyle

Optional CSS values used by the text cell. For example:
textstyle = text-align: center;

plainlinks

Normally on Wikipedia, external links have an arrow icon next to them, like this: Example.com. However, in message boxes, the arrow icon is suppressed by default, like this: Example.com. To get the normal style of external link with the arrow icon, use |plainlinks=no.

text

The message body text.

The small parameters

small

yes = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the smallimage, smallimageright and smalltext parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code:
small = {{{small|}}}

smallimage

No parameter = If no smallimage parameter is given then this template falls back to use the image parameter. If the image parameter also is empty then a small default image is used.
An image = Should be an image with usual wiki notation. 30px width is usually about right. For example:
smallimage = [[File:Replacement filing cabinet.svg|30px]]
none = Means that no image is used. This overrides any image fed to image, when "small=yes".

smallimageright

No parameter = If no smallimageright parameter is given then this template falls back to use the imageright parameter. If the imageright parameter also is empty then no image is shown on the right side.
An image = Should be an image with usual wiki notation. 30px width is usually about right. For example:
smallimageright = [[File:Nuvola apps bookcase.png|30px]]
Anything = Any other object that you want to show on the right side.
none = Means that no right side image is used. This overrides any image fed to imageright, when "small=yes".

smalltext

A shorter version of the message body text. If no smalltext parameter is given then this template falls back to use the text parameter.

Technical details

If you need to use special characters in the text parameter then you need to escape them like this:

{{ombox
| text  = <div>
Equal sign = and a start and end brace { } work fine as they are. 
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. 
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}

This template uses the ombox CSS classes in MediaWiki:Common.css for most of its looks, thus it is fully skinnable.

The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.

For more technical details see the talk page. Since this template works almost exactly like {{ambox}}, {{tmbox}}, {{imbox}} and {{cmbox}} their talk pages and related pages might also contain more details.

See also

There are seven metatemplates in the Module:Message box family:
  • {{Ambox}}, for messageboxes on article pages.
  • {{Cmbox}}, for messageboxes on category pages.
  • {{Imbox}}, for messageboxes on file (image) pages.
  • {{Tmbox}}, for messageboxes on talk pages.
  • {{Fmbox}}, for header and footer messageboxes.
  • {{Ombox}}, for messageboxes on other types of page.
  • {{Mbox}}, for messageboxes that are used in different namespaces and change their presentation accordingly.

Closely related metatemplates:

  • {{Asbox}}, for messageboxes in article stubs.
  • {{Dmbox}}, for messageboxes on disambiguation or set-index pages.
  • {{Ivmbox}}, a simple full-width box with default ivory background intended to frame important messages or notices.

Templates intended to be used in conjunction with Mboxes: