Difference between revisions of "Template:MessageBox"

(Created page with "<noinclude>{{Warning|This template is included in a lot of pages/articles. Test your changes when you edit this template!|true}}</noinclude> <includeonly>{| cellspacing="0" cellp...")
 
(Blanked the page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Warning|This template is included in a lot of pages/articles. Test your changes when you edit this template!|true}}</noinclude>
 
<includeonly>{| cellspacing="0" cellpaddin="0" style="padding: 5px; width: 80%; margin: 2px auto 2px auto; border: 1px {{#if: {{{bordertype|}}} | {{{bordertype}}} | solid }} #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }}; background: #{{#if: {{{bgcolorhex|}}} | {{{bgcolorhex}}} | F9F9F9 }}; border-left: 10px solid #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }};"
 
|style="width: 32px; vertical-align:top; {{#if: {{{image|}}} | | display: none; }}" rowspan="2" | [[{{{image}}}|link=]]
 
|style="{{#if: {{{image|}}} | padding-left: 10px; }}" |{{#if: {{{title|}}}|'''{{{title}}}'''}} {{#if: {{{message|}}}|{{{message}}}}}
 
|-
 
|rowspan="1" style="padding-left: 10px;"|{{#if: {{{subtext|}}}|<hr style="background: #{{{bordercolorhex}}};"/>{{{subtext}}} }}
 
|}</includeonly><noinclude>
 
  
 
'''Article message box'''
 
 
<code>
 
{{MessageBox|
 
  bordercolorhex = FFADAD |
 
  bordertype = |
 
  bgcolorhex = F9F9F9 |
 
  image = File:Dialog-warning.png |
 
  title = Warning: |
 
  message = Test TEXT 1 2 3 |
 
  subtext = More Text |
 
 
 
}}
 
</code></noinclude>
 

Latest revision as of 16:46, 21 October 2012