Template:Message box/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
add info |
||
(3 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. | ||
Line 35: | Line 38: | ||
| notice = This is a notice. | | 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.