<?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%3AMbox%2Fdoc</id>
	<title>Template:Mbox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://knowislam.wiki/topic/?action=history&amp;feed=atom&amp;title=Template%3AMbox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://knowislam.wiki/topic/?title=Template:Mbox/doc&amp;action=history"/>
	<updated>2026-05-08T15:47:34Z</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:Mbox/doc&amp;diff=564&amp;oldid=prev</id>
		<title>Menj: Created page with &quot;== Template Documentation for &lt;nowiki&gt;{{Mbox}}&lt;/nowiki&gt; ==  === Purpose === The &lt;code&gt;&lt;nowiki&gt;{{Mbox}}&lt;/nowiki&gt;&lt;/code&gt; template is a versatile template used to display message boxes that adapt based on the namespace. It helps standardize the appearance of notices, warnings, and other informational messages across different namespaces.  === Usage ===  ==== Basic Syntax ==== &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt; {{Mbox | type       = &lt;!-- Type of message (e.g., notice, warning...&quot;</title>
		<link rel="alternate" type="text/html" href="https://knowislam.wiki/topic/?title=Template:Mbox/doc&amp;diff=564&amp;oldid=prev"/>
		<updated>2024-07-21T05:51:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Template Documentation for &amp;lt;nowiki&amp;gt;{{Mbox}}&amp;lt;/nowiki&amp;gt; ==  === Purpose === The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Mbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; template is a versatile template used to display message boxes that adapt based on the namespace. It helps standardize the appearance of notices, warnings, and other informational messages across different namespaces.  === Usage ===  ==== Basic Syntax ==== &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt; {{Mbox | type       = &amp;lt;!-- Type of message (e.g., notice, warning...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Template Documentation for &amp;lt;nowiki&amp;gt;{{Mbox}}&amp;lt;/nowiki&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Mbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; template is a versatile template used to display message boxes that adapt based on the namespace. It helps standardize the appearance of notices, warnings, and other informational messages across different namespaces.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
==== Basic Syntax ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Mbox&lt;br /&gt;
| type       = &amp;lt;!-- Type of message (e.g., notice, warning, error) --&amp;gt;&lt;br /&gt;
| image      = &amp;lt;!-- Image filename (optional) --&amp;gt;&lt;br /&gt;
| imageright = &amp;lt;!-- Right-aligned image filename (optional) --&amp;gt;&lt;br /&gt;
| class      = &amp;lt;!-- Additional CSS classes (optional) --&amp;gt;&lt;br /&gt;
| style      = &amp;lt;!-- Custom inline CSS styles (optional) --&amp;gt;&lt;br /&gt;
| textstyle  = &amp;lt;!-- Custom inline CSS styles for text (optional) --&amp;gt;&lt;br /&gt;
| text       = &amp;lt;!-- Main message content --&amp;gt;&lt;br /&gt;
| small      = &amp;lt;!-- Display a smaller version (yes/no) --&amp;gt;&lt;br /&gt;
| smallimage = &amp;lt;!-- Small version image filename (optional) --&amp;gt;&lt;br /&gt;
| smallimageright = &amp;lt;!-- Right-aligned small version image filename (optional) --&amp;gt;&lt;br /&gt;
| smalltext  = &amp;lt;!-- Small version message content (optional) --&amp;gt;&lt;br /&gt;
| subst      = &amp;lt;!-- Substitution support (optional) --&amp;gt;&lt;br /&gt;
| date       = &amp;lt;!-- Date (optional) --&amp;gt;&lt;br /&gt;
| name       = &amp;lt;!-- Name (optional) --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt;: Specifies the type of message box. Common types include &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;warning&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;error&amp;lt;/code&amp;gt;, etc.&lt;br /&gt;
* &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt;: The filename of the image to be displayed on the left side of the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;imageright&amp;lt;/code&amp;gt;: The filename of the image to be displayed on the right side of the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt;: Additional CSS classes to apply to the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;style&amp;lt;/code&amp;gt;: Custom inline CSS styles for the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;textstyle&amp;lt;/code&amp;gt;: Custom inline CSS styles for the text within the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt;: The main content or message to be displayed in the message box. Required.&lt;br /&gt;
* &amp;lt;code&amp;gt;small&amp;lt;/code&amp;gt;: Specifies if a smaller version of the message box should be displayed. Accepts &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;smallimage&amp;lt;/code&amp;gt;: The filename of the image to be used in the small version of the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;smallimageright&amp;lt;/code&amp;gt;: The filename of the right-aligned image for the small version. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;smalltext&amp;lt;/code&amp;gt;: The message content for the small version. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;subst&amp;lt;/code&amp;gt;: Indicates if the template should be substituted. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt;: The date to be displayed in the message box. Optional.&lt;br /&gt;
* &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;: A name for the message box, potentially for tracking or identification. Optional.&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
===== Basic Notice =====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Mbox&lt;br /&gt;
| type = notice&lt;br /&gt;
| text = This is a notice message.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Warning with Image =====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Mbox&lt;br /&gt;
| type  = warning&lt;br /&gt;
| image = Warning_icon.png&lt;br /&gt;
| text  = This is a warning message.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Custom Styled Message =====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Mbox&lt;br /&gt;
| type      = notice&lt;br /&gt;
| class     = custom-class&lt;br /&gt;
| style     = background-color: #eef; border: 1px solid #99f;&lt;br /&gt;
| textstyle = color: #00f;&lt;br /&gt;
| text      = This is a custom-styled notice message.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Ambox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;: Article message boxes&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Tmbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;: Talk page message boxes&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Imbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;: File (image) message boxes&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Cmbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;: Category message boxes&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Ombox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;: Other namespace message boxes&lt;br /&gt;
&lt;br /&gt;
=== Maintenance ===&lt;br /&gt;
Ensure that the template documentation remains up-to-date with any changes made to the main template. Add categories and interwiki links to this documentation page as needed.&lt;/div&gt;</summary>
		<author><name>Menj</name></author>
	</entry>
</feed>