<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://knowislam.wiki/topic/?action=history&amp;feed=atom&amp;title=Template%3AOmbox%2Fcore%2Fdoc</id>
	<title>Template:Ombox/core/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://knowislam.wiki/topic/?action=history&amp;feed=atom&amp;title=Template%3AOmbox%2Fcore%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://knowislam.wiki/topic/?title=Template:Ombox/core/doc&amp;action=history"/>
	<updated>2026-05-08T15:47:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://knowislam.wiki/topic/?title=Template:Ombox/core/doc&amp;diff=568&amp;oldid=prev</id>
		<title>Menj: Created page with &quot;&lt;!-- This is the documentation subpage for Template:Ombox/core --&gt; &lt;!-- Add categories and interlanguage links to the /doc subpage, not the main template page --&gt;  == Usage == The `{{Ombox/core}}` template is used as a core component for creating message boxes (omboxes) with a variety of options for customization. It is typically used within other templates, such as `{{Ombox}}`, to provide the underlying structure and functionality.  == Parameters == * `type`: The type o...&quot;</title>
		<link rel="alternate" type="text/html" href="https://knowislam.wiki/topic/?title=Template:Ombox/core/doc&amp;diff=568&amp;oldid=prev"/>
		<updated>2024-07-21T05:54:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;!-- This is the documentation subpage for Template:Ombox/core --&amp;gt; &amp;lt;!-- Add categories and interlanguage links to the /doc subpage, not the main template page --&amp;gt;  == Usage == The `{{Ombox/core}}` template is used as a core component for creating message boxes (omboxes) with a variety of options for customization. It is typically used within other templates, such as `{{Ombox}}`, to provide the underlying structure and functionality.  == Parameters == * `type`: The type o...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- This is the documentation subpage for Template:Ombox/core --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories and interlanguage links to the /doc subpage, not the main template page --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The `{{Ombox/core}}` template is used as a core component for creating message boxes (omboxes) with a variety of options for customization. It is typically used within other templates, such as `{{Ombox}}`, to provide the underlying structure and functionality.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* `type`: The type of message box (e.g., notice, warning, error, etc.). This parameter is required.&lt;br /&gt;
* `image`: The image to be displayed on the left side of the message box. Optional.&lt;br /&gt;
* `imageright`: An optional image to be displayed on the right side of the message box. Optional.&lt;br /&gt;
* `class`: Additional CSS classes for styling. Optional.&lt;br /&gt;
* `style`: Custom inline styles for the message box. Optional.&lt;br /&gt;
* `textstyle`: Custom inline styles for the text within the message box. Optional.&lt;br /&gt;
* `text`: The main text content of the message box. This parameter is required.&lt;br /&gt;
* `small`: If set to `yes`, a smaller version of the message box is created. Optional.&lt;br /&gt;
* `smallimage`: An image specifically for the small version of the message box. Optional.&lt;br /&gt;
* `smallimageright`: An image on the right side for the small version of the message box. Optional.&lt;br /&gt;
* `smalltext`: The text content for the small version of the message box. If not provided, the `text` parameter is used. Optional.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Basic Usage ===&lt;br /&gt;
This example shows a basic usage of the `{{Ombox/core}}` template:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| type = notice&lt;br /&gt;
| text = This is a notice message.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| type = notice&lt;br /&gt;
| text = This is a notice message.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Using Images ===&lt;br /&gt;
You can add an image to the message box:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| type  = warning&lt;br /&gt;
| image = [[File:Example.png|40px]]&lt;br /&gt;
| text  = This is a warning with an image.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| type  = warning&lt;br /&gt;
| image = [[File:Example.png|40px]]&lt;br /&gt;
| text  = This is a warning with an image.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Smaller Version ===&lt;br /&gt;
This example shows how to use the smaller version of the message box:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| small = yes&lt;br /&gt;
| type  = error&lt;br /&gt;
| text  = This is a small error message.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| small = yes&lt;br /&gt;
| type  = error&lt;br /&gt;
| text  = This is a small error message.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Custom Styles ===&lt;br /&gt;
You can customize the styles of the message box:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| type      = success&lt;br /&gt;
| style     = background-color: #DFF2BF;&lt;br /&gt;
| textstyle = color: green;&lt;br /&gt;
| text      = This is a success message with custom styles.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Ombox/core&lt;br /&gt;
| type      = success&lt;br /&gt;
| style     = background-color: #DFF2BF;&lt;br /&gt;
| textstyle = color: green;&lt;br /&gt;
| text      = This is a success message with custom styles.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* `{{Ombox}}` – The main template for creating message boxes.&lt;br /&gt;
* `{{Ambox}}` – For article message boxes.&lt;br /&gt;
* `{{Tmbox}}` – For talk page message boxes.&lt;br /&gt;
* `{{Imbox}}` – For image message boxes.&lt;br /&gt;
* `{{Fmbox}}` – For file message boxes.&lt;br /&gt;
&lt;br /&gt;
== Template Data ==&lt;br /&gt;
This template uses TemplateData for use with the VisualEditor and other tools.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;A core template to create message boxes with customizable content and styles.&amp;quot;,&lt;br /&gt;
    &amp;quot;params&amp;quot;: {&lt;br /&gt;
        &amp;quot;type&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;The type of message box (e.g., notice, warning, error).&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: true&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;text&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;The main text content of the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: true&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;image&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;The image to be displayed on the left side of the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;imageright&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;An image to be displayed on the right side of the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;class&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;Additional CSS classes for styling.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;style&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;Custom inline styles for the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;textstyle&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;Custom inline styles for the text within the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;small&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;If set to &amp;#039;yes&amp;#039;, a smaller version of the message box is created.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;smallimage&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;An image specifically for the small version of the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;smallimageright&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;An image on the right side for the small version of the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;smalltext&amp;quot;: {&lt;br /&gt;
            &amp;quot;description&amp;quot;: &amp;quot;The text content for the small version of the message box.&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: false&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Message box templates]]&lt;br /&gt;
[[Category:Template documentation]]&lt;/div&gt;</summary>
		<author><name>Menj</name></author>
	</entry>
</feed>