Template:MessageBox: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><table class="messagebox {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}} role="presentation"> <td class="messagebox-image" style="width: {{{imgwidth|50px}}};">{{#if:{{{img|}}}|{{{img}}}|60x60px|center|link=}}</td> <td><span class="messagebox-title"><b>{{#if:1|{{{1}}}|<!--this #if removes trailing/leading whitespace-->}}</b></span>{{#if:{{{2|}}}|<br style="clear: both;" /><div style="font-size:0.85em; line-height:1...." |
No edit summary |
||
Line 3: | Line 3: | ||
<td><span class="messagebox-title"><b>{{#if:1|{{{1}}}|<!--this #if removes trailing/leading whitespace-->}}</b></span>{{#if:{{{2|}}}|<br style="clear: both;" /><div style="font-size:0.85em; line-height:1.4em;" class="messagebox-text">{{{2}}}</div>}}</td>{{#if:{{{imgright|}}}| | <td><span class="messagebox-title"><b>{{#if:1|{{{1}}}|<!--this #if removes trailing/leading whitespace-->}}</b></span>{{#if:{{{2|}}}|<br style="clear: both;" /><div style="font-size:0.85em; line-height:1.4em;" class="messagebox-text">{{{2}}}</div>}}</td>{{#if:{{{imgright|}}}| | ||
<td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}} | <td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}} | ||
</table></includeonly> | </table></includeonly><noinclude>{{/doc}}</noinclude> |
Latest revision as of 21:23, 16 March 2025
How to use this Template
To make an entry for a Message Box, use the Template call
{{MessageBox}}
Example Use Case
You must specify the image and any text for the message box. An example is below:
{{MessageBox |img=[[File:FileName.png]] |Title text goes here |Body text goes here }}