Template:Message box/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Usage == This template is used to create message boxes for articles. <pre style="width:50%"> {{Message box | bgcolor = #f8f7f5 | bdcolor = #e1d2b3 | image = Bebop MM.png | notice = This is a notice. | notice2 = Optional text. | notes = Optional notes. }} </pre> {{Message box | bgcolor = #f8f7f5 | bdcolor = #e1d2b3 | image = Bebop MM.png | notice = This is a notice. | notice2 = Optional text. | notes = Optional notes. }}" |
add info |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template is used to create message boxes for articles. | 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 other message boxes, see [[:Category:Message box templates]]. | ||
== Examples == | |||
<pre style="width:50%"> | <pre style="width:50%"> | ||
{{Message box | {{Message box | ||
Line 7: | Line 8: | ||
| bdcolor = #e1d2b3 | | bdcolor = #e1d2b3 | ||
| image = Bebop MM.png | | image = Bebop MM.png | ||
| quote = Optional quote. | |||
| notice = This is a notice. | | notice = This is a notice. | ||
| notice2 = Optional text. | | notice2 = Optional text. | ||
Line 17: | Line 19: | ||
| bdcolor = #e1d2b3 | | bdcolor = #e1d2b3 | ||
| image = Bebop MM.png | | image = Bebop MM.png | ||
| quote = Optional quote. | |||
| notice = This is a notice. | | notice = This is a notice. | ||
| notice2 = Optional text. | | notice2 = Optional text. | ||
| notes = Optional notes. | | notes = Optional notes. | ||
}} | }} | ||
<pre style="width:50%"> | |||
{{Message box | |||
| bgcolor = #f8f7f5 | |||
| bdcolor = #e1d2b3 | |||
| notice = This is a notice. | |||
}} | |||
</pre> | |||
{{Message box | |||
| bgcolor = #f8f7f5 | |||
| bdcolor = #e1d2b3 | |||
| notice = This is a notice. | |||
}} | |||
<includeonly>[[Category:Message box templates| ]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 23:29, 7 November 2024
Usage[edit source]
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 other message boxes, see Category:Message box templates.
Examples[edit source]
{{Message box | bgcolor = #f8f7f5 | bdcolor = #e1d2b3 | image = Bebop MM.png | quote = Optional quote. | notice = This is a notice. | notice2 = Optional text. | notes = Optional notes. }}
“Optional quote.”
This is a notice.
Optional text.
Notes: Optional notes.
{{Message box | bgcolor = #f8f7f5 | bdcolor = #e1d2b3 | notice = This is a notice. }}
This is a notice.