Template:Ambox/doc: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
(Created page with "<noinclude>{{Documentation subpage}}</noinclude> This template is designed to be used in other message templates. It is derived from Mbox on Wikipedia. {{t|Mbox/wikitext}} is the basis for {{t|Ambox}}, {{t|Cmbox}}, {{t|Imbox}}, {{t|Xmbox}}, {{t|Tmbox}}, {{t|Fmbox}}, and {{t|Ombox}}. The styles for this template can be found at MediaWiki:Mbox.css. {{Tocright}} == Usage == <pre style="white-space: pre-wrap;"> {{Mbox/wikitext | namespace = |...")
 
m (Text replacement - "ikipedia" to "i***edia")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
<noinclude>{{Documentation subpage}}</noinclude>
This template is designed to be used in other message templates. It is derived from [[wikipedia:Template:Mbox|Mbox on Wikipedia]].
This template is designed to be used in other message templates. It is derived from [[wi***edia:Template:Mbox|Mbox on Wi***edia]].


{{t|Mbox/wikitext}} is the basis for {{t|Ambox}}, {{t|Cmbox}}, {{t|Imbox}}, {{t|Xmbox}}, {{t|Tmbox}}, {{t|Fmbox}}, and {{t|Ombox}}. The styles for this template can be found at [[MediaWiki:Mbox.css]].
{{t|Mbox/wikitext}} is the basis for {{t|Ambox}}, {{t|Cmbox}}, {{t|Imbox}}, {{t|Xmbox}}, {{t|Tmbox}}, {{t|Fmbox}}, and {{t|Ombox}}. The styles for this template can be found at [[MediaWiki:Mbox.css]].
Line 6: Line 6:
== Usage ==
== Usage ==
<pre style="white-space: pre-wrap;">
<pre style="white-space: pre-wrap;">
{{Mbox/wikitext
{{Mbox
| namespace =
| namespace =
| type  =
| type  =
Line 75: Line 75:
| namespace = main
| namespace = main
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an article speedy deletion message box.<pre>{{Mbox/wikitext
| text = This is an article speedy deletion message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an article speedy deletion message box.
| text = This is an article speedy deletion message box.
}}</pre>
}}</pre>
Line 86: Line 86:
| namespace = main
| namespace = main
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an article deletion message box.<pre>{{Mbox/wikitext
| text = This is an article deletion message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an article deletion message box.
| text = This is an article deletion message box.
}}</pre>
}}</pre>
Line 97: Line 97:
| namespace = main
| namespace = main
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is an article content message box.<pre>{{Mbox/wikitext
| text = This is an article content message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is an article content message box.
| text = This is an article content message box.
}}</pre>
}}</pre>
Line 108: Line 108:
| namespace = main
| namespace = main
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is an article style message box.<pre>{{Mbox/wikitext
| text = This is an article style message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is an article style message box.
| text = This is an article style message box.
}}</pre>
}}</pre>
Line 119: Line 119:
| namespace = main
| namespace = main
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is an article general message box.<pre>{{Mbox/wikitext
| text = This is an article general message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is an article general message box.
| text = This is an article general message box.
}}</pre>
}}</pre>
Line 130: Line 130:
| namespace = main
| namespace = main
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is an article move message box.<pre>{{Mbox/wikitext
| text = This is an article move message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is an article move message box.
| text = This is an article move message box.
}}</pre>
}}</pre>
Line 141: Line 141:
| namespace = main
| namespace = main
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is an article protection message box.<pre>{{Mbox/wikitext
| text = This is an article protection message box.<pre>{{Mbox/wikitext
| namespace = main
| namespace = main
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is an article protection message box.
| text = This is an article protection message box.
}}</pre>
}}</pre>
Line 156: Line 156:
| namespace = category
| namespace = category
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a category speedy deletion message box.<pre>{{Mbox/wikitext
| text = This is a category speedy deletion message box.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a category speedy deletion message box.
| text = This is a category speedy deletion message box.
}}</pre>
}}</pre>
Line 167: Line 167:
| namespace = category
| namespace = category
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a category deletion message box.<pre>{{Mbox/wikitext
| text = This is a category deletion message box.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a category deletion message box.
| text = This is a category deletion message box.
}}</pre>
}}</pre>
Line 178: Line 178:
| namespace = category
| namespace = category
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a category content message box.<pre>{{Mbox/wikitext
| text = This is a category content message box.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a category content message box.
| text = This is a category content message box.
}}</pre>
}}</pre>
Line 189: Line 189:
| namespace = category
| namespace = category
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is a category style noticebox.<pre>{{Mbox/wikitext
| text = This is a category style noticebox.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is a category style noticebox.
| text = This is a category style noticebox.
}}</pre>
}}</pre>
Line 200: Line 200:
| namespace = category
| namespace = category
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a category general message box.<pre>{{Mbox/wikitext
| text = This is a category general message box.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a category general message box.
| text = This is a category general message box.
}}</pre>
}}</pre>
Line 211: Line 211:
| namespace = category
| namespace = category
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a category move message box.<pre>{{Mbox/wikitext
| text = This is a category move message box.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a category move message box.
| text = This is a category move message box.
}}</pre>
}}</pre>
Line 222: Line 222:
| namespace = category
| namespace = category
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a category protection message box.<pre>{{Mbox/wikitext
| text = This is a category protection message box.<pre>{{Mbox/wikitext
| namespace = category
| namespace = category
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a category protection message box.
| text = This is a category protection message box.
}}</pre>
}}</pre>
Line 237: Line 237:
| namespace = file
| namespace = file
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an image speedy deletion message box.<pre>{{Mbox/wikitext
| text = This is an image speedy deletion message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an image speedy deletion message box.
| text = This is an image speedy deletion message box.
}}</pre>
}}</pre>
Line 248: Line 248:
| namespace = file
| namespace = file
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an image deletion message box.<pre>{{Mbox/wikitext
| text = This is an image deletion message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an image deletion message box.
| text = This is an image deletion message box.
}}</pre>
}}</pre>
Line 259: Line 259:
| namespace = file
| namespace = file
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is an image content message box.<pre>{{Mbox/wikitext
| text = This is an image content message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is an image content message box.
| text = This is an image content message box.
}}</pre>
}}</pre>
Line 270: Line 270:
| namespace = file
| namespace = file
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is an image style message box.<pre>{{Mbox/wikitext
| text = This is an image style message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is an image style message box.
| text = This is an image style message box.
}}</pre>
}}</pre>
Line 281: Line 281:
| namespace = file
| namespace = file
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is an image general message box.<pre>{{Mbox/wikitext
| text = This is an image general message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is an image general message box.
| text = This is an image general message box.
}}</pre>
}}</pre>
Line 292: Line 292:
| namespace = file
| namespace = file
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is an image move message box.<pre>{{Mbox/wikitext
| text = This is an image move message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is an image move message box.
| text = This is an image move message box.
}}</pre>
}}</pre>
Line 303: Line 303:
| namespace = file
| namespace = file
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is an image protection message box.<pre>{{Mbox/wikitext
| text = This is an image protection message box.<pre>{{Mbox/wikitext
| namespace = file
| namespace = file
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is an image protection message box.
| text = This is an image protection message box.
}}</pre>
}}</pre>
Line 318: Line 318:
| namespace = template
| namespace = template
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a template speedy deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template speedy deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a template speedy deletion message box.
| text = This is a template speedy deletion message box.
}}</pre>
}}</pre>
Line 329: Line 329:
| namespace = template
| namespace = template
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a template deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a template deletion message box.
| text = This is a template deletion message box.
}}</pre>
}}</pre>
Line 340: Line 340:
| namespace = template
| namespace = template
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a template content message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template content message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a template content message box.
| text = This is a template content message box.
}}</pre>
}}</pre>
Line 351: Line 351:
| namespace = template
| namespace = template
| type = style
| type = style
| image = [[File:Ambox_warning_yellow.svg|50px]]
| image = [[File:Ambox_warning_yellow.png|50px]]
| text = This is a template style message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template style message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is a template style message box.
| text = This is a template style message box.
}}</pre>
}}</pre>
Line 362: Line 362:
| namespace = template
| namespace = template
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a template general message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template general message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a template general message box.
| text = This is a template general message box.
}}</pre>
}}</pre>
Line 373: Line 373:
| namespace = template
| namespace = template
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a template move message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template move message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = move
| type = move
| image = [[File:Merge-split-transwiki_default.svg|50px]]
| image = [[File:Merge-split-transwiki_default.png|50px]]
| text = This is a template move message box.
| text = This is a template move message box.
}}</pre>
}}</pre>
Line 384: Line 384:
| namespace = template
| namespace = template
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a template protection message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is a template protection message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = template
| namespace = template
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a template protection message box.
| text = This is a template protection message box.
}}</pre>
}}</pre>
Line 399: Line 399:
| namespace = talk
| namespace = talk
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a talk page speedy deletion message box.<pre>{{Mbox/wikitext
| text = This is a talk page speedy deletion message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a talk page speedy deletion message box.
| text = This is a talk page speedy deletion message box.
}}</pre>
}}</pre>
Line 410: Line 410:
| namespace = talk
| namespace = talk
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a talk page deletion message box.<pre>{{Mbox/wikitext
| text = This is a talk page deletion message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a talk page deletion message box.
| text = This is a talk page deletion message box.
}}</pre>
}}</pre>
Line 421: Line 421:
| namespace = talk
| namespace = talk
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a talk page content message box.<pre>{{Mbox/wikitext
| text = This is a talk page content message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a talk page content message box.
| text = This is a talk page content message box.
}}</pre>
}}</pre>
Line 432: Line 432:
| namespace = talk
| namespace = talk
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is a talk page style message box.<pre>{{Mbox/wikitext
| text = This is a talk page style message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is a talk page style message box.
| text = This is a talk page style message box.
}}</pre>
}}</pre>
Line 443: Line 443:
| namespace = talk
| namespace = talk
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a talk page general message box.<pre>{{Mbox/wikitext
| text = This is a talk page general message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a talk page general message box.
| text = This is a talk page general message box.
}}</pre>
}}</pre>
Line 454: Line 454:
| namespace = talk
| namespace = talk
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a talk page move message box.<pre>{{Mbox/wikitext
| text = This is a talk page move message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a talk page move message box.
| text = This is a talk page move message box.
}}</pre>
}}</pre>
Line 465: Line 465:
| namespace = talk
| namespace = talk
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a talk page protection message box.<pre>{{Mbox/wikitext
| text = This is a talk page protection message box.<pre>{{Mbox/wikitext
| namespace = talk
| namespace = talk
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a talk page protection message box.
| text = This is a talk page protection message box.
}}</pre>
}}</pre>
Line 480: Line 480:
| namespace = other
| namespace = other
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an other namespace page speedy deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page speedy deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an other namespace page speedy deletion message box.
| text = This is an other namespace page speedy deletion message box.
}}</pre>
}}</pre>
Line 491: Line 491:
| namespace = other
| namespace = other
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an other namespace page deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page deletion message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is an other namespace page deletion message box.
| text = This is an other namespace page deletion message box.
}}</pre>
}}</pre>
Line 502: Line 502:
| namespace = other
| namespace = other
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is an other namespace page content message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page content message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is an other namespace page content message box.
| text = This is an other namespace page content message box.
}}</pre>
}}</pre>
Line 513: Line 513:
| namespace = other
| namespace = other
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is an other namespace page style message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page style message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is an other namespace page style message box.
| text = This is an other namespace page style message box.
}}</pre>
}}</pre>
Line 524: Line 524:
| namespace = other
| namespace = other
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is an other namespace page general message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page general message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is an other namespace page general message box.
| text = This is an other namespace page general message box.
}}</pre>
}}</pre>
Line 535: Line 535:
| namespace = other
| namespace = other
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is an other namespace page move message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page move message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is an other namespace page move message box.
| text = This is an other namespace page move message box.
}}</pre>
}}</pre>
Line 546: Line 546:
| namespace = other
| namespace = other
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is an other namespace page protection message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| text = This is an other namespace page protection message box.<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| namespace = other
| namespace = other
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is an other namespace page protection message box.
| text = This is an other namespace page protection message box.
}}</pre>
}}</pre>
Line 561: Line 561:
| namespace = footer
| namespace = footer
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a footer or header speedy deletion message box.<pre>{{Mbox/wikitext
| text = This is a footer or header speedy deletion message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a footer or header speedy deletion message box.
| text = This is a footer or header speedy deletion message box.
}}</pre>
}}</pre>
Line 572: Line 572:
| namespace = footer
| namespace = footer
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a footer or header deletion message box.<pre>{{Mbox/wikitext
| text = This is a footer or header deletion message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = This is a footer or header deletion message box.
| text = This is a footer or header deletion message box.
}}</pre>
}}</pre>
Line 583: Line 583:
| namespace = footer
| namespace = footer
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a footer or header content message box.<pre>{{Mbox/wikitext
| text = This is a footer or header content message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = content
| type = content
| image = [[File:Ambox warning orange.svg|50px]]
| image = [[File:Ambox warning orange.png|50px]]
| text = This is a footer or header content message box.
| text = This is a footer or header content message box.
}}</pre>
}}</pre>
Line 594: Line 594:
| namespace = footer
| namespace = footer
| type = style
| type = style
| image = [[File:Ambox warning yellow.svg|50px]]
| image = [[File:Ambox warning yellow.png|50px]]
| text = This is a footer or header style message box.<pre>{{Mbox/wikitext
| text = This is a footer or header style message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = style
| type = style
| image = [[File:Ambox_warning_yellow.svg|50px]]
| image = [[File:Ambox_warning_yellow.png|50px]]
| text = This is a footer or header style message box.
| text = This is a footer or header style message box.
}}</pre>
}}</pre>
Line 605: Line 605:
| namespace = footer
| namespace = footer
| type = notice
| type = notice
| image = [[File:Ambox warning blue.svg|50px]]
| image = [[File:Ambox warning blue.png|50px]]
| text = This is a footer or header general message box.<pre>{{Mbox/wikitext
| text = This is a footer or header general message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = notice
| type = notice
| image = [[File:Ambox_warning_blue.svg|50px]]
| image = [[File:Ambox_warning_blue.png|50px]]
| text = This is a footer or header general message box.
| text = This is a footer or header general message box.
}}</pre>
}}</pre>
Line 616: Line 616:
| namespace = footer
| namespace = footer
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a footer or header move message box.<pre>{{Mbox/wikitext
| text = This is a footer or header move message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = move
| type = move
| image = [[File:Merge-split-transwiki default.svg|50px]]
| image = [[File:Merge-split-transwiki default.png|50px]]
| text = This is a footer or header move message box.
| text = This is a footer or header move message box.
}}</pre>
}}</pre>
Line 627: Line 627:
| namespace = footer
| namespace = footer
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a footer or header protection message box.<pre>{{Mbox/wikitext
| text = This is a footer or header protection message box.<pre>{{Mbox/wikitext
| namespace = footer
| namespace = footer
| type = protection
| type = protection
| image = [[File:Padlock.svg|50px]]
| image = [[File:Padlock.png|50px]]
| text = This is a footer or header protection message box.
| text = This is a footer or header protection message box.
}}</pre>
}}</pre>
Line 641: Line 641:
<pre style="white-space: pre-wrap;">{{Mbox/wikitext
<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = '''This page is a candidate for ''speedy'' deletion.'''
| text = '''This page is a candidate for ''speedy'' deletion.'''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
Line 649: Line 649:
{{Mbox/wikitext
{{Mbox/wikitext
| type = speedy
| type = speedy
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = '''This page is a candidate for ''speedy'' deletion.'''
| text = '''This page is a candidate for ''speedy'' deletion.'''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
Line 658: Line 658:
<pre style="white-space: pre-wrap;">{{Mbox/wikitext
<pre style="white-space: pre-wrap;">{{Mbox/wikitext
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = '''This page is a candidate for deletion.'''
| text = '''This page is a candidate for deletion.'''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
Line 666: Line 666:
{{Mbox/wikitext
{{Mbox/wikitext
| type = delete
| type = delete
| image = [[File:Ambox warning pn.svg|50px]]
| image = [[File:Ambox warning pn.png|50px]]
| text = '''This page is a candidate for deletion.'''
| text = '''This page is a candidate for deletion.'''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
Line 803: Line 803:
Template:Mbox/wikitext/styles.css
Template:Mbox/wikitext/styles.css
Category:Message box templates
Category:Message box templates
Template:Wikipedia
Template:Wi***edia
</pre>
</pre>
{{Wikipedia|{{NAMESPACE}}:{{BASEPAGENAME}}}}
{{Wi***edia|{{NAMESPACE}}:{{BASEPAGENAME}}}}
<includeonly>
<includeonly>
[[Category:Message box templates| *]]
[[Category:Message box templates| *]]
</includeonly><noinclude>
</includeonly><noinclude>
</noinclude>
</noinclude>

Latest revision as of 11:59, 5 December 2022

Template:Documentation subpage This template is designed to be used in other message templates. It is derived from Mbox on Wi***edia.

{{Mbox/wikitext}} is the basis for {{Ambox}}, {{Cmbox}}, {{Imbox}}, {{Xmbox}}, {{Tmbox}}, {{Fmbox}}, and {{Ombox}}. The styles for this template can be found at MediaWiki:Mbox.css.

Usage

{{Mbox
| namespace =
| type  =
| small =
| id    =
| class =
| style =
| textstyle  =
| plainlinks =
| text  =
| issue =
| fix   =
| date  =
| info  =
| image =
| imageright =
| doc =
| cat =
}}

Options

  • namespace - the namespace the box will be used in. If mbox is used where namespace is not specified, the namespace will be determined by where the template is transcluded to.
  • type
    • speedy - speedy delete message box
    • delete - delete message box
    • content - content message box
    • style - style message box
    • notice - general message box
    • protection - protection message box
  • small - a small right floated message box, except Ambox that floats left.
  • id - the id of the box
  • class - any additional classes for the box
  • style - any additional styles for the box
  • plainlinks - if you want all external links to be plain links
  • textstyle - any additional styles for the text
  • text - text of the message box or use the following together
    • issue - the issue of the message box
    • fix - how to fix the message issue
  • date - the date the message box was placed
  • info - additional information for the message box
  • image - image in the left side of the message box
  • imageright - image in the right side of the message box
  • doc - answer yes to this when you are using your Mbox template on a documentation page
  • cat - this is the category your Mbox will put the pages in where it is used

Installation

To install these templates to your wiki, copy the file list at the end of this documentation to the export page and save it as an XML file. Then go to your wiki's import page and enter the name of the generated XML file.

Style installation

These instructions are for the administrators of your wiki. If you are not an admin, please talk to them to complete the installation of this template and its children to your wiki.

Copy the styles from the style page to MediaWiki:Mbox.css. After you have the styles copied and saved, go to Common.css and add the following line to the top of the style sheet.

@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Mbox.css");

Boxes

Not all options shown.

This wiki has InstantCommons. If you want these images, your wiki's admin will have to request InstantCommons or you will have to upload the images manually.

Ambox

{{Ambox}} templates are article message boxes.

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

Cmbox

{{Cmbox}} templates are category message boxes.

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

Imbox

{{Imbox}} templates are image message boxes.

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

Xmbox

{{Xmbox}} are template message boxes. (Tmbox was taken for all talk pages.)

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

Tmbox

{{Tmbox}} templates are talk page message boxes.

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

Ombox

{{Ombox}} templates are other pages message boxes.

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

Fmbox

{{Fmbox}} templates are footer or header message boxes.

Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext Template:Mbox/wikitext

General deletion boxes

While this section is going show general deletion templates, the principles can be applied to any other namespace neural type of box. Note, namespace is not specified, so the template will take on the style of its name space, meaning it will look like an Xmbox, but they will change their styles when the deletion template is transcluded to a page.

{{Mbox/wikitext
| type = speedy
| image = [[File:Ambox warning pn.png|50px]]
| text = '''This page is a candidate for ''speedy'' deletion.'''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
| doc = yes
| cat = Candidates for speedy deletion
}}

Template:Mbox/wikitext

{{Mbox/wikitext
| type = delete
| image = [[File:Ambox warning pn.png|50px]]
| text = '''This page is a candidate for deletion.'''
| info = ''Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deletion.''
| doc = yes
| cat = Candidates for deletion
}}

Template:Mbox/wikitext

Small boxes

These are small boxen that can be used to include unobtrusive messages to pages. Their borders are all narrow so text can flow around these boxen with little affect on the text. If you do not want text beside the box, you should use the <div style="clear:both"></div> directly after the box.

Small Ambox

Template:Mbox/wikitext This is a message box that can be used in a section of an article to highlight issues with the section. It is suggested to use a normal box for problems within the whole article.

Here is the code for the above box.

{{Mbox/wikitext
| namespace = main
| small = yes
| type  = notice
| text  = This is a small article general message box.
}}

Small Cmbox

Template:Mbox/wikitext This is a message box that can be used to highlight minor issues with the category. It is suggested to use a normal box for bigger problems with category.

Here is the code for the above box.

{{Mbox/wikitext
| namespace = category
| small = yes
| type  = notice
| text  = This is a small category general message box.
}}

Small Imbox

Template:Mbox/wikitext This is a message box that can be used to highlight minor issues with the image or documentation of it. It is suggested to use a normal box for bigger problems with the image.

Here is the code for the above box.

{{Mbox/wikitext
| namespace = file
| small = yes
| type  = notice
| text  = This is a small image general message box.
}}

Small Xmbox

Template:Mbox/wikitext This is a message box that can be used to highlight minor issues with a template or documentation of it. It is suggested to use a normal box for bigger problems with the template or documentation.

Here is the code for the above box.

{{Mbox/wikitext
| namespace = template
| small = yes
| type  = notice
| text  = This is a small template general message box.
}}

Small Tmbox

Template:Mbox/wikitext This is a message box that can be used to highlight minor issues with a talk page. It is suggested to use a normal box for bigger problems with the talk page.

Here is the code for the above box.

{{Mbox/wikitext
| namespace = talk
| small = yes
| type  = notice
| text  = This is a small talk page general message box.
}}

Small Ombox

Template:Mbox/wikitext This is a message box that can be used to highlight minor issues with a section of a page. It is suggested to use a normal box for bigger problems with the entire page.

Here is the code for the above box.

{{Mbox/wikitext
| namespace = other
| small = yes
| type  = notice
| text  = This is a small other pages page general message box.
}}

File list

Template:Mbox/wikitext
Template:Ambox
Template:Cmbox
Template:Imbox
Template:Tmbox
Template:Xmbox
Template:Ombox
Template:Fmbox
Template:Mbox/wikitext/doc
Template:Mbox/wikitext/styles.css
Category:Message box templates
Template:Wi***edia

Template:Wi***edia