Template:Message box: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (correct cat)
(Fix)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<center><div style=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|alt=]]
|valign=top|[[Image:{{{image}}}|45px]]
|  |'''{{{heading}}}'''<br>{{{message}}}
|  |'''{{{heading}}}'''<br><div style=font-size:90%>{{{message}}}</div>
|}</div><noinclude>
|}
</div></center>


<noinclude>
<nowiki>{{MessageBox|backgroundcolor=Type a color of the background you want here|image=Type File Name</nowiki>
<nowiki>Here|heading=Type Heading Here|message=Type Message Here}}
</nowiki></noinclude>


<noinclude>
<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>

Latest revision as of 13:05, 11 January 2023

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


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