Editing Template:Message box/doc

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
== Usage ==
== Usage ==
This template is used to create message boxes for articles. It should be used as a meta template to build other message box templates, but it can be used standalone. For a list of related templates, see [[:Category:Message box templates]].
This template is used to create message boxes for articles.


== Example ==
<pre style="width:50%">
<pre style="width:50%">
{{Message box
{{Message box
| image   = Bebop MM.png
| bgcolor = #f8f7f5
| notice = Primary notice text.
| bdcolor = #e1d2b3
| notice2 = Secondary notice text.
| image = Bebop MM.png
| notes   = Additional notes.
| notice = This is a notice.
| notice2 = Optional text.
| notes = Optional notes.
}}
}}
</pre>
</pre>


{{Message box
{{Message box
| image   = Bebop MM.png
| bgcolor = #f8f7f5
| notice = Primary notice text.
| bdcolor = #e1d2b3
| notice2 = Secondary notice text.
| image = Bebop MM.png
| notes   = Additional notes.
| notice = This is a notice.
| notice2 = Optional text.
| notes = Optional notes.
}}
}}
<templatedata>
{
"params": {
"border": {
"type": "string",
"default": "#e1d2b3",
"description": "Hex color for the left border.",
"suggestedvalues": [
"none"
]
},
"image": {
"type": "wiki-file-name",
"description": "Image to be displayed."
},
"quote": {
"type": "content",
"description": "Character quote."
},
"notice": {
"type": "content",
"description": "Primary notice text.",
"required": true
},
"notice2": {
"type": "content",
"description": "Secondary notice text."
},
"notes": {
"type": "content",
"description": "Additional notes."
},
        "image-size": {
"type": "string",
"default": "50px",
"description": "Size for the image."
}
},
"format": "block",
"description": " "
}
</templatedata><includeonly>[[Category:Message box templates| ]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template

Pages included on this page: