Template:Message box/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
m cat
Sylphoid (talk | contribs)
add info
 
(One intermediate revision by the same user 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 37: Line 38:
  | notice = This is a notice.
  | notice = This is a notice.
}}
}}
<includeonly>[[Category:Message box templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<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.