Template:Message box: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(replace html code with div style)
(|alt=, cleanup)
Line 1: Line 1:
<div style="float:center; text-align:center">
<div style="float:center; text-align:center">
{|class="notice noprint" style="background:{{{backgroundcolor}}}; border:1px solid #aaa; padding:0.1em; margin:0.5em auto"
{|class="message box" style="background:{{{backgroundcolor}}}; border:1px solid #aaa; padding:0.1em; margin:0.5em auto; font-size:100%"
|valign=top|[[File:{{{image}}}|45px]]
|valign=top|[[File:{{{image}}}|45px|alt=]]
|  |'''{{{heading}}}'''<br><div style=font-size:100%>{{{message}}}</div>
|  |'''{{{heading}}}'''<br>{{{message}}}
|}</div><noinclude>  
|}</div><noinclude>
<nowiki>{{Message Box|backgroundcolor=enter a color of the background you want here|image=enter file name here|heading=type heading here|message=type message here}}</nowiki>
 
 
<code><nowiki>{{Message Box|backgroundcolor=background color here|image=file name here|heading=heading here|message=type message here}}</nowiki></code>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 09:18, 26 July 2022

[[File:{{{image}}}|45px|alt=]] {{{heading}}}
{{{message}}}


{{Message Box|backgroundcolor=background color here|image=file name here|heading=heading here|message=type message here}}