Template:Message box: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
No edit summary
(Fix)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center><div style="text-align: center; margin: 0 10% 1em 10%;">
<div style="float:center; text-align:center">
{| class="notice noprint" id="Usrcvtext" 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>
[[Category:Template templates]]
</noinclude>


<noinclude>  
 
*<nowiki>{{MessageBox|backgroundcolor=Type a color of the background you want here|image=Type File Name</nowiki>
<code><nowiki>{{Message box|backgroundcolor=background color here|image=file name here|heading=heading here|message=type message here}}</nowiki></code>
*<nowiki>Here|heading=Type Heading Here|message=Type Message Here}}
[[Category:Templates]]</noinclude>
</nowiki>
</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}}