Template:Message box: Difference between revisions
Appearance
m added quote |
m quotation marks |
||
Line 3: | Line 3: | ||
{{#if:{{{image|}}}|[[File:{{{image}}}|50px|link=]]|}} | {{#if:{{{image|}}}|[[File:{{{image}}}|50px|link=]]|}} | ||
<div style="display: block; margin-left: 15px;"> | <div style="display: block; margin-left: 15px;"> | ||
{{#if:{{{quote|}}}|<div style="font-size: 90%; font-weight: bold; font-style: italic;">{{{quote}}}</div>}}<!-- | {{#if:{{{quote|}}}|<div style="font-size: 90%; font-weight: bold; font-style: italic;">“{{{quote}}}”</div>}}<!-- | ||
-->{{#if:{{{notice|}}}|<div style="font-size: 95%;">{{{notice}}}</div>}}<!-- | -->{{#if:{{{notice|}}}|<div style="font-size: 95%;">{{{notice}}}</div>}}<!-- | ||
-->{{#if:{{{notice2|}}}|<div style="font-size: 95%;">{{{notice2}}}</div>}}<!-- | -->{{#if:{{{notice2|}}}|<div style="font-size: 95%;">{{{notice2}}}</div>}}<!-- | ||
-->{{#if:{{{notes|}}}|<div style="font-size: 90%;">'''Notes:''' {{{notes}}}</div>}} | -->{{#if:{{{notes|}}}|<div style="font-size: 90%;">'''Notes:''' {{{notes}}}</div>}} | ||
</div></div></div></includeonly><noinclude>{{Documentation}}</noinclude> | </div></div></div></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 16:25, 15 September 2024
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.
Example
{{Message box | image = Bebop MM.png | notice = Primary notice text. | notice2 = Secondary notice text. | notes = Additional notes. }}
Primary notice text.
Secondary notice text.
Notes: Additional notes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
border | border | Hex color for the left border.
| String | optional |
image | image | Image to be displayed. | File | optional |
quote | quote | Character quote. | Content | optional |
notice | notice | Primary notice text. | Content | required |
notice2 | notice2 | Secondary notice text. | Content | optional |
notes | notes | Additional notes. | Content | optional |