Template:MessageBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{| cellspacing="0" cellpaddin="0" style="padding: 5px; margin: 0px 10%; border: 1px {{#if: {{{bordertype|}}} | {{{bordertype}}} | solid }} #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }}; background: #{{#if: {{{bgcolorhex|}}} | {{{bgcolorhex}}} | F9F9F9 }};"
<includeonly>{| cellspacing="0" cellpaddin="0" style="padding: 5px; width: 80% margin: 0px auto; border: 1px {{#if: {{{bordertype|}}} | {{{bordertype}}} | solid }} #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }}; background: #{{#if: {{{bgcolorhex|}}} | {{{bgcolorhex}}} | F9F9F9 }};"
|style="width: 32px; vertical-align:top; {{#if: {{{image|}}} | | display: none; }}" rowspan="2" | [[{{{image}}}|link=]]
|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}}}}}
|style="{{#if: {{{image|}}} | padding-left: 10px; }}" |{{#if: {{{title|}}}|'''{{{title}}}'''}} {{#if: {{{message|}}}|{{{message}}}}}

Revision as of 21:13, 20 March 2012


Article message box

{{MessageBox|
   bordercolorhex = FFADAD |
   bordertype = |
   bgcolorhex = F9F9F9 |
   image = File:Dialog-warning.png |
   title = Warning: |
   message = Test TEXT 1 2 3 |
   subtext = More Text |
   
}}