Template:Cmbox

From Shaun Keaveny's Community Garden Radio
Jump to navigation Jump to search

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: Shaun Keaveny's Community Garden Radio|Templates Wiki||

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.

}}

Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

{{#if: ||

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
{{#if:
  | Edit this template for the documentation| {{#ifexist: Template:Mbox/wikitext/doc
    | View, edit, or check the history of this documentation.
    |Create documentation for this template.
    }}
   }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.

{{#if:

 | {{{content}}}



 | {{#ifexist: Template:Mbox/wikitext/doc
   | {{#if: Template:Mbox/wikitext/doc
     |

This template is designed to be used in other message templates. It is derived from Mbox on Wikipedia.

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Mbox/wikitext |{{#if: |:}}Mbox/wikitext]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} is the basis for {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Ambox |{{#if: |:}}Ambox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}, {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Cmbox |{{#if: |:}}Cmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}, {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Imbox |{{#if: |:}}Imbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}, {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Xmbox |{{#if: |:}}Xmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}, {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Tmbox |{{#if: |:}}Tmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}, {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Fmbox |{{#if: |:}}Fmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}, and {{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Ombox |{{#if: |:}}Ombox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}. The styles for this template can be found at MediaWiki:Mbox.css.

Usage

{{Mbox/wikitext
| 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.

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

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

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Ambox |{{#if: |:}}Ambox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} templates are article message boxes.

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

Cmbox

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Cmbox |{{#if: |:}}Cmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} templates are category message boxes.

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

Imbox

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Imbox |{{#if: |:}}Imbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} templates are image message boxes.

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

Xmbox

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Xmbox |{{#if: |:}}Xmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} are template message boxes. (Tmbox was taken for all talk pages.)

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

Tmbox

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Tmbox |{{#if: |:}}Tmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} templates are talk page message boxes.

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

Ombox

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Ombox |{{#if: |:}}Ombox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} templates are other pages message boxes.

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

Fmbox

{{#if: |Template parameter limit reached! (help)| {{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:Fmbox |{{#if: |:}}Fmbox]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} templates are footer or header message boxes.

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}} {{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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.svg|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
}}
{{#ifeq: yes | yes || {{#if: Candidates for speedy deletion |}}}}
{{Mbox/wikitext
| type = delete
| image = [[File:Ambox warning pn.svg|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
}}
{{#ifeq: yes | yes || {{#if: Candidates for deletion |}}}}

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

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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

{{#ifeq: | yes || {{#if: | [[Category:|Cmbox]]}}}}

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:Wikipedia

This {{#switch: Template | section = section | Template = template | Module = module | MediaWiki = interface page | = article | #default = page }} uses Creative Commons licensed content from Wikipedia (view authors).

     |Template:Cmbox/doc}}



   | Documentation does not exist. Create it at [{{fullurl:
             {{#if:Template:Mbox/wikitext/doc|Template:Mbox/wikitext/doc|Template:Cmbox/doc}}
             |action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3ACmbox%5D%5D {{#if:Template:Mbox/wikitext/doc|Template:Mbox/wikitext/doc|Template:Cmbox/doc}}].
 }}

}} }}


}}

Installation Instructions
 {{#ifeq:{{{SPW}}}|is not relevant
   |
   | :Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Cmbox]] to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch:
   | starter = This template is created by default after March 11, 2020. It should be in your wiki.

| is not relevant

| is not relevant to =
File:Warning.svg
This template should not be copied, because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:|For a similar template intended to be copied, see [[Template:{{{SPW-link}}}]].}}{{#ifeq: Shaun Keaveny's Community Garden Radio
       | Templates Wiki
       |
     }}
  }}

{{#if:

   |[[fr:{{{fr}}}]]
   |
  }}{{#if:
   |[[ja:{{{ja}}}]]
   |
  }}{{#if:Şablon:Kikutu
   |tr:Şablon:Kikutu
   |
  }}{{#if:Template:Cmbox
   |zh:Template:Cmbox
   |
   }}

{{#ifeq: {{{SPW}}}|is not relevant | |{{#if:

 | The above message will be enough for most cases; if there are additional instructions, you can see them below.
Template:Cmbox/install | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Cmbox/install.

}} }}